markdown pegdown interpreter run with error

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

markdown pegdown interpreter run with error

Reminia Scarlet
When I execute markdown in notebook, the latter exception shows,
anybody knows how to fix it ?
Maybe there’s a class conflict.
I installed zeppelin 0.7.1.

java.lang.NoSuchMethodError: org.objectweb.asm.tree.ClassNode.<init>(I)V
at org.parboiled.transform.ParserClassNode.<init>(ParserClassNode.java:43)
at org.parboiled.transform.ParserTransformer.extendParserClass(ParserTransformer.java:43)
at org.parboiled.transform.ParserTransformer.transformParser(ParserTransformer.java:38)
at org.parboiled.Parboiled.createParser(Parboiled.java:54)
at org.pegdown.plugins.PegDownPlugins$Builder.withPlugin(PegDownPlugins.java:126)
at org.apache.zeppelin.markdown.PegdownParser.<init>(PegdownParser.java:35)
at org.apache.zeppelin.markdown.Markdown.createMarkdownParser(Markdown.java:75)
at org.apache.zeppelin.markdown.Markdown.open(Markdown.java:85)
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:483)
at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: markdown pegdown interpreter run with error

Jeff Zhang

Do you install 0.7.1 binary or build it by yourself ? If you build it from source, what is your build command ?



Reminia Scarlet <[hidden email]>于2017年6月8日周四 下午2:39写道:
When I execute markdown in notebook, the latter exception shows,
anybody knows how to fix it ?
Maybe there’s a class conflict.
I installed zeppelin 0.7.1.

java.lang.NoSuchMethodError: org.objectweb.asm.tree.ClassNode.<init>(I)V
at org.parboiled.transform.ParserClassNode.<init>(ParserClassNode.java:43)
at org.parboiled.transform.ParserTransformer.extendParserClass(ParserTransformer.java:43)
at org.parboiled.transform.ParserTransformer.transformParser(ParserTransformer.java:38)
at org.parboiled.Parboiled.createParser(Parboiled.java:54)
at org.pegdown.plugins.PegDownPlugins$Builder.withPlugin(PegDownPlugins.java:126)
at org.apache.zeppelin.markdown.PegdownParser.<init>(PegdownParser.java:35)
at org.apache.zeppelin.markdown.Markdown.createMarkdownParser(Markdown.java:75)
at org.apache.zeppelin.markdown.Markdown.open(Markdown.java:85)
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:483)
at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: markdown pegdown interpreter run with error

Reminia Scarlet
I installed binary directly on centos, see below: 

/home/zeppelin/zeppelin-0.7.1-bin-all/
在 2017年6月8日,下午2:41,Jeff Zhang <[hidden email]> 写道:


Do you install 0.7.1 binary or build it by yourself ? If you build it from source, what is your build command ?



Reminia Scarlet <[hidden email]>于2017年6月8日周四 下午2:39写道:
When I execute markdown in notebook, the latter exception shows,
anybody knows how to fix it ?
Maybe there’s a class conflict.
I installed zeppelin 0.7.1.

java.lang.NoSuchMethodError: org.objectweb.asm.tree.ClassNode.<init>(I)V
at org.parboiled.transform.ParserClassNode.<init>(ParserClassNode.java:43)
at org.parboiled.transform.ParserTransformer.extendParserClass(ParserTransformer.java:43)
at org.parboiled.transform.ParserTransformer.transformParser(ParserTransformer.java:38)
at org.parboiled.Parboiled.createParser(Parboiled.java:54)
at org.pegdown.plugins.PegDownPlugins$Builder.withPlugin(PegDownPlugins.java:126)
at org.apache.zeppelin.markdown.PegdownParser.<init>(PegdownParser.java:35)
at org.apache.zeppelin.markdown.Markdown.createMarkdownParser(Markdown.java:75)
at org.apache.zeppelin.markdown.Markdown.open(Markdown.java:85)
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:483)
at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: markdown pegdown interpreter run with error

