Re: Failed to parse Hive query

2015-02-28 Thread Anusha Shamanur
Hi, I reconfigured everything. Still facing the same issue. Can someone please help? On Friday, February 27, 2015, Anusha Shamanur anushas...@gmail.com wrote: I do. What tags should I change in this? I changed the value of hive.exec.scratchdir to /tmp/hive. What else? On Fri, Feb 27, 2015

Failed to parse Hive query

2015-02-27 Thread Anusha Shamanur
Hi, I am trying to do this in spark-shell: val hiveCtx = neworg.apache.spark.sql.hive.HiveContext(sc) val listTables =hiveCtx.hql(show tables) The second line fails to execute with this message: warning: there were 1 deprecation warning(s); re-run with -deprecation for details

Re: Failed to parse Hive query

2015-02-27 Thread Michael Armbrust
Do you have a hive-site.xml file or a core-site.xml file? Perhaps something is misconfigured there? On Fri, Feb 27, 2015 at 7:17 AM, Anusha Shamanur anushas...@gmail.com wrote: Hi, I am trying to do this in spark-shell: val hiveCtx = neworg.apache.spark.sql.hive.HiveContext(sc) val

Re: Failed to parse Hive query

2015-02-27 Thread Anusha Shamanur
I do. What tags should I change in this? I changed the value of hive.exec.scratchdir to /tmp/hive. What else? On Fri, Feb 27, 2015 at 2:14 PM, Michael Armbrust mich...@databricks.com wrote: Do you have a hive-site.xml file or a core-site.xml file? Perhaps something is misconfigured there?