Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

error Python in hue 3.9

Solved Go to solution

error Python in hue 3.9

Super Collaborator

Hi:

When i execute a hello world in python on Hue notebook i have this error

01:29:33.223 [ForkJoinPool-1-worker-2] ERROR c.c.hue.livy.server.SessionServlet$ - internal error
java.lang.NullPointerException: null
        at com.cloudera.hue.livy.spark.SparkSubmitProcessBuilder.com$cloudera$hue$livy$spark$SparkSubmitProcessBuilder$$fromPath(SparkSubmitProcessBuilder.scala:292) ~[livy-assembly.jar:na]
        at com.cloudera.hue.livy.spark.SparkSubmitProcessBuilder.start(SparkSubmitProcessBuilder.scala:270) ~[livy-assembly.jar:na]
        at com.cloudera.hue.livy.server.batch.BatchSessionProcess$.apply(BatchSessionProcess.scala:34) ~[livy-assembly.jar:na]
        at com.cloudera.hue.livy.server.batch.BatchSessionProcessFactory.create(BatchSessionProcessFactory.scala:29) ~[livy-assembly.jar:na]
        at com.cloudera.hue.livy.server.batch.BatchSessionFactory.create(BatchSessionFactory.scala:28) ~[livy-assembly.jar:na]
        at com.cloudera.hue.livy.server.batch.BatchSessionFactory.create(BatchSessionFactory.scala:26) ~[livy-assembly.jar:na]
        at com.cloudera.hue.livy.server.SessionManager.create(SessionManager.scala:52) ~[livy-assembly.jar:na]
        at com.cloudera.hue.livy.server.SessionServlet$$anonfun$17$$anon$2$$anonfun$18.apply(SessionServlet.scala:113) ~[livy-assembly.jar:na]
        at com.cloudera.hue.livy.server.SessionServlet$$anonfun$17$$anon$2$$anonfun$18.apply(SessionServlet.scala:112) ~[livy-assembly.jar:na]
        at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24) ~[livy-assembly.jar:na]
        at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24) ~[livy-assembly.jar:na]
        at scala.concurrent.forkjoin.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1417) ~[livy-assembly.jar:na]
        at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:262) ~[livy-assembly.jar:na]
        at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) ~[livy-assembly.jar:na]
        at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1478) [livy-assembly.jar:na]
        at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [livy-assembly.jar:na]


any idea??

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: error Python in hue 3.9

@Roberto Sancho

Are you running HDP or CDH? What version? Which tutorials? Please provide links to tutorial. Check your libraries versions and alignment. Also, your script seems to pass a null value where a value is expected. Validate input.

1 REPLY 1
Highlighted

Re: error Python in hue 3.9

@Roberto Sancho

Are you running HDP or CDH? What version? Which tutorials? Please provide links to tutorial. Check your libraries versions and alignment. Also, your script seems to pass a null value where a value is expected. Validate input.

Don't have an account?
Coming from Hortonworks? Activate your account here