Reminia Scarlet
I’ve checked the project code roughly.
Maybe there’s a class conflict between lib
asm-tree-5.0.3 and asm-all-repacked with glassfish dependence.


在 2017年6月8日,下午2:43,Reminia Scarlet <[hidden email]> 写道:

I installed binary directly on centos, see below: 

/home/zeppelin/zeppelin-0.7.1-bin-all/
在 2017年6月8日,下午2:41,Jeff Zhang <[hidden email]> 写道:


Do you install 0.7.1 binary or build it by yourself ? If you build it from source, what is your build command ?



Reminia Scarlet <[hidden email]>于2017年6月8日周四 下午2:39写道:
When I execute markdown in notebook, the latter exception shows,
anybody knows how to fix it ?
Maybe there’s a class conflict.
I installed zeppelin 0.7.1.

java.lang.NoSuchMethodError: org.objectweb.asm.tree.ClassNode.<init>(I)V
at org.parboiled.transform.ParserClassNode.<init>(ParserClassNode.java:43)
at org.parboiled.transform.ParserTransformer.extendParserClass(ParserTransformer.java:43)
at org.parboiled.transform.ParserTransformer.transformParser(ParserTransformer.java:38)
at org.parboiled.Parboiled.createParser(Parboiled.java:54)
at org.pegdown.plugins.PegDownPlugins$Builder.withPlugin(PegDownPlugins.java:126)
at org.apache.zeppelin.markdown.PegdownParser.<init>(PegdownParser.java:35)
at org.apache.zeppelin.markdown.Markdown.createMarkdownParser(Markdown.java:75)
at org.apache.zeppelin.markdown.Markdown.open(Markdown.java:85)
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:483)
at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: markdown pegdown interpreter run with error

Jeff Zhang
In reply to this post by Reminia Scarlet

Could you check the folder {ZEPPELIN_HOME}/interpreters/md to see whether there's file asm-tree-5.0.3.jar ?



Reminia Scarlet <[hidden email]>于2017年6月8日周四 下午2:43写道:
I installed binary directly on centos, see below: 

/home/zeppelin/zeppelin-0.7.1-bin-all/

在 2017年6月8日,下午2:41,Jeff Zhang <[hidden email]> 写道:


Do you install 0.7.1 binary or build it by yourself ? If you build it from source, what is your build command ?



Reminia Scarlet <[hidden email]>于2017年6月8日周四 下午2:39写道:
When I execute markdown in notebook, the latter exception shows,
anybody knows how to fix it ?
Maybe there’s a class conflict.
I installed zeppelin 0.7.1.

java.lang.NoSuchMethodError: org.objectweb.asm.tree.ClassNode.<init>(I)V
at org.parboiled.transform.ParserClassNode.<init>(ParserClassNode.java:43)
at org.parboiled.transform.ParserTransformer.extendParserClass(ParserTransformer.java:43)
at org.parboiled.transform.ParserTransformer.transformParser(ParserTransformer.java:38)
at org.parboiled.Parboiled.createParser(Parboiled.java:54)
at org.pegdown.plugins.PegDownPlugins$Builder.withPlugin(PegDownPlugins.java:126)
at org.apache.zeppelin.markdown.PegdownParser.<init>(PegdownParser.java:35)
at org.apache.zeppelin.markdown.Markdown.createMarkdownParser(Markdown.java:75)
at org.apache.zeppelin.markdown.Markdown.open(Markdown.java:85)
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:483)
at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: markdown pegdown interpreter run with error

Reminia Scarlet
Yes, there it is. see:

