hadoop - Issue while launching HIVE shell -


i unable launch apache hive(0.14) ,i getting following error

"exception in thread "main" java.lang.runtimeexception: java.lang.runtimeexception: unable instantiate org.apache.hadoop.hive.ql.metadata.sessionhivemetastoreclient"

i have copied contents of hive-default.xml.template hive-site.xml ,but modified following fields

  <property>     <name>javax.jdo.option.connectionurl</name>     <value>jdbc:derby://child1:1527/metastore_db;create=true</value>     <description>jdbc connect string jdbc metastore</description>   </property>  <property>   <name>javax.jdo.option.connectiondrivername</name>   <value>org.apache.derby.jdbc.clientdriver</value>   <description>driver class name jdbc metastore</description> </property> 

i did not modified other fields in hive-site.xml , please can 1 suggest me on how resolve issue.

br, sanumala

install file slf4j-log4j12-1.4.3.jar

cause if u have received error, u need install above file below error not been able launch hive shell;


[root@nn-1 hive]# hive logging initialized using configuration in file:/etc/hive/conf.dist/hive-log4j.properties slf4j: failed load class "org.slf4j.impl.staticloggerbinder". slf4j: defaulting no-operation (nop) logger implementation slf4j: see http://www.slf4j.org/codes.html#staticloggerbinder further details.


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -