java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient

后端 未结 12 1401
无人共我
无人共我 2020-11-27 14:38

I have Hadoop 2.7.1 and apache-hive-1.2.1 versions installed on ubuntu 14.0.

  1. Why this error is occurring ?
  2. Is any metastore installation required?
12条回答
  •  猫巷女王i
    2020-11-27 14:59

    starting the hive metastore service worked for me. First, set up the database for hive metastore:

     $ hive --service metastore 
    

    ` https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_installing_manually_book/content/validate_installation.html

    Second, run the following commands:

     $ schematool -dbType mysql -initSchema  
     $ schematool -dbType mysql -info
    

    https://cwiki.apache.org/confluence/display/Hive/Hive+Schema+Tool

提交回复
热议问题