如果报很多很多错,看配置文件hive-site.xml里的数据库的name和password正确不
报错可以参考:https://blog.csdn.net/eason_oracle/article/details/52273954
一、报错:org.datanucleus.store.rdbms.connectionpool.DatastoreDriverNotFoundException:The
specified datastore driver("com.mysql.jdb.Driver") was not found in the CLASSPATH.
解决方法:把tar.gz包解压,把里面的jar上传到hive的lib下
报错:at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:361)
解决:
原因: 同一个ip在短时间内产生太多(超过mysql数据库max_connect_errors的最大值)
中断的数据库连接而导致的阻塞;
解决方法:
1、提高允许的max_connection_errors数量:
① 进入Mysql数据库查看max_connection_errors:
show variables like '%max_connect_errors%';
② 修改max_connection_errors的数量为1000&#x