Hiveserver2 beeline error java.io.FileNotFoundException: minlog-1.2.jar

2986 단어 hive
전체 오류는 다음과 같습니다.
beeline> !connect jdbc:hive2//127.0.0.1:10000 root org.apache.hive.jdbc.HiveDriver
scan complete in 1ms
16/11/01 20:47:52 [main]: ERROR beeline.ClassNameCompleter: Fail to parse the class name from the Jar file due to the exception:java.io.FileNotFoundException: minlog-1.2.jar (No such file or directory)
16/11/01 20:47:52 [main]: ERROR beeline.ClassNameCompleter: Fail to parse the class name from the Jar file due to the exception:java.io.FileNotFoundException: objenesis-1.2.jar (No such file or directory)
16/11/01 20:47:52 [main]: ERROR beeline.ClassNameCompleter: Fail to parse the class name from the Jar file due to the exception:java.io.FileNotFoundException: reflectasm-1.07-shaded.jar (No such file or directory)
scan complete in 508ms
No known driver to handle "jdbc:hive2//127.0.0.1:10000"

마지막으로 연결 명령을 아래와 같이 바꾸면 문제가 해결된다는 것을 발견하였다
 !connect jdbc:hive2://localhost:10000 root

좋은 웹페이지 즐겨찾기