Sunday, April 17, 2016

beeline Error: Could not open client transport with JDBC Uri

Introduction

Are you receiving the Connection refused  error (or)  Error: Could not open client transport with JDBC Uri when you try to start the beeline command prompt as part of the Cloudera distribution for Apache Hadoop (CDH) ?

beeline –u jdbc:hive2://localhost:10000

Though the above syntax should work without any problem, this issue still exists in the Cloudera Quickstart VM 5.5 version.

Solution

Just put a  /  at the end of the syntax and the issue goes away. It is an easy solution.  So please try to start beeline with the beeline –u jdbc:hive2://localhost:10000/ syntax

No comments: