我在运行hive,但我出错了
Caused by: javax.jdo.JDOFatalDataStoreException: Unable to open a test connection to the given database. JDBC url = jdbc:derby:metastore_db;create=true, username = APP. Terminating connection pool (set lazyInit to true if you expect to start your database after your app). Original Exception: ------
java.sql.SQLException: Failed to create database 'metastore_db', see the next exception for details.
在这里
Caused by: java.sql.SQLException: Failed to create database '/home/Desktop/metastore/metastore_db', see the next exception for details.
hadoop运行良好,我的安装目录
hadoop-opt/hadoop
配置单元-opt/hadoop
德比-opt/derby
配置单元配置文件-hive-site.xml
<configuration>
<property>
<name>javax.jdo.option.ConnectionURL</name>
<value>jdbc:derby:metastore_db;create=true</value>
</property>
<property>
<name>javax.jdo.option.ConnectionDriverName</name>
<value>org.apache.derby.jdbc.EmbeddedDriver</value>
</property>
</configuration>
暂无答案!
目前还没有任何答案,快来回答吧!