[ https://issues.apache.org/jira/browse/HADOOP-10016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13786485#comment-13786485 ]
Haohui Mai commented on HADOOP-10016: ------------------------------------- On a insecure cluster, getDelegationToken returns IOException: {noformat} $ curl http://localhost:50070/webhdfs/v1/?op=GETDELEGATIONTOKEN {"RemoteException":{"exception":"IOException","javaClassName":"java.io.IOException","message":"Failed to get the token for dr.who, user=dr.who"}} {noformat} which eventually fails this job. I agree the fact that returning null is not a valid part of the contract of getDelegationToken(), but there are multiple bugs in the code right now that hinder distcp running successfully. > Distcp should support copy from a secure Hadoop 1 cluster to an insecure > Hadoop 2 cluster > ----------------------------------------------------------------------------------------- > > Key: HADOOP-10016 > URL: https://issues.apache.org/jira/browse/HADOOP-10016 > Project: Hadoop Common > Issue Type: Sub-task > Reporter: Haohui Mai > Assignee: Haohui Mai > > Distcp should be able to copy from a secure cluster to an insecure cluster. > This functionality is important for operators to migrate data to a new Hadoop > installation. -- This message was sent by Atlassian JIRA (v6.1#6144)