I'm trying to use an instance of HiveContext in a Spark streaming application (1.6), but it fails with the following exception:
java.lang.NullPointerException at org.apache.spark.sql.SQLConf.getConf(SQLConf.scala:638)
In particolar, I want to create a dataframe and execute a query for each processed message.
Someone can help me?