Created 02-02-2016 05:24 PM
Hi:
After type this, i cant connect to hive metastore, why the connection is closed??
5: jdbc:hive2://lnxbig05.cajarural.gcr:10000 (closed)> !connect jdbc:hive2://lnxbig05.cajarural.gcr:10000 **** **** org.apache.hive.jdbc.HiveDriver; Connecting to jdbc:hive2://lnxbig05.cajarural.gcr:10000 org/apache/hive/jdbc/HiveDriver; 6: jdbc:hive2://lnxbig05.cajarural.gcr:10000 (closed)>
Created 02-02-2016 05:31 PM
Thanks its working now 🙂
Created 02-02-2016 05:25 PM
you don't need to specify class HiveDriver after password @Roberto Sancho
Created 02-02-2016 05:29 PM
This will save you lot of time https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.2/bk_dataintegration/content/beeline-vs-hive-...
you can type beeline
provide the following line and it will prompt your username and password
!connect jdbc:hive2://<host>:<port>/<db>
Created 02-02-2016 05:31 PM
Thanks its working now 🙂
Created 02-02-2016 05:36 PM
you can accept one of the answers to close the thread @Roberto Sancho
Created 02-02-2016 05:48 PM
@Roberto Sancho that's not what I meant :). Which of the answers helped you resolve the problem, mark that answer as best. Other users have no idea what worked what didn't. Also, you only get points for best answer if someone else accepts your answer.