You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2009/12/21 04:18:18 UTC

[jira] Created: (HADOOP-6461) webapps aren't located correctly post-split

webapps aren't located correctly post-split
-------------------------------------------

                 Key: HADOOP-6461
                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
             Project: Hadoop Common
          Issue Type: Bug
    Affects Versions: 0.21.0, 0.22.0
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon


Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HADOOP-6461:
--------------------------------

    Assignee: Steve Loughran  (was: Todd Lipcon)
      Status: Open  (was: Patch Available)

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>             Fix For: 0.22.0
>
>         Attachments: hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran updated HADOOP-6461:
-----------------------------------

    Status: Open  (was: Patch Available)

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6461.patch, HADOOP-6461.patch, HADOOP-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, HADOOP-6461.txt, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran updated HADOOP-6461:
-----------------------------------

    Fix Version/s: 0.22.0
           Status: Patch Available  (was: Open)

This patch is against head
# throws FileNotFoundException if the file is not there. This makes it easy to distinguish failure from missing file from other failures
# Has a test that this fails if passed in a nonexistent webapp
# Contains a refactoring of the HttpServer functional tests with a shared base class and a move of all the tests to JUnit4 test cases. This means that test webapps are now created in one class, for easier maintenance.

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>         Attachments: hadoop-6461.patch, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Commented: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804290#action_12804290 ] 

