<?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: Hortonworks 2.5: Ambari and Phoenix PQS Kerberos Setup in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hortonworks-2-5-Ambari-and-Phoenix-PQS-Kerberos-Setup/m-p/168102#M130432</link>
    <description>&lt;P&gt;
	&lt;A rel="user" href="https://community.cloudera.com/users/3553/stewartthomasj.html" nodeid="3553"&gt;@Tom Stewart&lt;/A&gt;, would encourage you to open up your own question if you're experiencing problems.&lt;/P&gt;&lt;P&gt;In general, when you see this error, it's related to the client not providing Kerberos authentication (missing core-site.xml and/or hbase-site.xml on the client's classpath) or it's an authentication issue (where the client is "impersonating" another user which is disallowed via configuration).&lt;/P&gt;</description>
    <pubDate>Thu, 23 Feb 2017 04:10:59 GMT</pubDate>
    <dc:creator>elserj</dc:creator>
    <dc:date>2017-02-23T04:10:59Z</dc:date>
    <item>
      <title>Hortonworks 2.5: Ambari and Phoenix PQS Kerberos Setup</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hortonworks-2-5-Ambari-and-Phoenix-PQS-Kerberos-Setup/m-p/168094#M130424</link>
      <description>&lt;P&gt;Hi /  for attention of &lt;A href="https://community.hortonworks.com/questions/ask.html?space=62#"&gt;@Josh Elser&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is a follow up question to the thread in &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/47138/phoenix-query-server-connection-url-example.html" target="_blank"&gt;https://community.hortonworks.com/questions/47138/phoenix-query-server-connection-url-example.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is where &lt;A rel="user" href="https://community.cloudera.com/users/11204/christopherbridge.html" nodeid="11204"&gt;@Christopher Bridge&lt;/A&gt; was getting Kerberos checksum errors.&lt;/P&gt;&lt;P&gt;I found that the two parameters:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;hbase-site/phoenix.queryserver.kerberos.principal&lt;/LI&gt;&lt;LI&gt;hbase-site/phoenix.queryserver.keytab.file&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;are still set to hbase/_HOST and /etc/security/keytabs/hbase.service.keytab&lt;/P&gt;&lt;P&gt;This seems to be related to this Ambari JIRA:&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/AMBARI-16171" target="_blank"&gt;https://issues.apache.org/jira/browse/AMBARI-16171&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So I want to change it to the recommended setup of HTTP/_HOST and spnego.service.keytab, but the fields are locked in Ambari and they are not available for edit in the Kerberos security setup.&lt;/P&gt;&lt;P&gt;How should I change the properties?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 23:23:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hortonworks-2-5-Ambari-and-Phoenix-PQS-Kerberos-Setup/m-p/168094#M130424</guid>
      <dc:creator>ngkmh</dc:creator>
      <dc:date>2016-11-07T23:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Hortonworks 2.5: Ambari and Phoenix PQS Kerberos Setup</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hortonworks-2-5-Ambari-and-Phoenix-PQS-Kerberos-Setup/m-p/168095#M130425</link>
      <description>&lt;P&gt;Very strange, &lt;A rel="user" href="https://community.cloudera.com/users/14207/ngkmh.html" nodeid="14207"&gt;@Kevin Ng&lt;/A&gt;. I'm not sure why the fix in AMBARI-16171 didn't properly update the principal and keytab in the UI. What version of Ambari are you using?&lt;/P&gt;&lt;P&gt;Maybe you can override these properties in the "Custom hbase-site" configuration section? I don't know enough about how Ambari is supposed to work here.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 23:36:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hortonworks-2-5-Ambari-and-Phoenix-PQS-Kerberos-Setup/m-p/168095#M130425</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2016-11-07T23:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Hortonworks 2.5: Ambari and Phoenix PQS Kerberos Setup</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hortonworks-2-5-Ambari-and-Phoenix-PQS-Kerberos-Setup/m-p/168096#M130426</link>
      <description>&lt;P&gt;Josh,&lt;/P&gt;&lt;P&gt;I managed to change the settings by removing the PQS Service and then adding it back.&lt;/P&gt;&lt;P&gt;However, now I'm getting another error:&lt;/P&gt;&lt;P&gt;java.lang.RuntimeException: java.sql.SQLException: org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=36, exceptions:
Mon Nov 07 12:47:48 EST 2016, null, java.net.SocketTimeoutException: callTimeout=60000, callDuration=68345: row 'SYSTEM:CATALOG,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=obfuscated.com,16020,1478537128525, seqNum=0

   at org.apache.calcite.avatica.jdbc.JdbcMeta.openConnection(JdbcMeta.java:619)
   at org.apache.calcite.avatica.remote.LocalService.apply(LocalService.java:299)
   at org.apache.calcite.avatica.remote.Service$OpenConnectionRequest.accept(Service.java:1748)
   at org.apache.calcite.avatica.remote.Service$OpenConnectionRequest.accept(Service.java:1728)
   at org.apache.calcite.avatica.remote.AbstractHandler.apply(AbstractHandler.java:95)
   at org.apache.calcite.avatica.remote.ProtobufHandler.apply(ProtobufHandler.java:46)
   at org.apache.calcite.avatica.server.AvaticaProtobufHandler$2.call(AvaticaProtobufHandler.java:120)
   at org.apache.calcite.avatica.server.AvaticaProtobufHandler$2.call(AvaticaProtobufHandler.java:118)
   at org.apache.phoenix.queryserver.server.Main$PhoenixDoAsCallback$1.run(Main.java:290)
   at java.security.AccessController.doPrivileged(Native Method)
   at javax.security.auth.Subject.doAs(Subject.java:422)
   at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1724)
   at org.apache.phoenix.queryserver.server.Main$PhoenixDoAsCallback.doAsRemoteUser(Main.java:287)
   at org.apache.calcite.avatica.server.HttpServer$Builder$1.doAsRemoteUser(HttpServer.java:648)
   at org.apache.calcite.avatica.server.AvaticaProtobufHandler.handle(AvaticaProtobufHandler.java:117)
   at org.apache.phoenix.shaded.org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:542)
   at org.apache.phoenix.shaded.org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
   at org.apache.phoenix.shaded.org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
   at org.apache.phoenix.shaded.org.eclipse.jetty.server.Server.handle(Server.java:499)
   at org.apache.phoenix.shaded.org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
   at org.apache.phoenix.shaded.org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
   at org.apache.phoenix.shaded.org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
   at org.apache.phoenix.shaded.org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
   at org.apache.phoenix.shaded.org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
   at java.lang.Thread.run(Thread.java:745)
