- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
beeline connect
- Labels:
-
Apache Hive
Created 02-02-2016 05:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks its working now 🙂
Created 02-02-2016 05:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you don't need to specify class HiveDriver after password @Roberto Sancho
Created 02-02-2016 05:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks its working now 🙂
Created 02-02-2016 05:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you can accept one of the answers to close the thread @Roberto Sancho
Created 02-02-2016 05:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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.