<?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: SASLException: Phoenix Connectivity in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/SASLException-Phoenix-Connectivity/m-p/382742#M244674</link>
    <description>&lt;P&gt;HI Ranga,&lt;/P&gt;&lt;P&gt;Thank you for the reply, Please find my answers below:&lt;/P&gt;&lt;P&gt;1. We are working on CDP.&lt;/P&gt;&lt;P&gt;2. Spark submit is submitted with the cache file, property files and java options. Please let me know if i need to share more details.&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. We are using principal and kerberos cache&lt;/P&gt;&lt;P&gt;4. The below article has been followed and the configuration i have validated&lt;/P&gt;&lt;P&gt;We are using "authentication=SPENGO" and the phoenix string(&lt;STRONG&gt;phoenixurl in code&lt;/STRONG&gt;) is as below:&lt;/P&gt;&lt;P&gt;&amp;lt;ZK&amp;gt;:2181;authentication=SPNEGO/hbase-secure:&amp;lt;principal&amp;gt;:&amp;lt;cache&amp;gt;&lt;/P&gt;&lt;P&gt;We are using the above phoenix string with the code below:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;dataset&lt;/SPAN&gt;.write().format(&lt;SPAN&gt;"org.apache.phoenix.spark"&lt;/SPAN&gt;).mode(SaveMode.&lt;SPAN&gt;Overwrite&lt;/SPAN&gt;)&lt;BR /&gt;        .option(&lt;SPAN&gt;"table"&lt;/SPAN&gt;,&lt;SPAN&gt;tableName&lt;/SPAN&gt;.concat(&lt;SPAN&gt;row&lt;/SPAN&gt;.get(&lt;SPAN&gt;0&lt;/SPAN&gt;).toString()))&lt;BR /&gt;        .option(&lt;SPAN&gt;"zkUrl"&lt;/SPAN&gt;,&lt;STRONG&gt;phoenixurl&lt;/STRONG&gt;)&lt;BR /&gt;        .save();&lt;/PRE&gt;&lt;P&gt;The same above is working fine on CDP, when we migrate the same app on the hadoop instance enabled with ozone. we have above issue w.r.t kerberos.&lt;/P&gt;&lt;P&gt;Please support.. Looking forward for your suggestion&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 25 Jan 2024 17:18:42 GMT</pubDate>
    <dc:creator>sind65</dc:creator>
    <dc:date>2024-01-25T17:18:42Z</dc:date>
    <item>
      <title>SASLException: Phoenix Connectivity</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SASLException-Phoenix-Connectivity/m-p/382582#M244631</link>
      <description>&lt;P&gt;Facing above exception when connecting to Phoenix :&lt;/P&gt;&lt;P&gt;Facing above exception when connecting to Phoenix&amp;nbsp;&lt;/P&gt;&lt;P&gt;failed on local exception: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)] [Caused by javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using below Phoenix jars with version :&lt;/P&gt;&lt;P&gt;phoenix-5.0.0-cdh6.2.0-client.jar&lt;/P&gt;&lt;P&gt;phoenix5-spark-6.0.0.7.1.8.44-1.jar&lt;/P&gt;&lt;P&gt;phoenix-spark-5.0.0-cdh6.2.0.jar&lt;/P&gt;&lt;P&gt;Scala : 2.4.0&lt;/P&gt;&lt;P&gt;Spark : 2.11&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 05:35:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SASLException-Phoenix-Connectivity/m-p/382582#M244631</guid>
      <dc:creator>sind65</dc:creator>
      <dc:date>2024-01-23T05:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: SASLException: Phoenix Connectivity</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SASLException-Phoenix-Connectivity/m-p/382585#M244632</link>
      <description>&lt;P&gt;The application is working fine on CDP but while using the same with ozone we are getting kerberos issue&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 05:37:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SASLException-Phoenix-Connectivity/m-p/382585#M244632</guid>
      <dc:creator>sind65</dc:creator>
      <dc:date>2024-01-23T05:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: SASLException: Phoenix Connectivity</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SASLException-Phoenix-Connectivity/m-p/382586#M244633</link>
      <description>&lt;P&gt;Caused by: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 05:39:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SASLException-Phoenix-Connectivity/m-p/382586#M244633</guid>
      <dc:creator>sind65</dc:creator>
      <dc:date>2024-01-23T05:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: SASLException: Phoenix Connectivity</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SASLException-Phoenix-Connectivity/m-p/382587#M244634</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/108851"&gt;@sind65&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please clarify few things before proceeding any solutions:&lt;/P&gt;&lt;P&gt;1. Are you using CDP or CDH?&lt;/P&gt;&lt;P&gt;2. How are you submitting the spark job?&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Are you using kinit or you have specified principal/keytab?&lt;/P&gt;&lt;P&gt;4. Have you followed the following documentation to setup and run the sample example&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Community-Articles/Spark-Ozone-Integration-in-CDP/ta-p/323132" target="_blank"&gt;https://community.cloudera.com/t5/Community-Articles/Spark-Ozone-Integration-in-CDP/ta-p/323132&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 05:51:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SASLException-Phoenix-Connectivity/m-p/382587#M244634</guid>
      <dc:creator>RangaReddy</dc:creator>
      <dc:date>2024-01-23T05:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: SASLException: Phoenix Connectivity</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SASLException-Phoenix-Connectivity/m-p/382742#M244674</link>
      <description>&lt;P&gt;HI Ranga,&lt;/P&gt;&lt;P&gt;Thank you for the reply, Please find my answers below:&lt;/P&gt;&lt;P&gt;1. We are working on CDP.&lt;/P&gt;&lt;P&gt;2. Spark submit is submitted with the cache file, property files and java options. Please let me know if i need to share more details.&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. We are using principal and kerberos cache&lt;/P&gt;&lt;P&gt;4. The below article has been followed and the configuration i have validated&lt;/P&gt;&lt;P&gt;We are using "authentication=SPENGO" and the phoenix string(&lt;STRONG&gt;phoenixurl in code&lt;/STRONG&gt;) is as below:&lt;/P&gt;&lt;P&gt;&amp;lt;ZK&amp;gt;:2181;authentication=SPNEGO/hbase-secure:&amp;lt;principal&amp;gt;:&amp;lt;cache&amp;gt;&lt;/P&gt;&lt;P&gt;We are using the above phoenix string with the code below:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;dataset&lt;/SPAN&gt;.write().format(&lt;SPAN&gt;"org.apache.phoenix.spark"&lt;/SPAN&gt;).mode(SaveMode.&lt;SPAN&gt;Overwrite&lt;/SPAN&gt;)&lt;BR /&gt;        .option(&lt;SPAN&gt;"table"&lt;/SPAN&gt;,&lt;SPAN&gt;tableName&lt;/SPAN&gt;.concat(&lt;SPAN&gt;row&lt;/SPAN&gt;.get(&lt;SPAN&gt;0&lt;/SPAN&gt;).toString()))&lt;BR /&gt;        .option(&lt;SPAN&gt;"zkUrl"&lt;/SPAN&gt;,&lt;STRONG&gt;phoenixurl&lt;/STRONG&gt;)&lt;BR /&gt;        .save();&lt;/PRE&gt;&lt;P&gt;The same above is working fine on CDP, when we migrate the same app on the hadoop instance enabled with ozone. we have above issue w.r.t kerberos.&lt;/P&gt;&lt;P&gt;Please support.. Looking forward for your suggestion&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 25 Jan 2024 17:18:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SASLException-Phoenix-Connectivity/m-p/382742#M244674</guid>
      <dc:creator>sind65</dc:creator>
      <dc:date>2024-01-25T17:18:42Z</dc:date>
    </item>
  </channel>
</rss>

