Error while compiling statement: FAILED: LockException [Error 10280]
生活随笔
收集整理的這篇文章主要介紹了
Error while compiling statement: FAILED: LockException [Error 10280]
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
beeline在創(chuàng)建數(shù)據(jù)庫(kù)時(shí)碰見(jiàn)報(bào)錯(cuò)
Error: Error while compiling statement: FAILED: LockException [Error 10280]: Error communicating with the metastore (state=42000,code=10280)
去$HIVE_HOME/logs看了下報(bào)錯(cuò)
javax.jdo.JDODataStoreException: Error executing SQL query "select "DB_ID" from "DBS"".
其實(shí)是好久沒(méi)碰hive忘記怎么配置了,少了下面這句,然后就一切正常了。
schematool -dbType mysql -initSchema
Reference:
[1]【已解決】Hive啟動(dòng)后報(bào)錯(cuò):FAILED: LockException [Error 10280]: Error communicating with the metastore
總結(jié)
以上是生活随笔為你收集整理的Error while compiling statement: FAILED: LockException [Error 10280]的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: mysql与hive比较
- 下一篇: AI 趋势