Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11750

distcp fails if we copy data from swift to secure HDFS

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 2.3.0, 3.0.0-alpha1
    • Fix Version/s: None
    • Component/s: fs/swift
    • Labels:
      None

      Description

      ERROR tools.DistCp: Exception encountered
      java.lang.IllegalArgumentException: java.net.UnknownHostException: babynames.main
      at org.apache.hadoop.security.SecurityUtil.buildTokenService(SecurityUtil.java:373)
      at org.apache.hadoop.security.SecurityUtil.buildDTServiceName(SecurityUtil.java:258)
      at org.apache.hadoop.fs.FileSystem.getCanonicalServiceName(FileSystem.java:301)
      at org.apache.hadoop.fs.FileSystem.collectDelegationTokens(FileSystem.java:523)
      at org.apache.hadoop.fs.FileSystem.addDelegationTokens(FileSystem.java:507)
      at org.apache.hadoop.mapreduce.security.TokenCache.obtainTokensForNamenodesInternal(TokenCache.java:121)
      at org.apache.hadoop.mapreduce.security.TokenCache.obtainTokensForNamenodesInternal(TokenCache.java:100)
      at org.apache.hadoop.mapreduce.security.TokenCache.obtainTokensForNamenodes(TokenCache.java:80)
      at org.apache.hadoop.tools.SimpleCopyListing.validatePaths(SimpleCopyListing.java:133)
      at org.apache.hadoop.tools.CopyListing.buildListing(CopyListing.java:83)
      at org.apache.hadoop.tools.GlobbedCopyListing.doBuildListing(GlobbedCopyListing.java:90)
      at org.apache.hadoop.tools.CopyListing.buildListing(CopyListing.java:84)
      at org.apache.hadoop.tools.DistCp.createInputFileListing(DistCp.java:353)
      at org.apache.hadoop.tools.DistCp.execute(DistCp.java:160)
      at org.apache.hadoop.tools.DistCp.run(DistCp.java:121)
      at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
      at org.apache.hadoop.tools.DistCp.main(DistCp.java:401)
      Caused by: java.net.UnknownHostException: babynames.main
      ... 17 more

        Attachments

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment