I started HiveServer for the first time using instructions from the following page:
http://wiki.apache.org/hadoop/Hive/HiveServer 1) bin/hive --service hiveserver 2) ant test -Dtestcase=TestJdbcDriver -Dstandalone=true Getting this error: org.apache.thrift.TApplicationException: Invalid method name: 'getThriftSchema' [junit] at org.apache.thrift.TApplicationException.read(TApplicationException.java:107) [junit] at org.apache.hadoop.hive.service.ThriftHive$Client.recv_getThriftSchema(ThriftHive.java:247) [junit] at org.apache.hadoop.hive.service.ThriftHive$Client.getThriftSchema(ThriftHive.java:231) [junit] at org.apache.hadoop.hive.jdbc.HiveResultSet.initDynamicSerde(HiveResultSet.java:90) [junit] at org.apache.hadoop.hive.jdbc.HiveResultSet.<init>(HiveResultSet.java:77) [junit] at org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:201) [junit] at org.apache.hadoop.hive.jdbc.TestJdbcDriver.setUp(TestJdbcDriver.java:81) [junit] at junit.framework.TestCase.runBare(TestCase.java:125) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:118) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) [junit] at junit.framework.TestSuite.run(TestSuite.java:203) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768) [junit] Tests run: 9, Failures: 0, Errors: 9, Time elapsed: 3.867 sec [junit] Test org.apache.hadoop.hive.jdbc.TestJdbcDriver FAILED I am looking into it, but if you know why this is happening please let me know. Thanks.
