Re: HiveContext.getOrCreate not accessible

2016-11-17 Thread Shixiong(Ryan) Zhu
`SQLContext.getOrCreate` will return the HiveContext you created. On Mon, Nov 14, 2016 at 11:17 PM, Praseetha wrote: > > Hi All, > > > I have a streaming app and when i try invoking the > HiveContext.getOrCreate, it errors out with the following stmt. 'object >

HiveContext.getOrCreate not accessible

2016-11-14 Thread Praseetha
Hi All, I have a streaming app and when i try invoking the HiveContext.getOrCreate, it errors out with the following stmt. 'object HiveContext in package hive cannot be accessed in package org.apache.spark.sql.hive' I would require HiveContext instead of SQLContext for my application and