解决方法:
在0.10  0.11或者之后的HIVE版本 hive.metastore.local 属性不再使用。
在配置文件里面:
 <property>
   <name>hive.metastore.local</name>
     <value>false</value>
</property>
删除掉,再次登录警告就消失了
hive-site.xml 中如下内容:
    

<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

<configuration>
  <property>
    <name>hive.metastore.warehouse.dir</name>
    <value>/user/hive_remote/warehouse</value>
  </property>


  <property>
    <name>javax.jdo.option.ConnectionURL</name>
    <value>jdbc:mysql://localhost:3306/hive_remote?createDatabaseIfNotExist=true</value>
  </property>

  <property>
    <name>javax.jdo.option.ConnectionDriverName</name>
    <value>com.mysql.jdbc.Driver</value>
  </property>

  <property>
    <name>javax.jdo.option.ConnectionUserName</name>
    <value>root</value>
  </property>

  <property>
    <name>javax.jdo.option.ConnectionPassword</name>
    <value>123456</value>
  </property>
</configuration>

相关文章:

  • 2022-12-23
  • 2021-11-02
  • 2021-09-11
  • 2021-12-05
  • 2021-10-10
  • 2021-07-05
  • 2021-05-20
  • 2021-08-31
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-04-18
  • 2021-09-16
  • 2021-11-08
  • 2021-07-16
  • 2021-06-27
相关资源
相似解决方案