-RE: Error while fetching Hive Metadata
Bennie Schut 2010-09-20, 07:31
Metadata calls have been added on trunk (0.7.0)
I haven't used hive 0.5 myself but the jdbc part seems self contained enough you could perhaps use the one from trunk to connect to 0.5
But I'm not sure if that was enough to get eclipse working, I only tried it on the Squirrel client and some custom code.
From: Adarsh Sharma [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 20, 2010 8:44 AM
To: [EMAIL PROTECTED]
Subject: Error while fetching Hive Metadata
I have encountered a serious problem while fetching Hive metadata
I am able to connect Hive through JDBC program in Eclipse and also able
to fetch data from it.
But when I try to connect to Hive metadata I got the following error :-
Hive history file=/tmp/root/hive_job_log_root_201009201158_301097049.txt
Sep 20, 2010 11:58:13 AM
INFO: Hive history
Exception in thread "main" java.sql.SQLException: Method not supported
Hadoop = 0.20.2
Hive = 0.5 with Mysql As metastore
***My work for this error***
I think hive_jdbc.jar doesn't support these features to access metastore.
I see HiveDatabaseMetaData.java and it has all methods with exceptions
'Method Not Supported ';
Can anybody please tell me how to use Hive Metadata if it is possible.
The codes are attached with mail.
Thanks and Regards