Hadoop QA commented on HADOOP-6461:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12431252/hadoop-6461.patch
  against trunk revision 901924.

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

    +1 tests included.  The patch appears to include 19 new or modified tests.

    +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 release audit.  The applied patch generated 2 release audit warnings (more than the trunk's current 1 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-h1.grid.sp2.yahoo.net/38/testReport/
Release audit warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h1.grid.sp2.yahoo.net/38/artifact/trunk/patchprocess/releaseAuditDiffWarnings.txt
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h1.grid.sp2.yahoo.net/38/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h1.grid.sp2.yahoo.net/38/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h1.grid.sp2.yahoo.net/38/console

This message is automatically generated.

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>         Attachments: hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Tom White (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated HADOOP-6461:
------------------------------

    Attachment: HADOOP-6461.patch

+1

With this fix (updated to apply to trunk) the daemons' web UIs work correctly. I tested in conjunction with HADOOP-6794 and related JIRAs.

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>            Priority: Blocker
>             Fix For: 0.21.0, 0.22.0
>
>         Attachments: HADOOP-6461.patch, HADOOP-6461.patch, HADOOP-6461.patch, HADOOP-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, HADOOP-6461.txt, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran updated HADOOP-6461:
-----------------------------------

    Attachment: hadoop-6461.patch

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hadoop-6461.patch, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Tom White (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated HADOOP-6461:
------------------------------

    Status: Patch Available  (was: Open)

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>            Priority: Blocker
>             Fix For: 0.21.0, 0.22.0
>
>         Attachments: HADOOP-6461.patch, HADOOP-6461.patch, HADOOP-6461.patch, HADOOP-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, HADOOP-6461.txt, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Commented: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793070#action_12793070 ] 

Hadoop QA commented on HADOOP-6461:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12428593/hadoop-6461.txt
  against trunk revision 892113.

    +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 new tests are needed for this patch.
                        Also please list what manual steps were performed to verify 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 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-h4.grid.sp2.yahoo.net/226/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/226/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/226/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/226/console

This message is automatically generated.

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran updated HADOOP-6461:
-----------------------------------

    Status: Patch Available  (was: Open)

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>         Attachments: hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Commented: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805439#action_12805439 ] 

Steve Loughran commented on HADOOP-6461:
----------------------------------------

Sorry, the IDE did that and then hid the header. Explains RAT :)

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>             Fix For: 0.22.0
>
>         Attachments: hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Tom White (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated HADOOP-6461:
------------------------------

    Status: Open  (was: Patch Available)

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>            Priority: Blocker
>             Fix For: 0.21.0, 0.22.0
>
>         Attachments: HADOOP-6461.patch, HADOOP-6461.patch, HADOOP-6461.patch, HADOOP-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, HADOOP-6461.txt, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran updated HADOOP-6461:
-----------------------------------

    Status: Open  (was: Patch Available)

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hadoop-6461.patch, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran updated HADOOP-6461:
-----------------------------------

       Priority: Blocker  (was: Major)
    Component/s: util

uprating the severity as without this the webapps may not work, it all depends on the classpath order.

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>            Priority: Blocker
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6461.patch, HADOOP-6461.patch, HADOOP-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, HADOOP-6461.txt, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Commented: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804722#action_12804722 ] 

Steve Loughran commented on HADOOP-6461:
----------------------------------------

RAT is complaining about HttpServerFunctionalTest, though it doesn't provide the specifics. I will take a look

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>         Attachments: hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HADOOP-6461:
--------------------------------

    Status: Patch Available  (was: Open)

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Commented: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804289#action_12804289 ] 

Hadoop QA commented on HADOOP-6461:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12431251/hadoop-6461.patch
  against trunk revision 901924.

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

    +1 tests included.  The patch appears to include 19 new or modified tests.

    +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 release audit.  The applied patch generated 2 release audit warnings (more than the trunk's current 1 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-h4.grid.sp2.yahoo.net/287/testReport/
Release audit warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/287/artifact/trunk/patchprocess/releaseAuditDiffWarnings.txt
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/287/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/287/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/287/console

This message is automatically generated.

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>         Attachments: hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran updated HADOOP-6461:
-----------------------------------

    Status: Open  (was: Patch Available)

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>         Attachments: hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Commented: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804329#action_12804329 ] 

Hadoop QA commented on HADOOP-6461:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12431259/hadoop-6461.patch
  against trunk revision 901924.

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

    +1 tests included.  The patch appears to include 19 new or modified tests.

    +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 release audit.  The applied patch generated 2 release audit warnings (more than the trunk's current 1 warnings).

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

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

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/288/testReport/
Release audit warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/288/artifact/trunk/patchprocess/releaseAuditDiffWarnings.txt
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/288/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/288/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/288/console

This message is automatically generated.

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>         Attachments: hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran updated HADOOP-6461:
-----------------------------------

    Attachment: HADOOP-6461.patch

in sync w/ HEAD.

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6461.patch, HADOOP-6461.patch, HADOOP-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, HADOOP-6461.txt, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HADOOP-6461:
--------------------------------

    Attachment: hadoop-6461.txt

Patch change getWebAppsPath to look specifically for webapps/<appname>.

I tested this from within my build trees (pointed my hdfs checkout as HADOOP_HDFS_HOME). Before the patch, the NN web UI didn't load. With the patch, it works correctly. Since this is a cross-component issue, not sure how to correctly unit test it, but it's quite obvious to verify manually.

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran updated HADOOP-6461:
-----------------------------------

    Status: Patch Available  (was: Open)

updated patch, no new functionality

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>         Attachments: hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Commented: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847384#action_12847384 ] 

Hadoop QA commented on HADOOP-6461:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12439275/HADOOP-6461.patch
  against trunk revision 923619.

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

    +1 tests included.  The patch appears to include 19 new or modified tests.

    +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 release audit.  The applied patch does not increase the total number of release audit warnings.

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

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

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/423/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/423/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/423/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/423/console

This message is automatically generated.

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6461.patch, HADOOP-6461.patch, HADOOP-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, HADOOP-6461.txt, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HADOOP-6461:
--------------------------------

    Status: Patch Available  (was: Open)

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran updated HADOOP-6461:
-----------------------------------

    Status: Patch Available  (was: Open)

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6461.patch, HADOOP-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, HADOOP-6461.txt, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran updated HADOOP-6461:
-----------------------------------

    Status: Patch Available  (was: Open)

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran updated HADOOP-6461:
-----------------------------------

    Attachment: hadoop-6461.patch

fix regression in TestHttpServer from the test refactoring. Missed this one. 

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>         Attachments: hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Commented: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Vinod K V (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12874476#action_12874476 ] 

Vinod K V commented on HADOOP-6461:
-----------------------------------

I also verified this manually together with HADOOP-6794 having separate installation directories for the three projects. +1 from correctness POV (didn't review code myself though).

Tom, can you please commit this given Hudson also is okay?

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>            Priority: Blocker
>             Fix For: 0.21.0, 0.22.0
>
>         Attachments: HADOOP-6461.patch, HADOOP-6461.patch, HADOOP-6461.patch, HADOOP-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, HADOOP-6461.txt, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Tom White (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated HADOOP-6461:
------------------------------

           Status: Resolved  (was: Patch Available)
     Hadoop Flags: [Reviewed]
    Fix Version/s:     (was: 0.22.0)
       Resolution: Fixed

I've just committed this. Thanks Todd and Steve!

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6461.patch, HADOOP-6461.patch, HADOOP-6461.patch, HADOOP-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, HADOOP-6461.txt, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HADOOP-6461:
--------------------------------

    Attachment: hadoop-6461.txt

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran updated HADOOP-6461:
-----------------------------------

    Attachment: HADOOP-6461.patch

Patch with the write copyright headers

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HADOOP-6461:
--------------------------------

    Attachment: HADOOP-6461.txt

Steve forgot to use --no-prefix on his diff. Here's the same patch he uploaded in the right format.

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, HADOOP-6461.txt, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Commented: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805334#action_12805334 ] 

Todd Lipcon commented on HADOOP-6461:
-------------------------------------

Steve: looks like you accidentally wrote the HP LGPL header in HttpServerFunctionalTest.

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>         Attachments: hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HADOOP-6461:
--------------------------------

    Status: Open  (was: Patch Available)

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, HADOOP-6461.txt, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Commented: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805964#action_12805964 ] 

Hadoop QA commented on HADOOP-6461:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12431673/HADOOP-6461.patch
  against trunk revision 903560.

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

    +1 tests included.  The patch appears to include 19 new or modified tests.

    -1 patch.  The patch command could not apply the patch.

Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/294/console

This message is automatically generated.

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Commented: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806528#action_12806528 ] 

Hadoop QA commented on HADOOP-6461:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12431818/HADOOP-6461.txt
  against trunk revision 904339.

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

    +1 tests included.  The patch appears to include 19 new or modified tests.

    +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 release audit.  The applied patch does not increase the total number of release audit warnings.

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

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

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/299/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/299/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/299/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/299/console

This message is automatically generated.

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, HADOOP-6461.txt, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Commented: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875016#action_12875016 ] 

Hudson commented on HADOOP-6461:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #274 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk-Commit/274/])
    HADOOP-6461.  Webapps aren't located correctly post-split.  Contributed by Todd Lipcon and Steve Loughran.


> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6461.patch, HADOOP-6461.patch, HADOOP-6461.patch, HADOOP-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, HADOOP-6461.txt, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran updated HADOOP-6461:
-----------------------------------

    Attachment: HADOOP-6461.patch

patch in sync w/ SVN_HEAD

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6461.patch, HADOOP-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, HADOOP-6461.txt, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran updated HADOOP-6461:
-----------------------------------

    Attachment: hadoop-6461.patch

updated patch which removed the classname qualification of static methods in the new superclass.

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>         Attachments: hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Commented: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833676#action_12833676 ] 

Hadoop QA commented on HADOOP-6461:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12435706/HADOOP-6461.patch
  against trunk revision 909806.

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

    +1 tests included.  The patch appears to include 19 new or modified tests.

    +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 release audit.  The applied patch does not increase the total number of release audit warnings.

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

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

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h1.grid.sp2.yahoo.net/3/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h1.grid.sp2.yahoo.net/3/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h1.grid.sp2.yahoo.net/3/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h1.grid.sp2.yahoo.net/3/console

This message is automatically generated.

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6461.patch, HADOOP-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, HADOOP-6461.txt, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Commented: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12874429#action_12874429 ] 

Hadoop QA commented on HADOOP-6461:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12446101/HADOOP-6461.patch
  against trunk revision 950309.

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

    +1 tests included.  The patch appears to include 24 new or modified tests.

    +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 release audit.  The applied patch does not increase the total number of release audit warnings.

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

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

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/558/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/558/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/558/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/558/console

This message is automatically generated.

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>            Priority: Blocker
>             Fix For: 0.21.0, 0.22.0
>
>         Attachments: HADOOP-6461.patch, HADOOP-6461.patch, HADOOP-6461.patch, HADOOP-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, HADOOP-6461.txt, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HADOOP-6461:
--------------------------------

    Status: Open  (was: Patch Available)

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Commented: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875061#action_12875061 ] 

Hudson commented on HADOOP-6461:
--------------------------------

Integrated in Hadoop-Common-trunk #355 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk/355/])
    HADOOP-6461.  Webapps aren't located correctly post-split.  Contributed by Todd Lipcon and Steve Loughran.


> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6461.patch, HADOOP-6461.patch, HADOOP-6461.patch, HADOOP-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, HADOOP-6461.txt, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Commented: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12802325#action_12802325 ] 

Steve Loughran commented on HADOOP-6461:
----------------------------------------

I might be seeing this, though its confusing because embedded use can be a bit quirky.

# the changes to the test global filter should be enough to test the method working, as that testServletFilter() test would now fail if there isn't a webapps/test resource
# need one more test that triest to create an HttpServer instance for which there isn't a name, check that the right exception got thrown.
# This would be aided if the getWebappsPath(String) method threw a FileNotFoundException when the file was missing; It is technically a missing file, and the proposed test would be able to look for that exception only (any other IOE would be a failure of the test)



> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran updated HADOOP-6461:
-----------------------------------

    Status: Open  (was: Patch Available)

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6461.patch, HADOOP-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, HADOOP-6461.txt, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Commented: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800611#action_12800611 ] 

Hadoop QA commented on HADOOP-6461:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12430372/hadoop-6461.txt
  against trunk revision 898740.

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

    +1 tests included.  The patch appears to include 4 new or modified tests.

    +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 release audit.  The applied patch does not increase the total number of release audit warnings.

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

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

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/276/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/276/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/276/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/276/console

This message is automatically generated.

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HADOOP-6461:
--------------------------------

    Status: Patch Available  (was: Open)

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, HADOOP-6461.txt, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran updated HADOOP-6461:
-----------------------------------

    Status: Open  (was: Patch Available)

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>         Attachments: hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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


[jira] Updated: (HADOOP-6461) webapps aren't located correctly post-split

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran updated HADOOP-6461:
-----------------------------------

    Status: Patch Available  (was: Open)

> webapps aren't located correctly post-split
> -------------------------------------------
>
>                 Key: HADOOP-6461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Steve Loughran
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6461.patch, HADOOP-6461.patch, HADOOP-6461.patch, hadoop-6461.patch, hadoop-6461.patch, hadoop-6461.patch, HADOOP-6461.txt, hadoop-6461.txt, hadoop-6461.txt
>
>
> Post-split, when one builds common it creates an empty build/webapps dir. If you then try to launch the NN for example using HADOOP_HDFS_HOME=/path/to/hdfs hdfs namenode, HttpServer.getWebAppsPath locates the empty common webapps dir, and the NN web UI fails to load.

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