Re: RE: Zeppelin JSON files - Table not found

2016-08-06 Thread MichaelYoung
--- Original -- From: "MichaelYoung";<452611...@qq.com>; Date: Sun, Aug 7, 2016 12:59 PM To: "users@zeppelin.apache.org"; Subject: Re: RE: Zeppelin JSON files - Table not found Setting zeppelin.spark.useHiveContext to false did not solve this p

Re: RE: Zeppelin JSON files - Table not found

2016-08-06 Thread MichaelYoung
eppelin.spark.maxResult": "1000", "master": "local[*]", "spark.app.name": "Zeppelin-over-Spark", "zeppelin.R.image.width": "100%", -- Original -- From: "Joaqui

Re: Zeppelin JSON files - Table not found

2016-07-28 Thread Jeff Zhang
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 wrote: > Hi Joaquin, > > Zeppelin itself does not have any restr

Re: Zeppelin JSON files - Table not found

2016-07-28 Thread Alexander Bezzubov
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://

RE: Zeppelin JSON files - Table not found

2016-07-28 Thread Joaquin Alzola
>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 li

Zeppelin JSON files - Table not found

2016-07-28 Thread Joaquin Alzola
Hi Guys Newbie question: import sys.process._ val jfileRDD = sqlContext.jsonFile(s"file:///mnt/test.json") val facebook = jfileRDD.toDF() facebook.show() facebook.printSchema() facebook.registerTempTable("facebook") import sys.process._ warning: there were 1 deprecation warning(s); re-run with