FAQ
Directory/file cleanup thread throws IllegalStateException
----------------------------------------------------------

Key: HADOOP-5483
URL: https://issues.apache.org/jira/browse/HADOOP-5483
Project: Hadoop Core
Issue Type: Bug
Components: dfs
Reporter: Hairong Kuang


TestMiniMRWithDFS prints the following error message on screen:
[junit] Exception in thread "Directory/File cleanup thread" java.lang.IllegalStateException: Shutdown in progress
[junit] at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:39)
[junit] at java.lang.Runtime.addShutdownHook(Runtime.java:192)
[junit] at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1361)
[junit] at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:185)
[junit] at org.apache.hadoop.fs.Path.getFileSystem(Path.java:175)
[junit] at org.apache.hadoop.mapred.CleanupQueue$PathCleanupThread.run(CleanupQueue.java

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Search Discussions

  • Tsz Wo (Nicholas), SZE (JIRA) at Mar 14, 2009 at 12:29 am
    [ https://issues.apache.org/jira/browse/HADOOP-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Tsz Wo (Nicholas), SZE updated HADOOP-5483:
    -------------------------------------------

    Component/s: (was: dfs)
    mapred

    HADOOP-5285 was committed to 0.19. Not sure whether this should be a blocker.
    Directory/file cleanup thread throws IllegalStateException
    ----------------------------------------------------------

    Key: HADOOP-5483
    URL: https://issues.apache.org/jira/browse/HADOOP-5483
    Project: Hadoop Core
    Issue Type: Bug
    Components: mapred
    Reporter: Hairong Kuang

    TestMiniMRWithDFS prints the following error message on screen:
    [junit] Exception in thread "Directory/File cleanup thread" java.lang.IllegalStateException: Shutdown in progress
    [junit] at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:39)
    [junit] at java.lang.Runtime.addShutdownHook(Runtime.java:192)
    [junit] at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1361)
    [junit] at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:185)
    [junit] at org.apache.hadoop.fs.Path.getFileSystem(Path.java:175)
    [junit] at org.apache.hadoop.mapred.CleanupQueue$PathCleanupThread.run(CleanupQueue.java
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Devaraj Das (JIRA) at Mar 15, 2009 at 2:31 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Devaraj Das updated HADOOP-5483:
    --------------------------------

    Attachment: 5483.1.patch

    Here is a straightforward patch, where the cleanup thread catches Exception and ignores it.
    Directory/file cleanup thread throws IllegalStateException
    ----------------------------------------------------------

    Key: HADOOP-5483
    URL: https://issues.apache.org/jira/browse/HADOOP-5483
    Project: Hadoop Core
    Issue Type: Bug
    Components: mapred
    Reporter: Hairong Kuang
    Attachments: 5483.1.patch


    TestMiniMRWithDFS prints the following error message on screen:
    [junit] Exception in thread "Directory/File cleanup thread" java.lang.IllegalStateException: Shutdown in progress
    [junit] at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:39)
    [junit] at java.lang.Runtime.addShutdownHook(Runtime.java:192)
    [junit] at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1361)
    [junit] at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:185)
    [junit] at org.apache.hadoop.fs.Path.getFileSystem(Path.java:175)
    [junit] at org.apache.hadoop.mapred.CleanupQueue$PathCleanupThread.run(CleanupQueue.java
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Devaraj Das (JIRA) at Mar 15, 2009 at 2:33 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Devaraj Das updated HADOOP-5483:
    --------------------------------

    Fix Version/s: 0.20.0
    Affects Version/s: 0.20.0
    Status: Patch Available (was: Open)
    Directory/file cleanup thread throws IllegalStateException
    ----------------------------------------------------------

    Key: HADOOP-5483
    URL: https://issues.apache.org/jira/browse/HADOOP-5483
    Project: Hadoop Core
    Issue Type: Bug
    Components: mapred
    Affects Versions: 0.20.0
    Reporter: Hairong Kuang
    Fix For: 0.20.0

    Attachments: 5483.1.patch


    TestMiniMRWithDFS prints the following error message on screen:
    [junit] Exception in thread "Directory/File cleanup thread" java.lang.IllegalStateException: Shutdown in progress
    [junit] at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:39)
    [junit] at java.lang.Runtime.addShutdownHook(Runtime.java:192)
    [junit] at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1361)
    [junit] at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:185)
    [junit] at org.apache.hadoop.fs.Path.getFileSystem(Path.java:175)
    [junit] at org.apache.hadoop.mapred.CleanupQueue$PathCleanupThread.run(CleanupQueue.java
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hadoop QA (JIRA) at Mar 15, 2009 at 6:55 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682165#action_12682165 ]

    Hadoop QA commented on HADOOP-5483:
    -----------------------------------

    -1 overall. Here are the results of testing the latest attachment
    http://issues.apache.org/jira/secure/attachment/12402217/5483.1.patch
    against trunk revision 754645.

    +1 @author. The patch does not contain any @author tags.

    -1 tests included. The patch doesn't appear to include any new or modified tests.
    Please justify why no tests are needed for this patch.

    +1 javadoc. The javadoc tool did not generate any warning messages.

    +1 javac. The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs. The patch does not introduce any new Findbugs warnings.

    +1 Eclipse classpath. The patch retains Eclipse classpath integrity.

    +1 release audit. The applied patch does not increase the total number of release audit warnings.

    -1 core tests. The patch failed core unit tests.

    +1 contrib tests. The patch passed contrib unit tests.

    Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/89/testReport/
    Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/89/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
    Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/89/artifact/trunk/build/test/checkstyle-errors.html
    Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/89/console

    This message is automatically generated.
    Directory/file cleanup thread throws IllegalStateException
    ----------------------------------------------------------

    Key: HADOOP-5483
    URL: https://issues.apache.org/jira/browse/HADOOP-5483
    Project: Hadoop Core
    Issue Type: Bug
    Components: mapred
    Affects Versions: 0.20.0
    Reporter: Hairong Kuang
    Fix For: 0.20.0

    Attachments: 5483.1.patch


    TestMiniMRWithDFS prints the following error message on screen:
    [junit] Exception in thread "Directory/File cleanup thread" java.lang.IllegalStateException: Shutdown in progress
    [junit] at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:39)
    [junit] at java.lang.Runtime.addShutdownHook(Runtime.java:192)
    [junit] at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1361)
    [junit] at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:185)
    [junit] at org.apache.hadoop.fs.Path.getFileSystem(Path.java:175)
    [junit] at org.apache.hadoop.mapred.CleanupQueue$PathCleanupThread.run(CleanupQueue.java
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Amareshwari Sriramadasu (JIRA) at Mar 16, 2009 at 5:06 am
    [ https://issues.apache.org/jira/browse/HADOOP-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682221#action_12682221 ]

    Amareshwari Sriramadasu commented on HADOOP-5483:
    -------------------------------------------------

    Patch looks fine
    Directory/file cleanup thread throws IllegalStateException
    ----------------------------------------------------------

    Key: HADOOP-5483
    URL: https://issues.apache.org/jira/browse/HADOOP-5483
    Project: Hadoop Core
    Issue Type: Bug
    Components: mapred
    Affects Versions: 0.20.0
    Reporter: Hairong Kuang
    Fix For: 0.20.0

    Attachments: 5483.1.patch


    TestMiniMRWithDFS prints the following error message on screen:
    [junit] Exception in thread "Directory/File cleanup thread" java.lang.IllegalStateException: Shutdown in progress
    [junit] at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:39)
    [junit] at java.lang.Runtime.addShutdownHook(Runtime.java:192)
    [junit] at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1361)
    [junit] at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:185)
    [junit] at org.apache.hadoop.fs.Path.getFileSystem(Path.java:175)
    [junit] at org.apache.hadoop.mapred.CleanupQueue$PathCleanupThread.run(CleanupQueue.java
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Devaraj Das (JIRA) at Mar 17, 2009 at 12:55 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Devaraj Das updated HADOOP-5483:
    --------------------------------

    Resolution: Fixed
    Hadoop Flags: [Reviewed]
    Status: Resolved (was: Patch Available)

    I just committed this.
    Directory/file cleanup thread throws IllegalStateException
    ----------------------------------------------------------

    Key: HADOOP-5483
    URL: https://issues.apache.org/jira/browse/HADOOP-5483
    Project: Hadoop Core
    Issue Type: Bug
    Components: mapred
    Affects Versions: 0.20.0
    Reporter: Hairong Kuang
    Fix For: 0.20.0

    Attachments: 5483.1.patch


    TestMiniMRWithDFS prints the following error message on screen:
    [junit] Exception in thread "Directory/File cleanup thread" java.lang.IllegalStateException: Shutdown in progress
    [junit] at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:39)
    [junit] at java.lang.Runtime.addShutdownHook(Runtime.java:192)
    [junit] at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1361)
    [junit] at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:185)
    [junit] at org.apache.hadoop.fs.Path.getFileSystem(Path.java:175)
    [junit] at org.apache.hadoop.mapred.CleanupQueue$PathCleanupThread.run(CleanupQueue.java
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hudson (JIRA) at Mar 18, 2009 at 5:22 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12683091#action_12683091 ]

    Hudson commented on HADOOP-5483:
    --------------------------------

    Integrated in Hadoop-trunk #783 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/783/])

    Directory/file cleanup thread throws IllegalStateException
    ----------------------------------------------------------

    Key: HADOOP-5483
    URL: https://issues.apache.org/jira/browse/HADOOP-5483
    Project: Hadoop Core
    Issue Type: Bug
    Components: mapred
    Affects Versions: 0.20.0
    Reporter: Hairong Kuang
    Fix For: 0.20.0

    Attachments: 5483.1.patch


    TestMiniMRWithDFS prints the following error message on screen:
    [junit] Exception in thread "Directory/File cleanup thread" java.lang.IllegalStateException: Shutdown in progress
    [junit] at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:39)
    [junit] at java.lang.Runtime.addShutdownHook(Runtime.java:192)
    [junit] at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1361)
    [junit] at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:185)
    [junit] at org.apache.hadoop.fs.Path.getFileSystem(Path.java:175)
    [junit] at org.apache.hadoop.mapred.CleanupQueue$PathCleanupThread.run(CleanupQueue.java
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedMar 13, '09 at 12:07a
activeMar 18, '09 at 5:22p
posts8
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Hudson (JIRA): 8 posts

People

Translate

site design / logo © 2022 Grokbase