当我键入“hive”命令时,它会挂起而不进入hive提示符,当我检查日志时,我发现下面的错误。
ERROR [BoneCP-pool-watch-thread]: bonecp.PoolWatchThread (PoolWatchThread.java:fillConnections(118)) - Error in trying to obtain a connection. Retrying in 7000ms
java.sql.SQLException: A read-only user or a user in a read-only database is not permitted to disable read-only mode on a connection.
有人能告诉我这里缺什么吗?
2条答案
按热度按时间cygmwpex1#
这个问题是由于derby数据库,我把它改成了postgresql,它成功了!
qeeaahzv2#
重新启动derby数据库进程。