Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-4896

dfs -<command> webhdfs:// gives IllegalStateException for secure cluster

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Duplicate
    • Affects Version/s: 2.1.0-beta
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Running:
      hadoop dfs -copyToLocal webhdfs://node1:port1/File1 /tmp/File1
      13/06/07 21:54:58 WARN util.ShutdownHookManager: ShutdownHook 'ClientFinalizer' failed, java.lang.IllegalStateException: Shutdown in progress, cannot add a shutdownHook
      java.lang.IllegalStateException: Shutdown in progress, cannot add a shutdownHook
      at org.apache.hadoop.util.ShutdownHookManager.addShutdownHook(ShutdownHookManager.java:152)
      at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2401)
      at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2373)
      at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:352)
      at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$DtRenewer.getWebHdfs(WebHdfsFileSystem.java:1003)
      at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$DtRenewer.cancel(WebHdfsFileSystem.java:1015)
      at org.apache.hadoop.security.token.Token.cancel(Token.java:382)
      at org.apache.hadoop.fs.DelegationTokenRenewer$RenewAction.cancel(DelegationTokenRenewer.java:152)
      at org.apache.hadoop.fs.DelegationTokenRenewer$RenewAction.access$200(DelegationTokenRenewer.java:58)
      at org.apache.hadoop.fs.DelegationTokenRenewer.removeRenewAction(DelegationTokenRenewer.java:241)
      at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.close(WebHdfsFileSystem.java:824)
      at org.apache.hadoop.fs.FileSystem$Cache.closeAll(FileSystem.java:2447)
      at org.apache.hadoop.fs.FileSystem$Cache$ClientFinalizer.run(FileSystem.java:2464)
      at org.apache.hadoop.util.ShutdownHookManager$1.run(ShutdownHookManager.java:54)

        Activity

        Hide
        Stephen Chu added a comment -

        Same problem as HDFS-4841.

        Show
        Stephen Chu added a comment - Same problem as HDFS-4841 .
        Hide
        Suresh Srinivas added a comment -

        Resolving this as duplicate of HDFS-4841.

        Show
        Suresh Srinivas added a comment - Resolving this as duplicate of HDFS-4841 .

          People

          • Assignee:
            Unassigned
            Reporter:
            Yesha Vora
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development