[英]Hive Metastore Configurations PostgreSQL
When I start Hive metastore service, my command line says: "Starting Hive Metastore Server" and nothing further.当我启动 Hive Metastore 服务时,我的命令行显示:“启动 Hive Metastore 服务器”,仅此而已。 It doesn't actually start server, neither does it throws any error messages它实际上并没有启动服务器,也没有抛出任何错误消息
Hive : 1.2.1 Hadoop : 2.7.1 Postgres: 9.3.8蜂巢:1.2.1 Hadoop:2.7.1 Postgres:9.3.8
hive-site.xml hive-site.xml
<configuration>
<property>
<name>javax.jdo.option.ConnectionURL</name>
<value>jdbc:postgresql://localhost:5432/metastore</value>
</property>
<property>
<name>javax.jdo.option.ConnectionDriverName</name>
<value>org.postgresql.Driver</value>
</property>
<property>
<name>javax.jdo.option.ConnectionUserName</name>
<value>hiveuser</value>
</property>
<property>
<name>javax.jdo.option.ConnectionPassword</name>
<value>*****</value>
</property>
<property>
<name>org.jpox.autoCreateSchema</name>
<value>true</value>
</property>
</configuration>
[metastore is actual database created in PostgresSQL, and I can access it using: psql -U hiveuser -d metastore] [metastore 是在 PostgresSQL 中创建的实际数据库,我可以使用: psql -U hiveuser -d metastore 访问它]
The property is replaced since Hive 2.0 by property datanucleus.schema.autoCreateAll and others as explained in this apache cwiki page .该属性自 Hive 2.0 起被属性datanucleus.schema.autoCreateAll和其他属性替换,如此apache cwiki 页面中所述。
Please check other specific configurations in the same page.请在同一页面中查看其他特定配置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.