Im using 0.8.0

it works for spark2.pyspark and spark2.r, so far it only fails in spark2.scala

________________________________
From: Jeff Zhang <zjf...@gmail.com>
Sent: Wednesday, 20 May 2020 11:57:22 AM
To: users
Subject: Re: Zeppelin context crashing

Which version of zeppelin are you using ? I remember this is a bug of 0.8, but 
is fixed in 0.8.2

Manuel Sopena Ballesteros 
<manuel...@garvan.org.au<mailto:manuel...@garvan.org.au>> 于2020年5月20日周三 
上午9:28写道:

this is what I can see from the zeppelin logs


DEBUG [2020-05-20 11:25:01,509] ({Exec Stream Pumper} 
RemoteInterpreterManagedProcess.java[processLine]:298) - 20/05/20 11:25:01 INFO 
Client: Application report for application_1587693971329_0042 (state: RUNNING)

 INFO [2020-05-20 11:25:01,753] ({pool-2-thread-74} 
SchedulerFactory.java[jobStarted]:109) - Job 20160223-144701_1698149301 started 
by scheduler 
org.apache.zeppelin.interpreter.remote.RemoteInterpreter-anaconda3:mansop:-shared_session

 INFO [2020-05-20 11:25:01,754] ({pool-2-thread-74} Paragraph.java[jobRun]:380) 
- Run paragraph [paragraph_id: 20160223-144701_1698149301, interpreter: 
anaconda3.spark, note_id: 2BWJFTXKJ, user: mansop]

DEBUG [2020-05-20 11:25:01,754] ({pool-2-thread-74} Paragraph.java[jobRun]:433) 
- RUN : z.input("name", "sun")

DEBUG [2020-05-20 11:25:01,754] ({pool-2-thread-74} 
RemoteInterpreter.java[interpret]:207) - st:

z.input("name", "sun")

DEBUG [2020-05-20 11:25:01,758] ({Thread-1602} 
RemoteInterpreterEventPoller.java[run]:114) - Receive message from 
RemoteInterpreter Process: RemoteInterpreterEvent(type:OUTPUT_UPDATE_ALL, 
data:{"messages":[],"noteId":"2BWJFTXKJ","paragraphId":"20160223-144701_1698149301"})

DEBUG [2020-05-20 11:25:01,768] ({Thread-1602} 
RemoteInterpreterEventPoller.java[run]:114) - Receive message from 
RemoteInterpreter Process: RemoteInterpreterEvent(type:META_INFOS, 
data:{"message":"Spark UI enabled","url":"http://zeta-6-13-mlx.mlx:39578"})

DEBUG [2020-05-20 11:25:01,770] ({Thread-1602} 
RemoteInterpreterEventPoller.java[run]:114) - Receive message from 
RemoteInterpreter Process: RemoteInterpreterEvent(type:OUTPUT_UPDATE_ALL, 
data:{"messages":[],"noteId":"2BWJFTXKJ","paragraphId":"20160223-144701_1698149301"})

DEBUG [2020-05-20 11:25:01,795] ({Thread-1602} 
RemoteInterpreterEventPoller.java[run]:114) - Receive message from 
RemoteInterpreter Process: RemoteInterpreterEvent(type:OUTPUT_UPDATE, 
data:{"data":"","index":"0","noteId":"2BWJFTXKJ","paragraphId":"20160223-144701_1698149301","type":"TEXT"})