Caused by: java.sql.SQLException: org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=36, exceptions:
Mon Nov 07 12:47:48 EST 2016, null, java.net.SocketTimeoutException: callTimeout=60000, callDuration=68345: row 'SYSTEM:CATALOG,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=obfuscated.com,16020,1478537128525, seqNum=0

   at org.apache.phoenix.query.ConnectionQueryServicesImpl$13.call(ConnectionQueryServicesImpl.java:2590)
   at org.apache.phoenix.query.ConnectionQueryServicesImpl$13.call(ConnectionQueryServicesImpl.java:2327)
   at org.apache.phoenix.util.PhoenixContextExecutor.call(PhoenixContextExecutor.java:78)
   at org.apache.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryServicesImpl.java:2327)
   at org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:233)
   at org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.createConnection(PhoenixEmbeddedDriver.java:142)
   at org.apache.phoenix.jdbc.PhoenixDriver.connect(PhoenixDriver.java:202)
   at java.sql.DriverManager.getConnection(DriverManager.java:664)
   at java.sql.DriverManager.getConnection(DriverManager.java:208)
   at org.apache.calcite.avatica.jdbc.JdbcMeta.openConnection(JdbcMeta.java:616)
   ... 24 more
Caused by: org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=36, exceptions:
Mon Nov 07 12:47:48 EST 2016, null, java.net.SocketTimeoutException: callTimeout=60000, callDuration=68345: row 'SYSTEM:CATALOG,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=obfuscated.com,16020,1478537128525, seqNum=0

   at org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.throwEnrichedException(RpcRetryingCallerWithReadReplicas.java:271)
   at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:210)
   at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:60)
   at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java:200)
   at org.apache.hadoop.hbase.client.ClientScanner.call(ClientScanner.java:326)
   at org.apache.hadoop.hbase.client.ClientScanner.nextScanner(ClientScanner.java:301)
   at org.apache.hadoop.hbase.client.ClientScanner.initializeScannerInConstruction(ClientScanner.java:166)
   at org.apache.hadoop.hbase.client.ClientScanner.&amp;lt;init&amp;gt;(ClientScanner.java:161)
   at org.apache.hadoop.hbase.client.HTable.getScanner(HTable.java:794)
   at org.apache.hadoop.hbase.MetaTableAccessor.fullScan(MetaTableAccessor.java:602)
   at org.apache.hadoop.hbase.MetaTableAccessor.tableExists(MetaTableAccessor.java:366)
   at org.apache.hadoop.hbase.client.HBaseAdmin.tableExists(HBaseAdmin.java:405)
   at org.apache.phoenix.query.ConnectionQueryServicesImpl$13.call(ConnectionQueryServicesImpl.java:2358)&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 01:52:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hortonworks-2-5-Ambari-and-Phoenix-PQS-Kerberos-Setup/m-p/168096#M130426</guid>
      <dc:creator>ngkmh</dc:creator>
      <dc:date>2016-11-08T01:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Hortonworks 2.5: Ambari and Phoenix PQS Kerberos Setup</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hortonworks-2-5-Ambari-and-Phoenix-PQS-Kerberos-Setup/m-p/168097#M130427</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14207/ngkmh.html" nodeid="14207"&gt;@Kevin Ng&lt;/A&gt;, make sure you check the value of hadoop.proxyuser.HTTP.groups and hadoop.proxyuser.HTTP.hosts matches your deployment in HDFS's core-site configuration. You probably want to set the groups equal to "*" and the hosts should be a comma-separated list of FQDN's where you have PQS deployed.&lt;/P&gt;&lt;P&gt;You can also try enabling DEBUG logging for HBase and check the RegionServer log for an error. I would imagine that you will see an error about the HTTP/FQDN principal being disallowed to impersonate your end-user connecting to PQS.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 01:58:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hortonworks-2-5-Ambari-and-Phoenix-PQS-Kerberos-Setup/m-p/168097#M130427</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2016-11-08T01:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Hortonworks 2.5: Ambari and Phoenix PQS Kerberos Setup</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hortonworks-2-5-Ambari-and-Phoenix-PQS-Kerberos-Setup/m-p/168098#M130428</link>
      <description>&lt;P&gt;Josh,&lt;/P&gt;&lt;P&gt;Thanks !  That did the trick.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 02:30:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hortonworks-2-5-Ambari-and-Phoenix-PQS-Kerberos-Setup/m-p/168098#M130428</guid>
      <dc:creator>ngkmh</dc:creator>
      <dc:date>2016-11-08T02:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Hortonworks 2.5: Ambari and Phoenix PQS Kerberos Setup</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hortonworks-2-5-Ambari-and-Phoenix-PQS-Kerberos-Setup/m-p/168099#M130429</link>
      <description>&lt;P&gt;Superb. I'm glad you got it worked out. Ambari should have done all of the above for you. It would be great if you could share the version information for your installation so we can figure out why you had to do this by hand.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 02:32:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hortonworks-2-5-Ambari-and-Phoenix-PQS-Kerberos-Setup/m-p/168099#M130429</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2016-11-08T02:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Hortonworks 2.5: Ambari and Phoenix PQS Kerberos Setup</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hortonworks-2-5-Ambari-and-Phoenix-PQS-Kerberos-Setup/m-p/168100#M130430</link>
      <description>&lt;P&gt;We're on Ambari Version 2.4.0.1 &lt;/P&gt;&lt;P&gt;We upgraded from HDP 2.4.4 to 2.5&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 18:20:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hortonworks-2-5-Ambari-and-Phoenix-PQS-Kerberos-Setup/m-p/168100#M130430</guid>
      <dc:creator>ngkmh</dc:creator>
      <dc:date>2016-11-08T18:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Hortonworks 2.5: Ambari and Phoenix PQS Kerberos Setup</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hortonworks-2-5-Ambari-and-Phoenix-PQS-Kerberos-Setup/m-p/168101#M130431</link>
      <description>&lt;P&gt;Did you ever find the resolution to this other error?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 02:32:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hortonworks-2-5-Ambari-and-Phoenix-PQS-Kerberos-Setup/m-p/168101#M130431</guid>
      <dc:creator>StewartThomasJ1</dc:creator>
      <dc:date>2017-02-23T02:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Hortonworks 2.5: Ambari and Phoenix PQS Kerberos Setup</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hortonworks-2-5-Ambari-and-Phoenix-PQS-Kerberos-Setup/m-p/168102#M130432</link>
      <description>&lt;P&gt;
	&lt;A rel="user" href="https://community.cloudera.com/users/3553/stewartthomasj.html" nodeid="3553"&gt;@Tom Stewart&lt;/A&gt;, would encourage you to open up your own question if you're experiencing problems.&lt;/P&gt;&lt;P&gt;In general, when you see this error, it's related to the client not providing Kerberos authentication (missing core-site.xml and/or hbase-site.xml on the client's classpath) or it's an authentication issue (where the client is "impersonating" another user which is disallowed via configuration).&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 04:10:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hortonworks-2-5-Ambari-and-Phoenix-PQS-Kerberos-Setup/m-p/168102#M130432</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2017-02-23T04:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Hortonworks 2.5: Ambari and Phoenix PQS Kerberos Setup</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hortonworks-2-5-Ambari-and-Phoenix-PQS-Kerberos-Setup/m-p/168103#M130433</link>
      <description>&lt;P&gt;Sorry I was trying to get clarification for this *second* issue, as I was also hitting this same exact scenario. For others in the future, the response by &lt;A rel="user" href="https://community.cloudera.com/users/223/jelser.html" nodeid="223"&gt;@Josh Elser&lt;/A&gt; that is upvoted at the top (when sorted by Votes) also worked for me to correct this java.net.SocketTimeoutException when connecting to PQS. I was missing the PQS host in hadoop.proxyuser.HTTP.hosts. I didn't realize the upvoted response was for this second issue because the comment sorting was showing things out of order for me. I never did track down an impersonation error message, but I didn't increase tracing at all to try real hard at capturing the error.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 04:31:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hortonworks-2-5-Ambari-and-Phoenix-PQS-Kerberos-Setup/m-p/168103#M130433</guid>
      <dc:creator>StewartThomasJ1</dc:creator>
      <dc:date>2017-02-23T04:31:25Z</dc:date>
    </item>
  </channel>
</rss>

