hive启动时保持在开启状态,没有异常报出


[hive] hive --service metastore 15:51:52 readlink: illegal option -- f usage: readlink [-n] [file ...] Starting Hive Metastore Server

执行hive或者启动metastoreservice之后,就保持在starting状态,除了illegal option外没有报出其他的异常,但是
这篇教学 里同样有这个警告,但是我却打不出后面的log,所以请问到底是哪里有问题导致了这个状况…我完全不明白是哪个环节出现了问题…我只能确保一旦有进展我会随时更新问题……欢迎给出各种意见思路参考链接= =

hive-site.xml里更改过的内容如下


 <property>
<name>hive.metastore.warehouse.dir</name>
<value>/user/hive/warehouse</value>
<description>location of default database for the warehouse</description>
</property>
<property>
<name>javax.jdo.option.ConnectionURL</name>
<value>jdbc:postgresql://localhost:5432/hive?createDatabaseIfNotExist=true</value>
<description>JDBC connect string for a JDBC metastore</description>
</property>
<property>
<name>javax.jdo.option.ConnectionDriverName</name>
<value>org.postgresql.Driver</value>
<description>Driver class name for a JDBC metastore</description>
</property>
<property>
<name>javax.jdo.option.ConnectionUserName</name>
<value>yaame</value>
<description>Username to use against metastore database</description>
</property>
<property>
<name>javax.jdo.option.ConnectionPassword</name>
<value>postgres</value>
<description>password to use against metastore database</description>
</property>

hive

Justice 10 years, 5 months ago

Your Answer