[SPARK-SQL]how to run cache command with Running the Thrift JDBC/ODBC server

2014-12-19 Thread jeanlyn92
when i run the *cache table as *in the beeline which communicate with the thrift server i got the follow error: 14/12/19 15:57:05 ERROR ql.Driver: FAILED: ParseException line 1:0 cannot recognize input near 'cache' 'table' 'jeanlyntest' org.apache.hadoop.hive.ql.parse.ParseException: line 1:0

Re: [SPARK-SQL]how to run cache command with Running the Thrift JDBC/ODBC server

2014-12-19 Thread Cheng Lian
It seems that the Thrift server you connected to is the original HiveServer2 rather than Spark SQL HiveThriftServer2. On 12/19/14 4:08 PM, jeanlyn92 wrote: when i run the *cache table as *in the beeline which communicate with the thrift server i got the follow error: 14/12/19 15:57:05 ERROR