[root@pdmdev4 md]# ll
total 1524
-rw-r--r-- 1 zeppelin zeppelin  53231 Mar 28 16:40 asm-5.0.3.jar
-rw-r--r-- 1 zeppelin zeppelin  20443 Mar 28 16:40 asm-analysis-5.0.3.jar
-rw-r--r-- 1 zeppelin zeppelin  29036 Mar 28 16:40 asm-tree-5.0.3.jar
-rw-r--r-- 1 zeppelin zeppelin  43296 Mar 28 16:40 asm-util-5.0.3.jar
-rw-r--r-- 1 zeppelin zeppelin 434678 Mar 28 16:40 commons-lang3-3.4.jar
-rw-r--r-- 1 zeppelin zeppelin 489884 Mar 28 16:40 log4j-1.2.17.jar
-rw-r--r-- 1 zeppelin zeppelin  62874 Mar 28 16:40 markdown4j-2.2-cj-1.0.jar
-rw-r--r-- 1 zeppelin zeppelin 186607 Mar 28 16:40 parboiled-core-1.1.7.jar
-rw-r--r-- 1 zeppelin zeppelin  73350 Mar 28 16:40 parboiled-java-1.1.7.jar
-rw-r--r-- 1 zeppelin zeppelin  80022 Mar 28 16:40 pegdown-1.6.0.jar
-rw-r--r-- 1 zeppelin zeppelin  32119 Mar 28 16:40 slf4j-api-1.7.10.jar
-rw-r--r-- 1 zeppelin zeppelin   8866 Mar 28 16:40 slf4j-log4j12-1.7.10.jar
-rw-r--r-- 1 zeppelin zeppelin  21965 Mar 28 16:40 zeppelin-markdown-0.7.1.jar
[root@pdmdev4 md]# pwd
/home/zeppelin/zeppelin-0.7.1-bin-all/interpreter/md

在 2017年6月8日,下午3:08,Jeff Zhang <[hidden email]> 写道:


Could you check the folder {ZEPPELIN_HOME}/interpreters/md to see whether there's file asm-tree-5.0.3.jar ?



Reminia Scarlet <[hidden email]>于2017年6月8日周四 下午2:43写道:
I installed binary directly on centos, see below: 

/home/zeppelin/zeppelin-0.7.1-bin-all/

在 2017年6月8日,下午2:41,Jeff Zhang <[hidden email]> 写道:


Do you install 0.7.1 binary or build it by yourself ? If you build it from source, what is your build command ?



Reminia Scarlet <[hidden email]>于2017年6月8日周四 下午2:39写道:
When I execute markdown in notebook, the latter exception shows,
anybody knows how to fix it ?
Maybe there’s a class conflict.
I installed zeppelin 0.7.1.

java.lang.NoSuchMethodError: org.objectweb.asm.tree.ClassNode.<init>(I)V
at org.parboiled.transform.ParserClassNode.<init>(ParserClassNode.java:43)
at org.parboiled.transform.ParserTransformer.extendParserClass(ParserTransformer.java:43)
at org.parboiled.transform.ParserTransformer.transformParser(ParserTransformer.java:38)
at org.parboiled.Parboiled.createParser(Parboiled.java:54)
at org.pegdown.plugins.PegDownPlugins$Builder.withPlugin(PegDownPlugins.java:126)
at org.apache.zeppelin.markdown.PegdownParser.<init>(PegdownParser.java:35)
at org.apache.zeppelin.markdown.Markdown.createMarkdownParser(Markdown.java:75)
at org.apache.zeppelin.markdown.Markdown.open(Markdown.java:85)
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:483)
at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: markdown pegdown interpreter run with error

Reminia Scarlet
@Jeff Zhang, I’ve worked it out,  my colleague once copied spark-assembly into the lib directory 
for running spark interpreter :).

And it conflicts with asm-tree, when I removed the spark* lib , the problem is fixed.

But another problem comes: 

java.lang.IncompatibleClassChangeError: org/parboiled/transform/ParserClassNode
at org.parboiled.transform.ParserTransformer.extendParserClass(ParserTransformer.java:43)
at org.parboiled.transform.ParserTransformer.transformParser(ParserTransformer.java:38)
at org.parboiled.Parboiled.createParser(Parboiled.java:54)
at org.pegdown.plugins.PegDownPlugins$Builder.withPlugin(PegDownPlugins.java:126)
at org.apache.zeppelin.markdown.PegdownParser.<init>(PegdownParser.java:35)
at org.apache.zeppelin.markdown.Markdown.createMarkdownParser(Markdown.java:75)
at org.apache.zeppelin.markdown.Markdown.open(Markdown.java:85)
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:483)
at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

