Do you want to do it offline - I mean, insert in a hive table - that will
be done parallely
using map-reduce.
This is a jira on export-import for hive being worked on.
It might be simpler to just export the data and import it into another db
table.
It might take some work to get the format compati
hi,
The package names of the files show error, for example :
package org.apache.hadoop.hive.ql.parse;
when the whole src folder of Hive is copied to the src folder of a new
Netbeans project.
I have problems with the following imports :
import org.apache.commons.lang.StringUtils;
import org.apach
hi,
I would like to elaborate on what I wish to do.
I want to store the results of hive query in a database instead of just
displaying it on the hive shell.
For this I need to modify/ add code at two places.
1. To fetch the schema from metastore, so that i can create a table in mySql
database
2. G
Thanks for the prompt replies.
I have gone through the code.
But i am unable to understand how can I integrate my own class and compile
the code in a jar to be executed later.
I am undergraduate and have not worked on such big project.
Some hints will be very helpful.
thanks again for the replies
Hi Abhinav,
1.
> How does one have access to metastore of Hive, to retrieve the schema
> information from it.
> I cant find a file or other such thing in source code.
>
Take a look at the IMetaStoreClient interface and HiveMetaStoreClient class,
but bear in mind that the fundamental definition of
Hi Abhinav,
If you are looking in source you should start looking at the code in
SemanticAnalyser.java
* For actual execution and result handling take a look at the Driver class,
this method calls up semantic analyser, generates plans and tasks and takes
care of execution. You can take a lo
Hi,
I have two questions to ask,
1.
How does one have access to metastore of Hive, to retrieve the schema
information from it.
I cant find a file or other such thing in source code.
2.
How does one get the handle of the result that is produced after the query.
If someone can tell about where to l