Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AE404109B3 for ; Fri, 7 Jun 2013 22:46:21 +0000 (UTC) Received: (qmail 38641 invoked by uid 500); 7 Jun 2013 22:46:20 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 38506 invoked by uid 500); 7 Jun 2013 22:46:20 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 38290 invoked by uid 99); 7 Jun 2013 22:46:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jun 2013 22:46:20 +0000 Date: Fri, 7 Jun 2013 22:46:20 +0000 (UTC) From: "Suresh Srinivas (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HDFS-4896) dfs - webhdfs:// gives IllegalStateException for secure cluster MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-4896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Suresh Srinivas resolved HDFS-4896. ----------------------------------- Resolution: Duplicate Resolving this as duplicate of HDFS-4841. > dfs - webhdfs:// gives IllegalStateException for secure cluster > ------------------------------------------------------------------------ > > Key: HDFS-4896 > URL: https://issues.apache.org/jira/browse/HDFS-4896 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.1.0-beta > Reporter: yeshavora > Fix For: 2.1.0-beta > > > 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) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira