<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: HIVE error. -- H060 Unable to open Hive session in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-H060-Unable-to-open-Hive-session/m-p/151504#M20437</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/2942/amit29sharmait.html"&gt;Amit Sharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Good question.. Not sure how is it related to protocol version ! at least the error message is definitely wrong. This is the only workaround I got. &lt;/P&gt;&lt;P&gt;The issue is related to  restrict access to the Hive metastore service by allowing it to impersonate only a subset of Kerberos users. This can be done by setting the hadoop.proxyuser.hive.groups property in core-site.xml on the Hive metastore host.&lt;/P&gt;&lt;P&gt;The issue has something to do with org.apache.thrift.protocol client_protocol, My reasoning was to give the hive user  a wildcard  privilege like the root.There is a jira out there as I see it resolved  your problem then you can accept it as an answer cheers!&lt;/P&gt;</description>
    <pubDate>Mon, 22 Feb 2016 15:06:14 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2016-02-22T15:06:14Z</dc:date>
    <item>
      <title>HIVE error. -- H060 Unable to open Hive session</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-H060-Unable-to-open-Hive-session/m-p/151498#M20431</link>
      <description>&lt;P&gt;I had to restart my AWS server which caused it's public dns changed . so for opening the ambari-server I had to connect to new dns:8080 port, and I was able to connect easily. But when I am connecting to the hive view it is giving below error.&lt;/P&gt;&lt;P&gt;H060 Unable to open Hive session: org.apache.thrift.protocol.TProtocolException:Required field 'serverProtocolVersion'is unset!Struct:TOpenSessionResp(status:TStatus(statusCode:ERROR_STATUS, infoMessages:[*org.apache.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2016 05:43:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-H060-Unable-to-open-Hive-session/m-p/151498#M20431</guid>
      <dc:creator>amit_29sharmait</dc:creator>
      <dc:date>2016-02-22T05:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: HIVE error. -- H060 Unable to open Hive session</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-H060-Unable-to-open-Hive-session/m-p/151499#M20432</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/2942/amit29sharmait.html"&gt;Amit Sharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you have ambari you can add the properties via: services-&amp;gt;HDFS-&amp;gt;configs-&amp;gt;advanced-&amp;gt;custom core-site &lt;/P&gt;&lt;P&gt;Add the below properties &lt;/P&gt;&lt;PRE&gt;hadoop.proxyuser.hive.hosts=* 
hadoop.proxyuser.hive.groups=* &lt;/PRE&gt;&lt;P&gt;Than restart all the affected the services.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2016 05:50:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-H060-Unable-to-open-Hive-session/m-p/151499#M20432</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2016-02-22T05:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: HIVE error. -- H060 Unable to open Hive session</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-H060-Unable-to-open-Hive-session/m-p/151500#M20433</link>
      <description>&lt;P&gt;Restart hive service&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2016 05:51:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-H060-Unable-to-open-Hive-session/m-p/151500#M20433</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-22T05:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: HIVE error. -- H060 Unable to open Hive session</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-H060-Unable-to-open-Hive-session/m-p/151501#M20434</link>
      <description>&lt;P&gt;I already have these property added. Let me give you the brief This were running fine until i restarted my aws server and its dns chnaged and I see these errors. &lt;/P&gt;&lt;P&gt;Write now I am getting below errors :&lt;/P&gt;&lt;PRE&gt;org.apache.ambari.view.hive.client.HiveClientException: H060 Unable to open Hive session: org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out


&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 Feb 2016 06:30:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-H060-Unable-to-open-Hive-session/m-p/151501#M20434</guid>
      <dc:creator>amit_29sharmait</dc:creator>
      <dc:date>2016-02-22T06:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: HIVE error. -- H060 Unable to open Hive session</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-H060-Unable-to-open-Hive-session/m-p/151502#M20435</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/2942/amit29sharmait.html"&gt;Amit Sharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Gracefully stop all the services using Ambari.&lt;/P&gt;&lt;P&gt;Restart all  the services using Ambari @times  after reboot of the server you will need to manually start  those service that wont be started by Ambari  but subsequent Ambari  startall /stopall will work correctly.&lt;/P&gt;&lt;P&gt;Keep me posted &lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2016 06:43:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-H060-Unable-to-open-Hive-session/m-p/151502#M20435</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2016-02-22T06:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: HIVE error. -- H060 Unable to open Hive session</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-H060-Unable-to-open-Hive-session/m-p/151503#M20436</link>
      <description>&lt;P&gt;Thank you very much for your help.. It is working now..  &lt;/P&gt;&lt;P&gt;Will you be able to answer my question? you mentioned to add property hadoop.proxyuser.hive.hosts=* but hontor document says to add hadoop.proxyuser.root.hosts=* I have added both but not sure why and which one is working. &lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2016 06:53:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-H060-Unable-to-open-Hive-session/m-p/151503#M20436</guid>
      <dc:creator>amit_29sharmait</dc:creator>
      <dc:date>2016-02-22T06:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: HIVE error. -- H060 Unable to open Hive session</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-H060-Unable-to-open-Hive-session/m-p/151504#M20437</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/2942/amit29sharmait.html"&gt;Amit Sharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Good question.. Not sure how is it related to protocol version ! at least the error message is definitely wrong. This is the only workaround I got. &lt;/P&gt;&lt;P&gt;The issue is related to  restrict access to the Hive metastore service by allowing it to impersonate only a subset of Kerberos users. This can be done by setting the hadoop.proxyuser.hive.groups property in core-site.xml on the Hive metastore host.&lt;/P&gt;&lt;P&gt;The issue has something to do with org.apache.thrift.protocol client_protocol, My reasoning was to give the hive user  a wildcard  privilege like the root.There is a jira out there as I see it resolved  your problem then you can accept it as an answer cheers!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2016 15:06:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-H060-Unable-to-open-Hive-session/m-p/151504#M20437</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2016-02-22T15:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: HIVE error. -- H060 Unable to open Hive session</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-H060-Unable-to-open-Hive-session/m-p/151505#M20438</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2942/amit29sharmait.html" nodeid="2942"&gt;@Amit Sharma&lt;/A&gt;&lt;P&gt;See this thread &lt;A href="https://community.hortonworks.com/questions/13820/ambari-hive-view-problem.html" target="_blank"&gt;https://community.hortonworks.com/questions/13820/ambari-hive-view-problem.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2016 15:33:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-H060-Unable-to-open-Hive-session/m-p/151505#M20438</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-22T15:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: HIVE error. -- H060 Unable to open Hive session</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-H060-Unable-to-open-Hive-session/m-p/151506#M20439</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/2942/amit29sharmait.html"&gt;@Amit Sharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Is this problem still persistent ?  If my proposed solution  resolved your issue then could you accept my answer !&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 14:09:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-H060-Unable-to-open-Hive-session/m-p/151506#M20439</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2016-02-24T14:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: HIVE error. -- H060 Unable to open Hive session</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-H060-Unable-to-open-Hive-session/m-p/151507#M20440</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I am having a similar issue here. Everything was working fine on HIVE until I have installed HBase and Ambari Metrics services. I performed pretty much all the changes proposed on this post and the documentation and still getting the error below:&lt;/P&gt;&lt;P&gt;Any ideias here appreciated!&lt;/P&gt;&lt;P&gt;H060 Unable to open Hive session: org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out&lt;/P&gt;&lt;PRE&gt;    org.apache.ambari.view.hive.client.HiveClientException: H060 Unable to open Hive session: org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out

org.apache.ambari.view.hive.client.HiveClientException: H060 Unable to open Hive session: org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out
	at org.apache.ambari.view.hive.client.Connection$2.body(Connection.java:488)
	at org.apache.ambari.view.hive.client.Connection$2.body(Connection.java:475)
	at org.apache.ambari.view.hive.client.HiveCall.call(HiveCall.java:101)
	at org.apache.ambari.view.hive.client.Connection.openSession(Connection.java:475)
	at org.apache.ambari.view.hive.client.Connection.getOrCreateSessionByTag(Connection.java:523)
	at org.apache.ambari.view.hive.resources.browser.HiveBrowserService.databases(HiveBrowserService.java:87)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 May 2016 08:40:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-H060-Unable-to-open-Hive-session/m-p/151507#M20440</guid>
      <dc:creator>junnnninho</dc:creator>
      <dc:date>2016-05-09T08:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: HIVE error. -- H060 Unable to open Hive session</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-H060-Unable-to-open-Hive-session/m-p/151508#M20441</link>
      <description>&lt;P&gt;I can't able to open hive session. I get the following error when i tried to open hive session.&lt;/P&gt;&lt;P&gt;Restarted hive and ambari-server but no luck. please help me&lt;/P&gt;&lt;P&gt; hive
Logging initialized using configuration in file:/etc/hive/2.5.0.0-1245/0/hive-log4j.properties
Exception in thread "main" java.lang.RuntimeException: java.lang.IllegalArgumentException: java.net.UnknownHostException: sandbox
        at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:523)
        at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:680)
        at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:624)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.hadoop.util.RunJar.run(RunJar.java:233)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:148)
Caused by: java.lang.IllegalArgumentException: java.net.UnknownHostException: sandbox
        at org.apache.hadoop.security.SecurityUtil.buildTokenService(SecurityUtil.java:411)
        at org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(NameNodeProxies.java:311)
        at org.apache.hadoop.hdfs.NameNodeProxies.createProxy(NameNodeProxies.java:176)
        at org.apache.hadoop.hdfs.DFSClient.&amp;lt;init&amp;gt;(DFSClient.java:688)
        at org.apache.hadoop.hdfs.DFSClient.&amp;lt;init&amp;gt;(DFSClient.java:629)
        at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:159)
        at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2761)
        at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:99)
        at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2795)
        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2777)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:386)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:179)
        at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:506)
        ... 8 more
Caused by: java.net.UnknownHostException: sandbox
        ... 21 more&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 22:11:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-H060-Unable-to-open-Hive-session/m-p/151508#M20441</guid>
      <dc:creator>raviinfo001</dc:creator>
      <dc:date>2017-01-27T22:11:52Z</dc:date>
    </item>
  </channel>
</rss>

