当前位置:   article > 正文

hive实例化schema报错: Failed to get schema version._org.apache.hadoop.hive.metastore.hivemetaexception

org.apache.hadoop.hive.metastore.hivemetaexception: failed to get schema ver

具体报错:

  1. Metastore connection URL:     jdbc:mysql://hm02:3306/hive?createDatabaseIfNotExist=true
  2. Metastore Connection Driver :     com.mysql.cj.jdbc.Driver
  3. Metastore connection User:     hive
  4. org.apache.hadoop.hive.metastore.HiveMetaException: Failed to get schema version.
  5. Underlying cause: com.mysql.cj.jdbc.exceptions.CommunicationsException : Communications link failure
  6. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  7. SQL Error code: 0
  8. Use --verbose for detailed stacktrace.
  9. *** schemaTool failed ***

原因及解决方案: 

说来惭愧,自己都想打自己(这个问题困扰了我一整天)&#

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop】
推荐阅读
相关标签
  

闽ICP备14008679号