1、问题背景
当输入命令hive启动hive时,报了如下警告:
21/05/30 01:37:12 WARN conf.HiveConf: HiveConf of name hive.metastore.local does not exist
2、问题原因
是因为在0.10 0.11或者之后的hive版本 hive.metastore.local 属性不再使用。
3、解决方式
修改hive-site.xml文件,去掉hive.metastore.local的属性配置。
[admin@master ~]$ cd apache-hive-1.2.2-bin
[admin@master apache-hive-1.2.2-bin]$ ls
bin conf examples hcatalog lib LICENSE NOTICE README.txt RELEASE_NOTES.txt scripts
[admin@master apache-hive-1.2.2-bin]$ cd conf
[admin@master conf]$ ls
beeline-log4j.properties.template hive-env.sh.template hive-log4j.properties.template ivysettings.xml
hive-default.xml.template hive-exec-log4j.properties.template hive-site.xml
[admin@master conf]$ vim hive-site.xml