My Oracle Support Banner

The Hadoop distcp Command Fails with: "No service creds" when Replicating Data between Two Secure BDA V4.0 Clusters (Doc ID 1988004.1)

Last updated on JANUARY 05, 2017

Applies to:

Big Data Appliance Integrated Software - Version 4.0 and later
Linux x86-64

Symptoms


distcp fails to replicate data between two Kerberized clusters.  It fails with:

$ hadoop distcp hdfs://clust1node01.example.com:8020/user/<user1>/data/pos/prod_extrn_id hdfs://clust2node02.example.com:8020/user/<user2>/
 
15/01/28 05:15:00 WARN security.UserGroupInformation: PriviledgedActionException as:<testuser>@EXAMPLE2.COM
   (auth:KERBEROS) cause:javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException:
   No valid credentials provided (Mechanism level: Fail to create credential. (63) - No service creds)]
15/01/28 05:15:01 WARN ipc.Client: Couldn't setup connection for <testuser>@EXAMPLE2.COM to clust1node01.example.com/*.*.*.*:8020
15/01/28 05:15:01 WARN security.UserGroupInformation: PriviledgedActionException as:<testuser>@EXAMPLE2.COM (auth:KERBEROS)
   cause:java.io.IOException: Couldn't setup connection for <testuser>@EXAMPLE2.COM
   to clust1node01.example.com/*.*.*.*:8020
15/01/28 05:15:01 ERROR tools.DistCp: Exception encountered
java.io.IOException: Failed on local exception: java.io.IOException: Couldn't setup connection for
  <testuser>@EXAMPLE2.COM to clust1node01.example.com/*.*.*.*:8020;
...

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.