Hive 安装过程中的问题

org.apache.thrift.transport.TTransportException: Could not create ServerSocket on address 0.0.0.0/0.0.0.0:9083.

at org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:109)

at org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:91)

at org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:83)

重启

hive --service metastore

Exception in thread "main" javax.jdo.JDODataStoreException: Required table missing : "`DBS`" in Catalog "" Schema "".
   DataNucleus requires this table to perform its persistence operations. Either your MetaData is incorrect, or you need to enable "datanucleus.autoCreateTables"

<property><name>datanucleus.fixedDatastore</name>  <value>true</value></property>  

相关几个属性,
   <property>  <name>datanucleus.autoCreateSchema</name>   <value>true</value></property>
   <property>  <name>datanucleus.autoCreateTables</name>   <value>true</value></property>
   <property>  <name>datanucleus.autoCreateColumns</name>  <value>true</value></property>

MetaException(message:Version information not found in metastore. ) at org.apache.hadoop.hive.metas

hive-site.xml 里面 hive.metastore.schema.verification 的值改为 false后,就没出现错误了。

Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient

启动Hive 的 Metastore Server服务进程

上一篇:316python 基础之计算机基础、Python简介、变量、注释、基础数据类型初识、if、while、语句


下一篇:VS快捷键简单记录