Member since
07-08-2017
3
Posts
0
Kudos Received
0
Solutions
07-11-2017
06:24 PM
@ssattiraju thanks that actually works and I could re-run my program multiple times without modifying/re-starting my interpreter. The reason i had stop() is to make sure there is no idle sparkContext and we faced some issues previously where a sparkContext that was initiated would not be terminated and they would be left open too long. So in this scenario whenever we run any program, the program goes into pending state. Our Admins proposed to use close() to close the context after the successful execution of the program. Now my question is if we again encounter a problem where a sparkContext that has been opened and left frozen (not terminated properly). How are we supposed to handle this scenario? I have attached the snapshot of the program that runs into pending state for your reference.pending.jpg
... View more
07-10-2017
04:24 PM
Hi, I have to restart/re-modify the interpreter settings before each run of my spark program through Zeppelin notebook. When I run my Spark program for the first time after opening up the Zeppelin notebook, it works perfectly fine. After my first run if i try to re-execute the same program, I receive an error message stating " 'NoneType' object has no attribute setJobGroup". I had to re-start the interpreter or re-configure my interpreter settings to have my program run once again. This again needs to be done before each and every run. Attached are the error message and the Interpreter seetings of my Zeppelin notebook.error.jpginterpreter-setting.jpg
... View more
Labels:
- Labels:
-
Apache Spark
-
Apache Zeppelin
07-08-2017
03:06 AM
I am running a Spark program through Zeppelin notebook. When I run the program for the first time, it runs perfectly fine, but when I run the program again with no changes it throws the error: 'NoneType' object has no attribute 'setJobGroup'. Also whenever I make changes to the Interpreter settings the program runs fine for the first time but again fails for the second time. It is baffling me on why this error doesn't occur during first run after an Interpreter setting change but occurs ever other runs after first time. Attached are the Interpreter settings and error message.error.jpginterpreter-setting.jpg.
... View more
Labels:
- Labels:
-
Apache Spark
-
Apache Zeppelin