在 2017年6月8日,下午3:10,Reminia Scarlet <[hidden email]> 写道:

Yes, there it is. see:

[root@pdmdev4 md]# ll
total 1524
-rw-r--r-- 1 zeppelin zeppelin  53231 Mar 28 16:40 asm-5.0.3.jar
-rw-r--r-- 1 zeppelin zeppelin  20443 Mar 28 16:40 asm-analysis-5.0.3.jar
-rw-r--r-- 1 zeppelin zeppelin  29036 Mar 28 16:40 asm-tree-5.0.3.jar
-rw-r--r-- 1 zeppelin zeppelin  43296 Mar 28 16:40 asm-util-5.0.3.jar
-rw-r--r-- 1 zeppelin zeppelin 434678 Mar 28 16:40 commons-lang3-3.4.jar
-rw-r--r-- 1 zeppelin zeppelin 489884 Mar 28 16:40 log4j-1.2.17.jar
-rw-r--r-- 1 zeppelin zeppelin  62874 Mar 28 16:40 markdown4j-2.2-cj-1.0.jar
-rw-r--r-- 1 zeppelin zeppelin 186607 Mar 28 16:40 parboiled-core-1.1.7.jar
-rw-r--r-- 1 zeppelin zeppelin  73350 Mar 28 16:40 parboiled-java-1.1.7.jar
-rw-r--r-- 1 zeppelin zeppelin  80022 Mar 28 16:40 pegdown-1.6.0.jar
-rw-r--r-- 1 zeppelin zeppelin  32119 Mar 28 16:40 slf4j-api-1.7.10.jar
-rw-r--r-- 1 zeppelin zeppelin   8866 Mar 28 16:40 slf4j-log4j12-1.7.10.jar
-rw-r--r-- 1 zeppelin zeppelin  21965 Mar 28 16:40 zeppelin-markdown-0.7.1.jar
[root@pdmdev4 md]# pwd
/home/zeppelin/zeppelin-0.7.1-bin-all/interpreter/md

在 2017年6月8日,下午3:08,Jeff Zhang <[hidden email]> 写道:


Could you check the folder {ZEPPELIN_HOME}/interpreters/md to see whether there's file asm-tree-5.0.3.jar ?



Reminia Scarlet <[hidden email]>于2017年6月8日周四 下午2:43写道:
I installed binary directly on centos, see below: 

/home/zeppelin/zeppelin-0.7.1-bin-all/

在 2017年6月8日,下午2:41,Jeff Zhang <[hidden email]> 写道:


Do you install 0.7.1 binary or build it by yourself ? If you build it from source, what is your build command ?



Reminia Scarlet <[hidden email]>于2017年6月8日周四 下午2:39写道:
When I execute markdown in notebook, the latter exception shows,
anybody knows how to fix it ?
Maybe there’s a class conflict.
I installed zeppelin 0.7.1.

java.lang.NoSuchMethodError: org.objectweb.asm.tree.ClassNode.<init>(I)V
at org.parboiled.transform.ParserClassNode.<init>(ParserClassNode.java:43)
at org.parboiled.transform.ParserTransformer.extendParserClass(ParserTransformer.java:43)
at org.parboiled.transform.ParserTransformer.transformParser(ParserTransformer.java:38)
at org.parboiled.Parboiled.createParser(Parboiled.java:54)
at org.pegdown.plugins.PegDownPlugins$Builder.withPlugin(PegDownPlugins.java:126)
at org.apache.zeppelin.markdown.PegdownParser.<init>(PegdownParser.java:35)
at org.apache.zeppelin.markdown.Markdown.createMarkdownParser(Markdown.java:75)
at org.apache.zeppelin.markdown.Markdown.open(Markdown.java:85)
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:483)
at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: markdown pegdown interpreter run with error

Jeff Zhang

It most likely you have other jars under this zeppelin. I don't have this issue in the zeppelin 0.7.1 binary installation. Do you have the same issue in a clean zeppelin installation ? 

Reminia Scarlet <[hidden email]>于2017年6月8日周四 下午3:34写道:
@Jeff Zhang, I’ve worked it out,  my colleague once copied spark-assembly into the lib directory 
for running spark interpreter :).

And it conflicts with asm-tree, when I removed the spark* lib , the problem is fixed.

But another problem comes: 

java.lang.IncompatibleClassChangeError: org/parboiled/transform/ParserClassNode
at org.parboiled.transform.ParserTransformer.extendParserClass(ParserTransformer.java:43)
at org.parboiled.transform.ParserTransformer.transformParser(ParserTransformer.java:38)
at org.parboiled.Parboiled.createParser(Parboiled.java:54)
at org.pegdown.plugins.PegDownPlugins$Builder.withPlugin(PegDownPlugins.java:126)
at org.apache.zeppelin.markdown.PegdownParser.<init>(PegdownParser.java:35)
at org.apache.zeppelin.markdown.Markdown.createMarkdownParser(Markdown.java:75)
at org.apache.zeppelin.markdown.Markdown.open(Markdown.java:85)
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:483)
at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

在 2017年6月8日,下午3:10,Reminia Scarlet <[hidden email]> 写道:

Yes, there it is. see:

[root@pdmdev4 md]# ll
total 1524
-rw-r--r-- 1 zeppelin zeppelin  53231 Mar 28 16:40 asm-5.0.3.jar
-rw-r--r-- 1 zeppelin zeppelin  20443 Mar 28 16:40 asm-analysis-5.0.3.jar
-rw-r--r-- 1 zeppelin zeppelin  29036 Mar 28 16:40 asm-tree-5.0.3.jar
-rw-r--r-- 1 zeppelin zeppelin  43296 Mar 28 16:40 asm-util-5.0.3.jar
-rw-r--r-- 1 zeppelin zeppelin 434678 Mar 28 16:40 commons-lang3-3.4.jar
-rw-r--r-- 1 zeppelin zeppelin 489884 Mar 28 16:40 log4j-1.2.17.jar
-rw-r--r-- 1 zeppelin zeppelin  62874 Mar 28 16:40 markdown4j-2.2-cj-1.0.jar
-rw-r--r-- 1 zeppelin zeppelin 186607 Mar 28 16:40 parboiled-core-1.1.7.jar
-rw-r--r-- 1 zeppelin zeppelin  73350 Mar 28 16:40 parboiled-java-1.1.7.jar
-rw-r--r-- 1 zeppelin zeppelin  80022 Mar 28 16:40 pegdown-1.6.0.jar
-rw-r--r-- 1 zeppelin zeppelin  32119 Mar 28 16:40 slf4j-api-1.7.10.jar
-rw-r--r-- 1 zeppelin zeppelin   8866 Mar 28 16:40 slf4j-log4j12-1.7.10.jar
-rw-r--r-- 1 zeppelin zeppelin  21965 Mar 28 16:40 zeppelin-markdown-0.7.1.jar
[root@pdmdev4 md]# pwd
/home/zeppelin/zeppelin-0.7.1-bin-all/interpreter/md

在 2017年6月8日,下午3:08,Jeff Zhang <[hidden email]> 写道:


Could you check the folder {ZEPPELIN_HOME}/interpreters/md to see whether there's file asm-tree-5.0.3.jar ?



Reminia Scarlet <[hidden email]>于2017年6月8日周四 下午2:43写道:
I installed binary directly on centos, see below: 

/home/zeppelin/zeppelin-0.7.1-bin-all/

在 2017年6月8日,下午2:41,Jeff Zhang <[hidden email]> 写道:


Do you install 0.7.1 binary or build it by yourself ? If you build it from source, what is your build command ?



