在高可用的hive下执行bin/schematool -dbType mysql -initSchema报错

在高可用的hive下执行bin/schematool -dbType mysql -initSchema报错
报这个错,是因为
关键在: com.google .common.base .Preconditions.checkArgument这是因为hive内依赖的guava.jar和hadoop内的版本不一致造
成的。检验方法:
1.查看hadoop安装目录下share/hadoop/common/lib内guavajar版本
2.查看hive安装目录下lib内guavajar的版本如果两者不一致, 删除版本低的,并拷贝高版本的问题解决!
hadoop/share/hadoop/common/lib下的guavajar版本

在高可用的hive下执行bin/schematool -dbType mysql -initSchema报错
hive/lib内guavajar

在高可用的hive下执行bin/schematool -dbType mysql -initSchema报错