when executing a command: beeline -u jdbc:hive2://localhost:9000
I am getting below error:
WARN transport.TSaslTransport: Could not send failure response
... 30 more
Error: Could not open client transport with JDBC Uri: jdbc:hive2://localhost:9000: Invalid status -1
Also, could not send response: org.apache.thrift.transport.TTransportException: java.net.SocketException: Broken pipe (Write failed) (state=08S01,code=0)
Beeline version 1.2.1 by Apache Hive
0: jdbc:hive2://localhost:9000 (closed)>
In my hive-site.xml:
<configuration>
<property>
<name>hive.server2.authentication</name>
<value>NOSASL</value>
</property>
<property>
<name>hive.server2.thrift.port</name>
<value>9000</value>
</property>
<property>
<name>hive.server2.thrift.bind.host</name>
<value>localhost</value>
</property>
</configuration>
What am I doing wrong?