Reminia Scarlet <[hidden email]>于2017年6月8日周四 下午2:39写道:
When I execute markdown in notebook, the latter exception shows,
anybody knows how to fix it ?
Maybe there’s a class conflict.
I installed zeppelin 0.7.1.

java.lang.NoSuchMethodError: org.objectweb.asm.tree.ClassNode.<init>(I)V
at org.parboiled.transform.ParserClassNode.<init>(ParserClassNode.java:43)
at org.parboiled.transform.ParserTransformer.extendParserClass(ParserTransformer.java:43)
at org.parboiled.transform.ParserTransformer.transformParser(ParserTransformer.java:38)
at org.parboiled.Parboiled.createParser(Parboiled.java:54)
at org.pegdown.plugins.PegDownPlugins$Builder.withPlugin(PegDownPlugins.java:126)
at org.apache.zeppelin.markdown.PegdownParser.<init>(PegdownParser.java:35)
at org.apache.zeppelin.markdown.Markdown.createMarkdownParser(Markdown.java:75)
at org.apache.zeppelin.markdown.Markdown.open(Markdown.java:85)
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:483)
at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: markdown pegdown interpreter run with error

Reminia Scarlet
@Jeff Zhang.  I finally work this out.


Only it's on centos.

I tried the solution in the jira:

unset CLASSPATH
bin/zeppelin-daemon.sh restart

then the problem is fixed.

FYI.


在 2017年6月8日,下午4:57,Jeff Zhang <[hidden email]> 写道:


It most likely you have other jars under this zeppelin. I don't have this issue in the zeppelin 0.7.1 binary installation. Do you have the same issue in a clean zeppelin installation ? 

Reminia Scarlet <[hidden email]>于2017年6月8日周四 下午3:34写道:
@Jeff Zhang, I’ve worked it out,  my colleague once copied spark-assembly into the lib directory 
for running spark interpreter :).

And it conflicts with asm-tree, when I removed the spark* lib , the problem is fixed.

But another problem comes: 

java.lang.IncompatibleClassChangeError: org/parboiled/transform/ParserClassNode
at org.parboiled.transform.ParserTransformer.extendParserClass(ParserTransformer.java:43)
at org.parboiled.transform.ParserTransformer.transformParser(ParserTransformer.java:38)
at org.parboiled.Parboiled.createParser(Parboiled.java:54)
at org.pegdown.plugins.PegDownPlugins$Builder.withPlugin(PegDownPlugins.java:126)
at org.apache.zeppelin.markdown.PegdownParser.<init>(PegdownParser.java:35)
at org.apache.zeppelin.markdown.Markdown.createMarkdownParser(Markdown.java:75)
at org.apache.zeppelin.markdown.Markdown.open(Markdown.java:85)
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:483)
at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

在 2017年6月8日,下午3:10,Reminia Scarlet <[hidden email]> 写道:

Yes, there it is. see:

[root@pdmdev4 md]# ll
total 1524
-rw-r--r-- 1 zeppelin zeppelin  53231 Mar 28 16:40 asm-5.0.3.jar
-rw-r--r-- 1 zeppelin zeppelin  20443 Mar 28 16:40 asm-analysis-5.0.3.jar
-rw-r--r-- 1 zeppelin zeppelin  29036 Mar 28 16:40 asm-tree-5.0.3.jar
-rw-r--r-- 1 zeppelin zeppelin  43296 Mar 28 16:40 asm-util-5.0.3.jar
-rw-r--r-- 1 zeppelin zeppelin 434678 Mar 28 16:40 commons-lang3-3.4.jar
-rw-r--r-- 1 zeppelin zeppelin 489884 Mar 28 16:40 log4j-1.2.17.jar
-rw-r--r-- 1 zeppelin zeppelin  62874 Mar 28 16:40 markdown4j-2.2-cj-1.0.jar
-rw-r--r-- 1 zeppelin zeppelin 186607 Mar 28 16:40 parboiled-core-1.1.7.jar
-rw-r--r-- 1 zeppelin zeppelin  73350 Mar 28 16:40 parboiled-java-1.1.7.jar
-rw-r--r-- 1 zeppelin zeppelin  80022 Mar 28 16:40 pegdown-1.6.0.jar
-rw-r--r-- 1 zeppelin zeppelin  32119 Mar 28 16:40 slf4j-api-1.7.10.jar
-rw-r--r-- 1 zeppelin zeppelin   8866 Mar 28 16:40 slf4j-log4j12-1.7.10.jar
-rw-r--r-- 1 zeppelin zeppelin  21965 Mar 28 16:40 zeppelin-markdown-0.7.1.jar
[root@pdmdev4 md]# pwd
/home/zeppelin/zeppelin-0.7.1-bin-all/interpreter/md

