<?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: Getting error while doing distcp with two secure cluster. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-while-doing-distcp-with-two-secure-cluster/m-p/226256#M60857</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/1897/ashneesharma88.html" nodeid="1897"&gt;@Ashnee Sharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As the log says that the provided credentials were unable to be identified.&lt;/P&gt;&lt;P&gt;Causes may fall under any of the below:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;The user set the  $KRB5_CONFIG environment variable to something other than the default value of /etc/krb5.conf.  The HDFS client will not source the $KRB5_CONFIG from the user's shell.&lt;/LI&gt;&lt;LI&gt;/etc/gphd/hadoop/conf/hdfs-site.xml does not have the correct Kerberos configuration for the namenode HDFS principal.&lt;/LI&gt;&lt;LI&gt;The DNS does not resolve the correct Fully Qualified Domain Name.&lt;/LI&gt;&lt;LI&gt;The Kerberos client libs version do not match the server.&lt;/LI&gt;&lt;LI&gt;Kerberos encryption defaults differ between the client and the KDC.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Refer the link for the solution on how to overcome this.&lt;/P&gt;&lt;P&gt;&lt;A href="https://discuss.pivotal.io/hc/en-us/articles/202210763-The-Secure-HDFS-Error-No-valid-credentials-provided-Displays-when-Running-HDFS-DFS-or-Hadoop-FS" target="_blank"&gt;https://discuss.pivotal.io/hc/en-us/articles/202210763-The-Secure-HDFS-Error-No-valid-credentials-provided-Displays-when-Running-HDFS-DFS-or-Hadoop-FS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope it help in solving your issue.&lt;/P&gt;</description>
    <pubDate>Thu, 11 May 2017 02:33:28 GMT</pubDate>
    <dc:creator>balavignesh_nag</dc:creator>
    <dc:date>2017-05-11T02:33:28Z</dc:date>
    <item>
      <title>Getting error while doing distcp with two secure cluster.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-while-doing-distcp-with-two-secure-cluster/m-p/226255#M60856</link>
      <description>&lt;P&gt;We have two secure cluster with kerbores. While doing distcp getting following error. &lt;/P&gt;&lt;P&gt;Error:- &lt;/P&gt;&lt;P&gt;Caused by: GSSException: No valid credentials provided (Mechanism level: Server not found in Kerberos database (7) - UNKNOWN_SERVER)
       at sun.security.jgss.krb5.Krb5Context.initSecContext(Krb5Context.java:710)
       at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:248)
       at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:179)
       at com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:193)
       ... 38 more
Caused by: KrbException: Server not found in Kerberos database (7) - UNKNOWN_SERVER
       at sun.security.krb5.KrbTgsRep.&amp;lt;init&amp;gt;(KrbTgsRep.java:73)
       at sun.security.krb5.KrbTgsReq.getReply(KrbTgsReq.java:192)
       at sun.security.krb5.KrbTgsReq.sendAndGetCreds(KrbTgsReq.java:203)
       at sun.security.krb5.internal.CredentialsUtil.serviceCreds(CredentialsUtil.java:311)
       at sun.security.krb5.internal.CredentialsUtil.acquireServiceCreds(CredentialsUtil.java:115)
       at sun.security.krb5.Credentials.acquireServiceCreds(Credentials.java:449)
       at sun.security.jgss.krb5.Krb5Context.initSecContext(Krb5Context.java:641)
       ... 41 more
Caused by: KrbException: Identifier doesn't match expected value (906)
       at sun.security.krb5.internal.KDCRep.init(KDCRep.java:143)
       at sun.security.krb5.internal.TGSRep.init(TGSRep.java:66)
       at sun.security.krb5.internal.TGSRep.&amp;lt;init&amp;gt;(TGSRep.java:61)
       at sun.security.krb5.KrbTgsRep.&amp;lt;init&amp;gt;(KrbTgsRep.java:55)&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:35:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-while-doing-distcp-with-two-secure-cluster/m-p/226255#M60856</guid>
      <dc:creator>ashneesharma88</dc:creator>
      <dc:date>2022-09-16T11:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while doing distcp with two secure cluster.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-while-doing-distcp-with-two-secure-cluster/m-p/226256#M60857</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/1897/ashneesharma88.html" nodeid="1897"&gt;@Ashnee Sharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As the log says that the provided credentials were unable to be identified.&lt;/P&gt;&lt;P&gt;Causes may fall under any of the below:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;The user set the  $KRB5_CONFIG environment variable to something other than the default value of /etc/krb5.conf.  The HDFS client will not source the $KRB5_CONFIG from the user's shell.&lt;/LI&gt;&lt;LI&gt;/etc/gphd/hadoop/conf/hdfs-site.xml does not have the correct Kerberos configuration for the namenode HDFS principal.&lt;/LI&gt;&lt;LI&gt;The DNS does not resolve the correct Fully Qualified Domain Name.&lt;/LI&gt;&lt;LI&gt;The Kerberos client libs version do not match the server.&lt;/LI&gt;&lt;LI&gt;Kerberos encryption defaults differ between the client and the KDC.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Refer the link for the solution on how to overcome this.&lt;/P&gt;&lt;P&gt;&lt;A href="https://discuss.pivotal.io/hc/en-us/articles/202210763-The-Secure-HDFS-Error-No-valid-credentials-provided-Displays-when-Running-HDFS-DFS-or-Hadoop-FS" target="_blank"&gt;https://discuss.pivotal.io/hc/en-us/articles/202210763-The-Secure-HDFS-Error-No-valid-credentials-provided-Displays-when-Running-HDFS-DFS-or-Hadoop-FS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope it help in solving your issue.&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2017 02:33:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-while-doing-distcp-with-two-secure-cluster/m-p/226256#M60857</guid>
      <dc:creator>balavignesh_nag</dc:creator>
      <dc:date>2017-05-11T02:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while doing distcp with two secure cluster.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-while-doing-distcp-with-two-secure-cluster/m-p/226257#M60858</link>
      <description>&lt;P&gt;@Bala Vignesh N V&lt;/P&gt;&lt;P&gt;I have found the acurate issue. Issue was kerberos cross realm. I have configured cross realm:-&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/18686/kerberos-cross-realm-trust-for-distcp.html" target="_blank"&gt;https://community.hortonworks.com/articles/18686/kerberos-cross-realm-trust-for-distcp.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2017 18:30:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-while-doing-distcp-with-two-secure-cluster/m-p/226257#M60858</guid>
      <dc:creator>ashneesharma88</dc:creator>
      <dc:date>2017-05-11T18:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while doing distcp with two secure cluster.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-while-doing-distcp-with-two-secure-cluster/m-p/226258#M60859</link>
      <description>&lt;P&gt;@Ashnee Sharma&lt;/P&gt;&lt;P&gt;Good article. Thanks for sharing!&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2017 19:23:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-while-doing-distcp-with-two-secure-cluster/m-p/226258#M60859</guid>
      <dc:creator>balavignesh_nag</dc:creator>
      <dc:date>2017-05-11T19:23:50Z</dc:date>
    </item>
  </channel>
</rss>

