Clark, I think the error shows that the hive failed when trying to run some DDL to the meta_store database. How do you set up your meta data database of hive? If it is derby, make sure you have only one connection in one directory. (Sometimes the error may be caused when you have another connection under the same directory and forget to close it) If it is mysql, make sure you have downloaded the JDBC driver, which is not included in the hive package if you downloaded it form apache. (It is included in cloudera version) Let me know if you have any further questions. Tan Li (from shopping.com)
-----Original Message----- From: Clark Yang (杨卓荦) [mailto:[email protected]] Sent: Thursday, October 15, 2009 4:24 AM To: [email protected] Subject: Can't I use hive? What does this exception mean? I have already installed hadoop correctly. but what does that mean? ~/hive/build/dist/bin$ ./hive Hive history file=/tmp/yangzhuoluo/hive_job_log_yangzhuoluo_200910151919_995767046.txt hive> show tables; FAILED: Error in metadata: javax.jdo.JDOFatalInternalException: Unexpected exception caught. NestedThrowables: java.lang.reflect.InvocationTargetException FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask Can anybody tell me what does the exception mean? Thank you all very much. ___________________________________________________________ 好玩贺卡等你发,邮箱贺卡全新上线! http://card.mail.cn.yahoo.com/