在 2017年6月8日,下午3:08,Jeff Zhang <[hidden email]> 写道:


Could you check the folder {ZEPPELIN_HOME}/interpreters/md to see whether there's file asm-tree-5.0.3.jar ?



Reminia Scarlet <[hidden email]>于2017年6月8日周四 下午2:43写道:
I installed binary directly on centos, see below: 

/home/zeppelin/zeppelin-0.7.1-bin-all/

在 2017年6月8日,下午2:41,Jeff Zhang <[hidden email]> 写道:


Do you install 0.7.1 binary or build it by yourself ? If you build it from source, what is your build command ?



Reminia Scarlet <[hidden email]>于2017年6月8日周四 下午2:39写道:
When I execute markdown in notebook, the latter exception shows,
anybody knows how to fix it ?
Maybe there’s a class conflict.
I installed zeppelin 0.7.1.

java.lang.NoSuchMethodError: org.objectweb.asm.tree.ClassNode.<init>(I)V
at org.parboiled.transform.ParserClassNode.<init>(ParserClassNode.java:43)
at org.parboiled.transform.ParserTransformer.extendParserClass(ParserTransformer.java:43)
at org.parboiled.transform.ParserTransformer.transformParser(ParserTransformer.java:38)
at org.parboiled.Parboiled.createParser(Parboiled.java:54)
at org.pegdown.plugins.PegDownPlugins$Builder.withPlugin(PegDownPlugins.java:126)
at org.apache.zeppelin.markdown.PegdownParser.<init>(PegdownParser.java:35)
at org.apache.zeppelin.markdown.Markdown.createMarkdownParser(Markdown.java:75)
at org.apache.zeppelin.markdown.Markdown.open(Markdown.java:85)
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:483)
at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: markdown pegdown interpreter run with error

Jeff Zhang

Thanks Reminia for clarifying this, it is supposed to fixed in ZEPPELIN-2375



Reminia Scarlet <[hidden email]>于2017年6月8日周四 下午5:01写道:
@Jeff Zhang.  I finally work this out.


Only it's on centos.

I tried the solution in the jira:

unset CLASSPATH
bin/zeppelin-daemon.sh restart

then the problem is fixed.

FYI.


在 2017年6月8日,下午4:57,Jeff Zhang <[hidden email]> 写道:


It most likely you have other jars under this zeppelin. I don't have this issue in the zeppelin 0.7.1 binary installation. Do you have the same issue in a clean zeppelin installation ? 

Reminia Scarlet <[hidden email]>于2017年6月8日周四 下午3:34写道:
@Jeff Zhang, I’ve worked it out,  my colleague once copied spark-assembly into the lib directory 
for running spark interpreter :).

And it conflicts with asm-tree, when I removed the spark* lib , the problem is fixed.

But another problem comes: 

java.lang.IncompatibleClassChangeError: org/parboiled/transform/ParserClassNode
at org.parboiled.transform.ParserTransformer.extendParserClass(ParserTransformer.java:43)
at org.parboiled.transform.ParserTransformer.transformParser(ParserTransformer.java:38)
at org.parboiled.Parboiled.createParser(Parboiled.java:54)
at org.pegdown.plugins.PegDownPlugins$Builder.withPlugin(PegDownPlugins.java:126)
at org.apache.zeppelin.markdown.PegdownParser.<init>(PegdownParser.java:35)
at org.apache.zeppelin.markdown.Markdown.createMarkdownParser(Markdown.java:75)
at org.apache.zeppelin.markdown.Markdown.open(Markdown.java:85)
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:483)
at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

