Github user bbuild11 commented on the issue:

    https://github.com/apache/incubator-zeppelin/pull/868
  
    I saw that the config file zeppelin-env.sh contents are different than 
previous versions. It uses “set” instead of “export”. So, I tried to 
use the old config file from Zeppelin 0.5.6 to see if this would change 
anything. And, it turns out that Spark Scala code was able to run on YARN. This 
would mean that the new config file is not being read correctly. Now, I am 
getting another issue. I cannot run Spark SQL “%sql” queries. This is what 
I get.
    
    ERROR [2016-06-03 20:18:58,230] ({SparkListenerBus} 
Logging.scala[logError]:95) - Listener SQLListener threw an exception
    java.lang.NullPointerException
            at 
org.apache.spark.sql.execution.ui.SQLListener.onTaskEnd(SQLListener.scala:167)
            at 
org.apache.spark.scheduler.SparkListenerBus$class.onPostEvent(SparkListenerBus.scala:42)
            at 
org.apache.spark.scheduler.LiveListenerBus.onPostEvent(LiveListenerBus.scala:31)
            at 
org.apache.spark.scheduler.LiveListenerBus.onPostEvent(LiveListenerBus.scala:31)
            at 
org.apache.spark.util.ListenerBus$class.postToAll(ListenerBus.scala:55)
            at 
org.apache.spark.util.AsynchronousListenerBus.postToAll(AsynchronousListenerBus.scala:37)
            at 
org.apache.spark.util.AsynchronousListenerBus$$anon$1$$anonfun$run$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(AsynchronousListenerBus.scala:80)
            at 
org.apache.spark.util.AsynchronousListenerBus$$anon$1$$anonfun$run$1$$anonfun$apply$mcV$sp$1.apply(AsynchronousListenerBus.scala:65)
            at 
org.apache.spark.util.AsynchronousListenerBus$$anon$1$$anonfun$run$1$$anonfun$apply$mcV$sp$1.apply(AsynchronousListenerBus.scala:65)
            at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
            at 
org.apache.spark.util.AsynchronousListenerBus$$anon$1$$anonfun$run$1.apply$mcV$sp(AsynchronousListenerBus.scala:64)
            at 
org.apache.spark.util.Utils$.tryOrStopSparkContext(Utils.scala:1181)
            at 
org.apache.spark.util.AsynchronousListenerBus$$anon$1.run(AsynchronousListenerBus.scala:63)
    
    Do you know what this means?
    
    Thanks,
    Ben
    
    > On Jun 3, 2016, at 10:14 AM, Felix Cheung <[email protected]> 
wrote:
    > 
    > Can you check the log file?
    > 
    > —
    > You are receiving this because you commented.
    > Reply to this email directly, view it on GitHub 
<https://github.com/apache/incubator-zeppelin/pull/868#issuecomment-223637827>, 
or mute the thread 
<https://github.com/notifications/unsubscribe/ABxu9MdO4CkE120f89WRXAnowf1Y1yXBks5qIGDvgaJpZM4IS7A7>.
    > 
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to