error: not found: value sqlContext
Question: I would like to create a python application to analyze twitter streaming data
using Apache Spark.

Is there any way I can use the functionality of Apache Spark streaming without
setting up the Hadoop environment. How to run Apache Spark in standalone mode?
I just downloaded the binaries and tried to run spark-shell, getting
NullPointerException. Can someone please help.

    
    
    <console>:10: error: not found: value sqlContext
    import sqlContext.implicits.
    
    <console>:10: error: not found: value sqlContext
    import sqlContext.sql
    


Answer: I install spark 1.5.2 using homebrew, and when I started the spark-shell, I
met the same error. I add export SPARK_LOCAL_IP=127.0.0.1 to .bashrc or
.bash_profile. It Works.