在 2017年6月8日,下午3:10,Reminia Scarlet <[hidden email]> 写道:

Yes, there it is. see:

[root@pdmdev4 md]# ll
total 1524
-rw-r--r-- 1 zeppelin zeppelin  53231 Mar 28 16:40 asm-5.0.3.jar
-rw-r--r-- 1 zeppelin zeppelin  20443 Mar 28 16:40 asm-analysis-5.0.3.jar
-rw-r--r-- 1 zeppelin zeppelin  29036 Mar 28 16:40 asm-tree-5.0.3.jar
-rw-r--r-- 1 zeppelin zeppelin  43296 Mar 28 16:40 asm-util-5.0.3.jar
-rw-r--r-- 1 zeppelin zeppelin 434678 Mar 28 16:40 commons-lang3-3.4.jar
-rw-r--r-- 1 zeppelin zeppelin 489884 Mar 28 16:40 log4j-1.2.17.jar
-rw-r--r-- 1 zeppelin zeppelin  62874 Mar 28 16:40 markdown4j-2.2-cj-1.0.jar
-rw-r--r-- 1 zeppelin zeppelin 186607 Mar 28 16:40 parboiled-core-1.1.7.jar
-rw-r--r-- 1 zeppelin zeppelin  73350 Mar 28 16:40 parboiled-java-1.1.7.jar
-rw-r--r-- 1 zeppelin zeppelin  80022 Mar 28 16:40 pegdown-1.6.0.jar
-rw-r--r-- 1 zeppelin zeppelin  32119 Mar 28 16:40 slf4j-api-1.7.10.jar
-rw-r--r-- 1 zeppelin zeppelin   8866 Mar 28 16:40 slf4j-log4j12-1.7.10.jar
-rw-r--r-- 1 zeppelin zeppelin  21965 Mar 28 16:40 zeppelin-markdown-0.7.1.jar
[root@pdmdev4 md]# pwd
/home/zeppelin/zeppelin-0.7.1-bin-all/interpreter/md

在 2017年6月8日,下午3:08,Jeff Zhang <[hidden email]> 写道:


Could you check the folder {ZEPPELIN_HOME}/interpreters/md to see whether there's file asm-tree-5.0.3.jar ?



Reminia Scarlet <[hidden email]>于2017年6月8日周四 下午2:43写道:
I installed binary directly on centos, see below: 

/home/zeppelin/zeppelin-0.7.1-bin-all/

在 2017年6月8日,下午2:41,Jeff Zhang <[hidden email]> 写道:


Do you install 0.7.1 binary or build it by yourself ? If you build it from source, what is your build command ?



Reminia Scarlet <[hidden email]>于2017年6月8日周四 下午2:39写道:
When I execute markdown in notebook, the latter exception shows,
anybody knows how to fix it ?
Maybe there’s a class conflict.
I installed zeppelin 0.7.1.

java.lang.NoSuchMethodError: org.objectweb.asm.tree.ClassNode.<init>(I)V
at org.parboiled.transform.ParserClassNode.<init>(ParserClassNode.java:43)
at org.parboiled.transform.ParserTransformer.extendParserClass(ParserTransformer.java:43)
at org.parboiled.transform.ParserTransformer.transformParser(ParserTransformer.java:38)
at org.parboiled.Parboiled.createParser(Parboiled.java:54)
at org.pegdown.plugins.PegDownPlugins$Builder.withPlugin(PegDownPlugins.java:126)
at org.apache.zeppelin.markdown.PegdownParser.<init>(PegdownParser.java:35)
at org.apache.zeppelin.markdown.Markdown.createMarkdownParser(Markdown.java:75)
at org.apache.zeppelin.markdown.Markdown.open(Markdown.java:85)
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:483)
at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)




Loading...