Guest User

Untitled

a guest
Dec 4th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. ./build/mvn -Phadoop-2.7,yarn,mesos,hive,hive-thriftserver -DskipTests clean install
  2.  
  3. sudo ./sbin/start-thriftserver.sh
  4.  
  5. sudo ./bin/beeline
  6.  
  7. beeline> !connect jdbc:hive2://localhost:10000
  8. Connecting to jdbc:hive2://localhost:10000
  9. Enter username for jdbc:hive2://localhost:10000:
  10. Enter password for jdbc:hive2://localhost:10000:
  11. log4j:WARN No appenders could be found for logger (org.apache.hive.jdbc.Utils).
  12. log4j:WARN Please initialize the log4j system properly.
  13. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
  14. Error: Could not establish connection to jdbc:hive2://localhost:10000: Required field 'client_protocol' is unset! Struct:TOpenSessionReq(client_protocol:null, configuration:{use:database=default}) (state=08S01,code=0)
  15. 0: jdbc:hive2://localhost:10000 (closed)>
Add Comment
Please, Sign In to add comment