Is this code snippet your completed code in notebook ? If you create
SQLContext by yourself instead of using the SQLContext created by spark
interpreter, you will hit this issue.


On Fri, Jul 29, 2016 at 9:14 AM, Alexander Bezzubov <b...@apache.org> wrote:

> Hi Joaquin,
>
> Zeppelin itself does not have any restrictions on the format of the input
> data, everything depends on the data processing system and interpreter you
> choose to use. looking at you example - as you use Apache Spark [1] would
> be the place to look for details.
>
> Hope this helps!
>
> 1.
> http://spark.apache.org/docs/1.6.1/sql-programming-guide.html#json-datasets
>
> --
> Alex
>
> On Fri, Jul 29, 2016, 01:00 Joaquin Alzola <joaquin.alz...@lebara.com>
> wrote:
>
>>
>>
>> >ERROR:
>> >org.apache.spark.sql.AnalysisException: Table not found: facebook; line
>> 2 pos 5
>>
>>
>>
>> Changing the zeppelin.spark.useHiveContext to false solved the issue.
>>
>>
>>
>> What format does Zeppelin need the JSON to be?
>>
>> Playing aroung everything on the same line only picks up the last , while
>> in different line it give corrupt JSON.
>> This email is confidential and may be subject to privilege. If you are
>> not the intended recipient, please do not copy or disclose its content but
>> contact the sender immediately upon receipt.
>>
>


-- 
Best Regards

Jeff Zhang

Reply via email to