<?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: distcp : Can't get Master Kerberos principal for use as renewer in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/distcp-Can-t-get-Master-Kerberos-principal-for-use-as/m-p/41738#M30822</link>
    <description>&lt;P&gt;Hi Harsh&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;&lt;BR /&gt;Yarn gateway was missing and adding them fixed the issue.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jun 2016 09:09:22 GMT</pubDate>
    <dc:creator>AxelJ</dc:creator>
    <dc:date>2016-06-07T09:09:22Z</dc:date>
    <item>
      <title>distcp : Can't get Master Kerberos principal for use as renewer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/distcp-Can-t-get-Master-Kerberos-principal-for-use-as/m-p/41716#M30820</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;We have just install a Kerberized cluster.&lt;BR /&gt;&lt;BR /&gt;I would like to copy data from the former unsecured cluster (opendatarec) to the secured one (opendata) using distcp.&lt;BR /&gt;&lt;BR /&gt;I run the following command on the secured cluster :&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;[hdfs@opendatafr01f ~]$ hadoop distcp webhdfs://opendatarecm01f.bi3.local:50070/toto webhdfs://opendatam01f.bi3.local:50070/tmp/&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and get the following error :&lt;BR /&gt;&lt;BR /&gt;mp/&lt;BR /&gt;16/06/06 17:46:55 INFO tools.DistCp: Input Options: DistCpOptions{atomicCommit=false, syncFolder=false, deleteMissing=false, ignoreFailures=false, maxMaps=20, sslConfigurationFile='null', copyStrategy='uniformsize', sourceFileListing=null, sourcePaths=[webhdfs://opendatarecm01f.bi3.local:50070/toto], targetPath=webhdfs://opendatam01f.bi3.local:50070/tmp, targetPathExists=true, preserveRawXattrs=false, filtersFile='null'}&lt;BR /&gt;16/06/06 17:46:55 INFO Configuration.deprecation: session.id is deprecated. Instead, use dfs.metrics.session-id&lt;BR /&gt;16/06/06 17:46:55 INFO jvm.JvmMetrics: Initializing JVM Metrics with processName=JobTracker, sessionId=&lt;BR /&gt;16/06/06 17:46:55 ERROR tools.DistCp: Exception encountered&lt;BR /&gt;&lt;STRONG&gt;java.io.IOException: Can't get Master Kerberos principal for use as renewer&lt;/STRONG&gt;&lt;BR /&gt;at org.apache.hadoop.mapreduce.security.TokenCache.obtainTokensForNamenodesInternal(TokenCache.java:133)&lt;BR /&gt;at org.apache.hadoop.mapreduce.security.TokenCache.obtainTokensForNamenodesInternal(TokenCache.java:100)&lt;BR /&gt;at org.apache.hadoop.mapreduce.security.TokenCache.obtainTokensForNamenodes(TokenCache.java:80)&lt;BR /&gt;at org.apache.hadoop.tools.SimpleCopyListing.validatePaths(SimpleCopyListing.java:164)&lt;BR /&gt;at org.apache.hadoop.tools.CopyListing.buildListing(CopyListing.java:85)&lt;BR /&gt;at org.apache.hadoop.tools.GlobbedCopyListing.doBuildListing(GlobbedCopyListing.java:90)&lt;BR /&gt;at org.apache.hadoop.tools.CopyListing.buildListing(CopyListing.java:86)&lt;BR /&gt;at org.apache.hadoop.tools.DistCp.createInputFileListing(DistCp.java:372)&lt;BR /&gt;at org.apache.hadoop.tools.DistCp.execute(DistCp.java:172)&lt;BR /&gt;at org.apache.hadoop.tools.DistCp.run(DistCp.java:123)&lt;BR /&gt;at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)&lt;BR /&gt;at org.apache.hadoop.tools.DistCp.main(DistCp.java:436)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestion ?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:23:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/distcp-Can-t-get-Master-Kerberos-principal-for-use-as/m-p/41716#M30820</guid>
      <dc:creator>AxelJ</dc:creator>
      <dc:date>2022-09-16T10:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: distcp : Can't get Master Kerberos principal for use as renewer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/distcp-Can-t-get-Master-Kerberos-principal-for-use-as/m-p/41717#M30821</link>
      <description>On the host where you are invoking this command, do you have proper client&lt;BR /&gt;configs (gateway roles if you use CM) properly deployed?&lt;BR /&gt;&lt;BR /&gt;Please also look at our DistCp matrix to learn how/where to invoke the&lt;BR /&gt;DIstCp command depending on your situation:&lt;BR /&gt;&lt;A href="http://www.cloudera.com/documentation/enterprise/latest/topics/cdh_admin_distcp_data_cluster_migrate.html#concept_hfx_tqr_rp_section" target="_blank"&gt;http://www.cloudera.com/documentation/enterprise/latest/topics/cdh_admin_distcp_data_cluster_migrate.html#concept_hfx_tqr_rp_section&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Jun 2016 16:22:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/distcp-Can-t-get-Master-Kerberos-principal-for-use-as/m-p/41717#M30821</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2016-06-06T16:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: distcp : Can't get Master Kerberos principal for use as renewer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/distcp-Can-t-get-Master-Kerberos-principal-for-use-as/m-p/41738#M30822</link>
      <description>&lt;P&gt;Hi Harsh&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;&lt;BR /&gt;Yarn gateway was missing and adding them fixed the issue.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 09:09:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/distcp-Can-t-get-Master-Kerberos-principal-for-use-as/m-p/41738#M30822</guid>
      <dc:creator>AxelJ</dc:creator>
      <dc:date>2016-06-07T09:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: distcp : Can't get Master Kerberos principal for use as renewer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/distcp-Can-t-get-Master-Kerberos-principal-for-use-as/m-p/41775#M30823</link>
      <description>Glad to hear &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/16885"&gt;@AxelJ&lt;/a&gt;! Feel free to mark the thread resolved so its easier for others with similar problems to locate your solution.</description>
      <pubDate>Wed, 08 Jun 2016 04:27:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/distcp-Can-t-get-Master-Kerberos-principal-for-use-as/m-p/41775#M30823</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2016-06-08T04:27:22Z</dc:date>
    </item>
  </channel>
</rss>

