Hi Jeff, When command manually, its giving me error:
CMD : C:\zeppelin-0.6.2-bin-all\bin\interpreter.cmd -d C:\zeppelin-0.6.2-bin-all\interpreter\spark -p 52662 -l C:\zeppelin-0.6.2-bin-all/local-repo/2C2V69B84 *The filename, directory name, or volume label syntax is incorrect.* So, I created manually *"local-repo/2C2V69B84"* folder, then its giving me error *"The input line is too long."* On Mon, Dec 19, 2016 at 6:37 PM, Jeff Zhang <zjf...@gmail.com> wrote: > Can you the commad manually ? > > *C:\zeppelin-0.6.2-bin-all\bin\interpreter.cmd -d > C:\zeppelin-0.6.2-bin-all\interpreter\spark -p 52662 -l > C:\zeppelin-0.6.2-bin-all/local-repo/2C2V69B84* > > > VIVEK NARAYANASETTY <vive....@gmail.com>于2016年12月19日周一 下午8:34写道: > >> Hi Jeff, >> >> I have changed the log4j configuration as you suggested but it is still >> not able to generate Interpreter logs. >> I noticed that local-repo folder is not present in zeppelin directory. Do >> I need to create manually local-repo folder or zeppelin creates >> automatically ? >> >> Error: >> ------ >> INFO [2016-12-19 17:57:04,348] ({pool-1-thread-2} >> RemoteInterpreterProcess.java[reference]:148) - Run interpreter process >> *[C:\zeppelin-0.6.2-bin-all\bin\interpreter.cmd, >> -d, C:\zeppelin-0.6.2-bin-all\interpreter\spark, -p, 52662, -l, >> C:\zeppelin-0.6.2-bin-all/local-repo/2C2V69B84*] >> INFO [2016-12-19 17:57:04,546] ({Exec Default Executor} >> RemoteInterpreterProcess.java[onProcessFailed]:288) - Interpreter >> process failed {} >> org.apache.commons.exec.ExecuteException: Process exited with an error: >> 1 (Exit value: 1) >> at org.apache.commons.exec.DefaultExecutor.executeInternal( >> DefaultExecutor.java:404) >> at org.apache.commons.exec.DefaultExecutor.access$200( >> DefaultExecutor.java:48) >> at org.apache.commons.exec.DefaultExecutor$1.run( >> DefaultExecutor.java:200) >> at java.lang.Thread.run(Unknown Source) >> DEBUG [2016-12-19 17:57:05,358] ({pool-1-thread-2} >> RemoteInterpreterUtils.java[checkIfRemoteEndpointAccessible]:51) - >> connect timed out >> java.net.SocketTimeoutException: connect timed out >> at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) >> at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) >> at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) >> at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) >> >> On Mon, Dec 19, 2016 at 5:19 PM, Jeff Zhang <zjf...@gmail.com> wrote: >> >> Can you check the interpreter log ? If there's no interpreter log, then >> that means it fails to launch. >> >> You need to change the log4j.properties to output more info. Here's the >> log4j I use and the article I write for how to diagnose zeppelin. Hope it >> can help you. >> >> https://community.hortonworks.com/content/kbentry/70658/how- >> to-diagnose-zeppelin.html >> >> >> >> log4j.rootLogger = INFO, dailyfile >> >> log4j.appender.stdout = org.apache.log4j.ConsoleAppender >> log4j.appender.stdout.layout = org.apache.log4j.PatternLayout >> log4j.appender.stdout.layout.ConversionPattern=%5p [%d] ({%t} %F[%M]:%L) >> - %m%n >> >> log4j.appender.dailyfile.DatePattern=.yyyy-MM-dd >> log4j.appender.dailyfile.Threshold = DEBUG >> log4j.appender.dailyfile = org.apache.log4j.DailyRollingFileAppender >> log4j.appender.dailyfile.File = ${zeppelin.log.file} >> log4j.appender.dailyfile.layout = org.apache.log4j.PatternLayout >> log4j.appender.dailyfile.layout.ConversionPattern=%5p [%d] ({%t} >> %F[%M]:%L) - %m%n >> >> >> log4j.logger.org.apache.zeppelin.interpreter.InterpreterFactory=DEBUG >> log4j.logger.org.apache.zeppelin.notebook.Paragraph=DEBUG >> log4j.logger.org.apache.zeppelin.scheduler=DEBUG >> log4j.logger.org.apache.zeppelin.livy=DEBUG >> log4j.logger.org.apache.zeppelin.flink=DEBUG >> log4j.logger.org.apache.zeppelin.spark=DEBUG >> log4j.logger.org.apache.zeppelin.interpreter.util=DEBUG >> log4j.logger.org.apache.zeppelin.interpreter.remote=DEBUG >> log4j.logger.org.apache.zeppelin.interpreter.remote. >> RemoteInterpreterServer=DEBUG >> >> VIVEK NARAYANASETTY <vive....@gmail.com>于2016年12月19日周一 下午7:34写道: >> >> Hi All, >> >> Can anyone help me with the above error please. >> >> On Fri, Dec 16, 2016 at 12:06 PM, VIVEK NARAYANASETTY <vive....@gmail.com >> > wrote: >> >> Hi, >> >> I haven't changed any interpreter settings or any changes in the >> configuration files. >> >> On Fri, Dec 16, 2016 at 12:02 PM, Sachin Janani <sjan...@snappydata.io> >> wrote: >> >> Hi , >> Have you changed any interpreter settings if yes can you please mention >> those. >> >> Regards, >> Sachin Janani >> >> On Fri, Dec 16, 2016 at 11:44 AM, VIVEK NARAYANASETTY <vive....@gmail.com >> > wrote: >> >> Hi, >> >> Can someone help me with this error. >> FYI, I have downloaded the pre-build binary package of zeppelin 0.6.2 and >> could successfully access the zeppelin URL. But getting below error when >> running simple code >> >> Code: %spark 2+2 >> >> Error: >> >> >> INFO [2016-12-16 11:32:58,624] ({pool-1-thread-2} >> RemoteInterpreterProcess.java[reference]:148) - Run interpreter process >> [C:\zeppelin-0.6.2-bin-all\bin\interpreter.cmd, -d, >> C:\zeppelin-0.6.2-bin-all\interpreter\spark, -p, 55314, -l, >> C:\zeppelin-0.6.2-bin-all/local-repo/2C2V69B84] >> INFO [2016-12-16 11:32:58,808] ({Exec Default Executor} >> RemoteInterpreterProcess.java[onProcessFailed]:288) - Interpreter >> process failed {} >> org.apache.commons.exec.ExecuteException: Process exited with an error: >> 1 (Exit value: 1) >> at org.apache.commons.exec.DefaultExecutor.executeInternal( >> DefaultExecutor.java:404) >> at org.apache.commons.exec.DefaultExecutor.access$200( >> DefaultExecutor.java:48) >> at org.apache.commons.exec.DefaultExecutor$1.run( >> DefaultExecutor.java:200) >> at java.lang.Thread.run(Unknown Source) >> ERROR [2016-12-16 11:33:29,989] ({Thread-15} >> RemoteScheduler.java[getStatus]:255) >> - Can't get status information >> org.apache.zeppelin.interpreter.InterpreterException: >> org.apache.thrift.transport.TTransportException: >> java.net.ConnectException: Connection refused: connect >> at org.apache.zeppelin.interpreter.remote.ClientFactory.create( >> ClientFactory.java:53) >> at org.apache.zeppelin.interpreter.remote.ClientFactory.create( >> ClientFactory.java:37) >> at org.apache.commons.pool2.BasePooledObjectFactory.makeObject( >> BasePooledObjectFactory.java:60) >> at org.apache.commons.pool2.impl.GenericObjectPool.create( >> GenericObjectPool.java:861) >> at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject( >> GenericObjectPool.java:435) >> at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject( >> GenericObjectPool.java:363) >> at org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess. >> getClient(RemoteInterpreterProcess.java:189) >> at org.apache.zeppelin.scheduler.RemoteScheduler$ >> JobStatusPoller.getStatus(RemoteScheduler.java:253) >> at org.apache.zeppelin.scheduler.RemoteScheduler$JobStatusPoller.run( >> RemoteScheduler.java:211) >> Caused by: org.apache.thrift.transport.TTransportException: >> java.net.ConnectException: Connection refused: connect >> at org.apache.thrift.transport.TSocket.open(TSocket.java:187) >> at org.apache.zeppelin.interpreter.remote.ClientFactory.create( >> ClientFactory.java:51) >> ... 8 more >> Caused by: java.net.ConnectException: Connection refused: connect >> at java.net.DualStackPlainSocketImpl.connect0(Native Method) >> at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) >> at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) >> at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) >> at java.net.AbstractPlainSocketImpl.connect(Unknown Source) >> at java.net.PlainSocketImpl.connect(Unknown Source) >> at java.net.SocksSocketImpl.connect(Unknown Source) >> at java.net.Socket.connect(Unknown Source) >> at org.apache.thrift.transport.TSocket.open(TSocket.java:182) >> ... 9 more >> ERROR [2016-12-16 11:33:30,005] ({pool-1-thread-2} Job.java[run]:189) - >> Job failed >> org.apache.zeppelin.interpreter.InterpreterException: >> org.apache.zeppelin.interpreter.InterpreterException: >> org.apache.thrift.transport.TTransportException: >> java.net.ConnectException: Connection refused: connect >> at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.init( >> RemoteInterpreter.java:165) >> at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.getFormType( >> RemoteInterpreter.java:328) >> at org.apache.zeppelin.interpreter.LazyOpenInterpreter.getFormType( >> LazyOpenInterpreter.java:105) >> at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:260) >> at org.apache.zeppelin.scheduler.Job.run(Job.java:176) >> at org.apache.zeppelin.scheduler.RemoteScheduler$JobRunner.run( >> RemoteScheduler.java:328) >> at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) >> at java.util.concurrent.FutureTask.run(Unknown Source) >> at java.util.concurrent.ScheduledThreadPoolExecutor$ >> ScheduledFutureTask.access$201(Unknown Source) >> at java.util.concurrent.ScheduledThreadPoolExecutor$ >> ScheduledFutureTask.run(Unknown Source) >> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) >> at java.lang.Thread.run(Unknown Source) >> Caused by: org.apache.zeppelin.interpreter.InterpreterException: >> org.apache.thrift.transport.TTransportException: >> java.net.ConnectException: Connection refused: connect >> at org.apache.zeppelin.interpreter.remote.ClientFactory.create( >> ClientFactory.java:53) >> at org.apache.zeppelin.interpreter.remote.ClientFactory.create( >> ClientFactory.java:37) >> at org.apache.commons.pool2.BasePooledObjectFactory.makeObject( >> BasePooledObjectFactory.java:60) >> at org.apache.commons.pool2.impl.GenericObjectPool.create( >> GenericObjectPool.java:861) >> at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject( >> GenericObjectPool.java:435) >> at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject( >> GenericObjectPool.java:363) >> at org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess. >> getClient(RemoteInterpreterProcess.java:189) >> at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.init( >> RemoteInterpreter.java:163) >> ... 12 more >> Caused by: org.apache.thrift.transport.TTransportException: >> java.net.ConnectException: Connection refused: connect >> at org.apache.thrift.transport.TSocket.open(TSocket.java:187) >> at org.apache.zeppelin.interpreter.remote.ClientFactory.create( >> ClientFactory.java:51) >> ... 19 more >> Caused by: java.net.ConnectException: Connection refused: connect >> at java.net.DualStackPlainSocketImpl.connect0(Native Method) >> at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) >> at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) >> at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) >> at java.net.AbstractPlainSocketImpl.connect(Unknown Source) >> at java.net.PlainSocketImpl.connect(Unknown Source) >> at java.net.SocksSocketImpl.connect(Unknown Source) >> at java.net.Socket.connect(Unknown Source) >> at org.apache.thrift.transport.TSocket.open(TSocket.java:182) >> ... 20 more >> ERROR [2016-12-16 11:33:31,036] ({pool-1-thread-2} >> RemoteScheduler.java[getStatus]:255) >> - Can't get status information >> org.apache.zeppelin.interpreter.InterpreterException: >> org.apache.thrift.transport.TTransportException: >> java.net.ConnectException: Connection refused: connect >> at org.apache.zeppelin.interpreter.remote.ClientFactory.create( >> ClientFactory.java:53) >> at org.apache.zeppelin.interpreter.remote.ClientFactory.create( >> ClientFactory.java:37) >> at org.apache.commons.pool2.BasePooledObjectFactory.makeObject( >> BasePooledObjectFactory.java:60) >> at org.apache.commons.pool2.impl.GenericObjectPool.create( >> GenericObjectPool.java:861) >> at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject( >> GenericObjectPool.java:435) >> at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject( >> GenericObjectPool.java:363) >> at org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess. >> getClient(RemoteInterpreterProcess.java:189) >> at org.apache.zeppelin.scheduler.RemoteScheduler$ >> JobStatusPoller.getStatus(RemoteScheduler.java:253) >> at org.apache.zeppelin.scheduler.RemoteScheduler$JobRunner.run( >> RemoteScheduler.java:341) >> at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) >> at java.util.concurrent.FutureTask.run(Unknown Source) >> at java.util.concurrent.ScheduledThreadPoolExecutor$ >> ScheduledFutureTask.access$201(Unknown Source) >> at java.util.concurrent.ScheduledThreadPoolExecutor$ >> ScheduledFutureTask.run(Unknown Source) >> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) >> at java.lang.Thread.run(Unknown Source) >> Caused by: org.apache.thrift.transport.TTransportException: >> java.net.ConnectException: Connection refused: connect >> at org.apache.thrift.transport.TSocket.open(TSocket.java:187) >> at org.apache.zeppelin.interpreter.remote.ClientFactory.create( >> ClientFactory.java:51) >> ... 15 more >> Caused by: java.net.ConnectException: Connection refused: connect >> at java.net.DualStackPlainSocketImpl.connect0(Native Method) >> at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) >> at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) >> at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) >> at java.net.AbstractPlainSocketImpl.connect(Unknown Source) >> at java.net.PlainSocketImpl.connect(Unknown Source) >> at java.net.SocksSocketImpl.connect(Unknown Source) >> at java.net.Socket.connect(Unknown Source) >> at org.apache.thrift.transport.TSocket.open(TSocket.java:182) >> ... 16 more >> ERROR [2016-12-16 11:33:31,036] ({pool-1-thread-2} >> NotebookServer.java[afterStatusChange]:1145) >> - Error >> org.apache.zeppelin.interpreter.InterpreterException: >> org.apache.zeppelin.interpreter.InterpreterException: >> org.apache.thrift.transport.TTransportException: >> java.net.ConnectException: Connection refused: connect >> at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.init( >> RemoteInterpreter.java:165) >> at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.getFormType( >> RemoteInterpreter.java:328) >> at org.apache.zeppelin.interpreter.LazyOpenInterpreter.getFormType( >> LazyOpenInterpreter.java:105) >> at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:260) >> at org.apache.zeppelin.scheduler.Job.run(Job.java:176) >> at org.apache.zeppelin.scheduler.RemoteScheduler$JobRunner.run( >> RemoteScheduler.java:328) >> at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) >> at java.util.concurrent.FutureTask.run(Unknown Source) >> at java.util.concurrent.ScheduledThreadPoolExecutor$ >> ScheduledFutureTask.access$201(Unknown Source) >> at java.util.concurrent.ScheduledThreadPoolExecutor$ >> ScheduledFutureTask.run(Unknown Source) >> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) >> at java.lang.Thread.run(Unknown Source) >> Caused by: org.apache.zeppelin.interpreter.InterpreterException: >> org.apache.thrift.transport.TTransportException: >> java.net.ConnectException: Connection refused: connect >> at org.apache.zeppelin.interpreter.remote.ClientFactory.create( >> ClientFactory.java:53) >> at org.apache.zeppelin.interpreter.remote.ClientFactory.create( >> ClientFactory.java:37) >> at org.apache.commons.pool2.BasePooledObjectFactory.makeObject( >> BasePooledObjectFactory.java:60) >> at org.apache.commons.pool2.impl.GenericObjectPool.create( >> GenericObjectPool.java:861) >> at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject( >> GenericObjectPool.java:435) >> at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject( >> GenericObjectPool.java:363) >> at org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess. >> getClient(RemoteInterpreterProcess.java:189) >> at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.init( >> RemoteInterpreter.java:163) >> ... 12 more >> Caused by: org.apache.thrift.transport.TTransportException: >> java.net.ConnectException: Connection refused: connect >> at org.apache.thrift.transport.TSocket.open(TSocket.java:187) >> at org.apache.zeppelin.interpreter.remote.ClientFactory.create( >> ClientFactory.java:51) >> ... 19 more >> Caused by: java.net.ConnectException: Connection refused: connect >> at java.net.DualStackPlainSocketImpl.connect0(Native Method) >> at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) >> at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) >> at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) >> at java.net.AbstractPlainSocketImpl.connect(Unknown Source) >> at java.net.PlainSocketImpl.connect(Unknown Source) >> at java.net.SocksSocketImpl.connect(Unknown Source) >> at java.net.Socket.connect(Unknown Source) >> at org.apache.thrift.transport.TSocket.open(TSocket.java:182) >> ... 20 more >> INFO [2016-12-16 11:33:31,036] ({pool-1-thread-2} >> NotebookServer.java[afterStatusChange]:1150) >> - Job 20161208-130212_1935997967 is finished >> INFO [2016-12-16 11:33:31,083] ({pool-1-thread-2} >> SchedulerFactory.java[jobFinished]:137) >> - Job paragraph_1481182332628_1744437668 <01744%20437%20668> finished by >> scheduler org.apache.zeppelin.interpreter.remote.RemoteInterpretershared_ >> session297447487 >> >> >> -- >> Thanks & Regards >> *Vivek Narayanasetty* >> >> >> >> >> *Go Green: Think before you print this e-mail or its attachment. You can >> save paper if you do not really need to print.* >> >> >> >> >> >> -- >> Thanks & Regards >> *Vivek Narayanasetty* >> >> >> >> >> *Go Green: Think before you print this e-mail or its attachment. You can >> save paper if you do not really need to print.* >> >> >> >> >> -- >> Thanks & Regards >> *Vivek Narayanasetty* >> >> >> >> >> *Go Green: Think before you print this e-mail or its attachment. You can >> save paper if you do not really need to print.* >> >> >> >> >> -- >> Thanks & Regards >> *Vivek Narayanasetty* >> >> >> >> >> *Go Green: Think before you print this e-mail or its attachment. You can >> save paper if you do not really need to print.* >> > -- Thanks & Regards *Vivek Narayanasetty* *Go Green: Think before you print this e-mail or its attachment. You can save paper if you do not really need to print.*