tags:

views:

256

answers:

3

I'm trying to create tables pragmatically using JDBC. However, I can't really see the table I created from the hive shell. What's worse, when i access hive shell from different directories, i see different result of the database. Is any setting i need to configure?

Thanks in advance.

+1  A: 

Try emailing the Hive userlist or the IRC channel.

SquareCog
+1  A: 

You probably need to setup the central Hive metastore (by default, Derby, but it can be mySQL/Oracle/Postgres). The metastore is the "glue" between Hive and HDFS. It tells Hive where your data files live in HDFS, what type of data they contain, what tables they belong to, etc.

For more information, see http://wiki.apache.org/hadoop/HiveDerbyServerMode

A: 

Examine your hadoop logs. For me this happened when my hadoop system was not setup properly. The namenode was not able to contact the datanodes on other machines etc.

ashweta