postgresql - Hive Metastore Configurations PostgresSQL -
when start hive metastore service, command line says: "starting hive metastore server" , nothing further. doesn't start server, neither throws error messages
hive : 1.2.1 hadoop : 2.7.1 postgres: 9.3.8
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>
any appreciated.
[metastore actual database created in postgressql, , can access using: psql -u hiveuser -d metastore]
please set following property. postgresql . more details refer here
<property> <name>datanucleus.autocreateschema</name> <value>false</value> </property>
Comments
Post a Comment