DEBUG [2020-05-20 11:25:01,796] ({Thread-1602} 
RemoteInterpreterEventPoller.java[run]:114) - Receive message from 
RemoteInterpreter Process: RemoteInterpreterEvent(type:OUTPUT_APPEND, 
data:{"data":"\u003cconsole\u003e:24: error: not found: value 
z\n","index":"0","noteId":"2BWJFTXKJ","paragraphId":"20160223-144701_1698149301"})

DEBUG [2020-05-20 11:25:01,796] ({pool-26-thread-1} 
AppendOutputRunner.java[run]:91) - Processing time for append-output took 0 
milliseconds

DEBUG [2020-05-20 11:25:01,796] ({pool-26-thread-1} 
AppendOutputRunner.java[run]:107) - Processing size for append-output is 40 
characters

DEBUG [2020-05-20 11:25:01,796] ({Thread-1602} 
RemoteInterpreterEventPoller.java[run]:114) - Receive message from 
RemoteInterpreter Process: RemoteInterpreterEvent(type:OUTPUT_APPEND, 
data:{"data":"       z.input(\"name\", 
\"sun\")\n","index":"0","noteId":"2BWJFTXKJ","paragraphId":"20160223-144701_1698149301"})

DEBUG [2020-05-20 11:25:01,796] ({Thread-1602} 
RemoteInterpreterEventPoller.java[run]:114) - Receive message from 
RemoteInterpreter Process: RemoteInterpreterEvent(type:OUTPUT_APPEND, 
data:{"data":"       
^\n","index":"0","noteId":"2BWJFTXKJ","paragraphId":"20160223-144701_1698149301"})

DEBUG [2020-05-20 11:25:01,801] ({pool-2-thread-74} 
RemoteScheduler.java[run]:328) - Job Error, 20160223-144701_1698149301, null

DEBUG [2020-05-20 11:25:01,896] ({pool-26-thread-1} 
AppendOutputRunner.java[run]:91) - Processing time for append-output took 0 
milliseconds

DEBUG [2020-05-20 11:25:01,896] ({pool-26-thread-1} 
AppendOutputRunner.java[run]:107) - Processing size for append-output is 39 
characters

 INFO [2020-05-20 11:25:01,911] ({pool-2-thread-74} 
SchedulerFactory.java[jobFinished]:115) - Job 20160223-144701_1698149301 
finished by scheduler 
org.apache.zeppelin.interpreter.remote.RemoteInterpreter-anaconda3:mansop:-shared_session

DEBUG [2020-05-20 11:25:02,411] ({Exec Stream Pumper} 
RemoteInterpreterManagedProcess.java[processLine]:298) - 20/05/20 11:25:02 INFO 
Client: Application report for application_1587693971329_0043 (state: RUNNING)


________________________________
From: Manuel Sopena Ballesteros 
<manuel...@garvan.org.au<mailto:manuel...@garvan.org.au>>
Sent: Wednesday, 20 May 2020 10:16:36 AM
To: users@zeppelin.apache.org<mailto:users@zeppelin.apache.org>
Subject: Zeppelin context crashing


Dear Zeppelin community,

For some reason my Zeppelin is not aware of the Zeppelin context

paragraph

%spark2.spark

z.input("name", "sun")



output


<console>:24: error: not found: value z
       z.input("name", "sun")
       ^


Any thoughts?


thank you very much

Manuel

NOTICE
Please consider the environment before printing this email. This message and 
any attachments are intended for the addressee named and may contain legally 
privileged/confidential/copyright information. If you are not the intended 
recipient, you should not read, use, disclose, copy or distribute this 
communication. If you have received this message in error please notify us at 
once by return email and then delete both messages. We accept no liability for 
the distribution of viruses or similar in electronic communications. This 
notice should not be removed.
NOTICE
Please consider the environment before printing this email. This message and 
any attachments are intended for the addressee named and may contain legally 
privileged/confidential/copyright information. If you are not the intended 
recipient, you should not read, use, disclose, copy or distribute this 
communication. If you have received this message in error please notify us at 
once by return email and then delete both messages. We accept no liability for 
the distribution of viruses or similar in electronic communications. This 
notice should not be removed.


--
Best Regards

Jeff Zhang
NOTICE
Please consider the environment before printing this email. This message and 
any attachments are intended for the addressee named and may contain legally 
privileged/confidential/copyright information. If you are not the intended 
recipient, you should not read, use, disclose, copy or distribute this 
communication. If you have received this message in error please notify us at 
once by return email and then delete both messages. We accept no liability for 
the distribution of viruses or similar in electronic communications. This 
notice should not be removed.

Reply via email to