You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Lohit Vijayarenu (JIRA)" <ji...@apache.org> on 2008/07/10 19:18:31 UTC

[jira] Created: (HADOOP-3741) SecondaryNameNode has http server on dfs.secondary.http.address but without any contents

SecondaryNameNode has http server on dfs.secondary.http.address but without any contents
----------------------------------------------------------------------------------------

                 Key: HADOOP-3741
                 URL: https://issues.apache.org/jira/browse/HADOOP-3741
             Project: Hadoop Core
          Issue Type: New Feature
          Components: dfs
    Affects Versions: 0.19.0
            Reporter: Lohit Vijayarenu


SecondaryNameNode has http server on dfs.secondary.http.address but does not have any information on it. It could publish useful information about NameNode it is talking to, checkpoints, the current configured checkpoint interval and checkpoint size and also configured directories.

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


[jira] Updated: (HADOOP-3741) SecondaryNameNode has http server on dfs.secondary.http.address but without any contents

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I committed this.

> SecondaryNameNode has http server on dfs.secondary.http.address but without any contents
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-3741
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3741
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: dfs
>    Affects Versions: 0.19.0
>            Reporter: Lohit Vijayarenu
>            Assignee: Tsz Wo (Nicholas), SZE
>             Fix For: 0.21.0
>
>         Attachments: 3741_20090206.patch, 3741_20090206b.patch, SecondaryNameNode web ui.jpg
>
>
> SecondaryNameNode has http server on dfs.secondary.http.address but does not have any information on it. It could publish useful information about NameNode it is talking to, checkpoints, the current configured checkpoint interval and checkpoint size and also configured directories.

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


[jira] Commented: (HADOOP-3741) SecondaryNameNode has http server on dfs.secondary.http.address but without any contents

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

Hadoop QA commented on HADOOP-3741:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12399702/3741_20090206b.patch
  against trunk revision 741776.

    +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 appears to introduce 1 new Findbugs warnings.

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

    -1 release audit.  The applied patch generated 823 release audit warnings (more than the trunk's current 820 warnings).

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

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

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3811/testReport/
Release audit warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3811/artifact/trunk/current/releaseAuditDiffWarnings.txt
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3811/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3811/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3811/console

This message is automatically generated.

> SecondaryNameNode has http server on dfs.secondary.http.address but without any contents
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-3741
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3741
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: dfs
>    Affects Versions: 0.19.0
>            Reporter: Lohit Vijayarenu
>            Assignee: Tsz Wo (Nicholas), SZE
>             Fix For: 0.21.0
>
>         Attachments: 3741_20090206.patch, 3741_20090206b.patch, SecondaryNameNode web ui.jpg
>
>
> SecondaryNameNode has http server on dfs.secondary.http.address but does not have any information on it. It could publish useful information about NameNode it is talking to, checkpoints, the current configured checkpoint interval and checkpoint size and also configured directories.

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


[jira] Commented: (HADOOP-3741) SecondaryNameNode has http server on dfs.secondary.http.address but without any contents

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

Hudson commented on HADOOP-3741:
--------------------------------

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

> SecondaryNameNode has http server on dfs.secondary.http.address but without any contents
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-3741
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3741
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: dfs
>    Affects Versions: 0.19.0
>            Reporter: Lohit Vijayarenu
>            Assignee: Tsz Wo (Nicholas), SZE
>             Fix For: 0.21.0
>
>         Attachments: 3741_20090206.patch, 3741_20090206b.patch, SecondaryNameNode web ui.jpg
>
>
> SecondaryNameNode has http server on dfs.secondary.http.address but does not have any information on it. It could publish useful information about NameNode it is talking to, checkpoints, the current configured checkpoint interval and checkpoint size and also configured directories.

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


Why we don't have license headers in the html and jsp files?

Posted by "Tsz Wo (Nicholas), Sze" <s2...@yahoo.com>.
Is it done on purpose or by mistake?  I am adding a new web ui to the secondary namenode (see the forward message).  Not sure why license headers are missing in most of our html and jsp files.

Nicholas




----- Original Message ----
> From: "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>
> To: core-dev@hadoop.apache.org
> Sent: Monday, February 9, 2009 10:43:02 AM
> Subject: [jira] Commented: (HADOOP-3741) SecondaryNameNode has http server on dfs.secondary.http.address but without any contents
> 
> 
>     [ 
> https://issues.apache.org/jira/browse/HADOOP-3741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671956#action_12671956 
> ] 
> 
> Tsz Wo (Nicholas), SZE commented on HADOOP-3741:
> ------------------------------------------------
> 
> >> release audit: License header is not added to html and jsp files. It is 
> consistent with our approach.
> >
> > I don't think there is any reason why we couldn't add licence headers to html 
> and jsp files. I notice that package.hmtl files have them, as do Chukwa's jsps.
> 
> I agree that we should include license in html and jsp files but I am not sure 
> why we did not do that in the past.  I will raise this question in the 
> hadoop-dev mailing list.
> 
> For this issue, I think we could commit it first.  If there is a need, I will 
> open a new issue for adding the licenses.
> 
> > SecondaryNameNode has http server on dfs.secondary.http.address but without 
> any contents
> > 
> ----------------------------------------------------------------------------------------
> >
> >                 Key: HADOOP-3741
> >                 URL: https://issues.apache.org/jira/browse/HADOOP-3741
> >             Project: Hadoop Core
> >          Issue Type: New Feature
> >          Components: dfs
> >    Affects Versions: 0.19.0
> >            Reporter: Lohit Vijayarenu
> >            Assignee: Tsz Wo (Nicholas), SZE
> >             Fix For: 0.21.0
> >
> >         Attachments: 3741_20090206.patch, 3741_20090206b.patch, 
> SecondaryNameNode web ui.jpg
> >
> >
> > SecondaryNameNode has http server on dfs.secondary.http.address but does not 
> have any information on it. It could publish useful information about NameNode 
> it is talking to, checkpoints, the current configured checkpoint interval and 
> checkpoint size and also configured directories.
> 
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-3741) SecondaryNameNode has http server on dfs.secondary.http.address but without any contents

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671956#action_12671956 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-3741:
------------------------------------------------

>> release audit: License header is not added to html and jsp files. It is consistent with our approach.
>
> I don't think there is any reason why we couldn't add licence headers to html and jsp files. I notice that package.hmtl files have them, as do Chukwa's jsps.

I agree that we should include license in html and jsp files but I am not sure why we did not do that in the past.  I will raise this question in the hadoop-dev mailing list.

For this issue, I think we could commit it first.  If there is a need, I will open a new issue for adding the licenses.

> SecondaryNameNode has http server on dfs.secondary.http.address but without any contents
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-3741
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3741
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: dfs
>    Affects Versions: 0.19.0
>            Reporter: Lohit Vijayarenu
>            Assignee: Tsz Wo (Nicholas), SZE
>             Fix For: 0.21.0
>
>         Attachments: 3741_20090206.patch, 3741_20090206b.patch, SecondaryNameNode web ui.jpg
>
>
> SecondaryNameNode has http server on dfs.secondary.http.address but does not have any information on it. It could publish useful information about NameNode it is talking to, checkpoints, the current configured checkpoint interval and checkpoint size and also configured directories.

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


[jira] Updated: (HADOOP-3741) SecondaryNameNode has http server on dfs.secondary.http.address but without any contents

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: SecondaryNameNode web ui.jpg

> SecondaryNameNode has http server on dfs.secondary.http.address but without any contents
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-3741
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3741
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: dfs
>    Affects Versions: 0.19.0
>            Reporter: Lohit Vijayarenu
>         Attachments: 3741_20090206.patch, SecondaryNameNode web ui.jpg
>
>
> SecondaryNameNode has http server on dfs.secondary.http.address but does not have any information on it. It could publish useful information about NameNode it is talking to, checkpoints, the current configured checkpoint interval and checkpoint size and also configured directories.

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


[jira] Updated: (HADOOP-3741) SecondaryNameNode has http server on dfs.secondary.http.address but without any contents

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Fix Version/s: 0.21.0
     Release Note: Added SecondaryNameNode web ui
           Status: Patch Available  (was: Open)

> SecondaryNameNode has http server on dfs.secondary.http.address but without any contents
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-3741
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3741
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: dfs
>    Affects Versions: 0.19.0
>            Reporter: Lohit Vijayarenu
>            Assignee: Tsz Wo (Nicholas), SZE
>             Fix For: 0.21.0
>
>         Attachments: 3741_20090206.patch, 3741_20090206b.patch, SecondaryNameNode web ui.jpg
>
>
> SecondaryNameNode has http server on dfs.secondary.http.address but does not have any information on it. It could publish useful information about NameNode it is talking to, checkpoints, the current configured checkpoint interval and checkpoint size and also configured directories.

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


[jira] Commented: (HADOOP-3741) SecondaryNameNode has http server on dfs.secondary.http.address but without any contents

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

Tom White commented on HADOOP-3741:
-----------------------------------

bq. release audit: License header is not added to html and jsp files. It is consistent with our approach.

I don't think there is any reason why we couldn't add licence headers to html and jsp files. I notice that package.hmtl files have them, as do Chukwa's jsps. 

> SecondaryNameNode has http server on dfs.secondary.http.address but without any contents
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-3741
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3741
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: dfs
>    Affects Versions: 0.19.0
>            Reporter: Lohit Vijayarenu
>            Assignee: Tsz Wo (Nicholas), SZE
>             Fix For: 0.21.0
>
>         Attachments: 3741_20090206.patch, 3741_20090206b.patch, SecondaryNameNode web ui.jpg
>
>
> SecondaryNameNode has http server on dfs.secondary.http.address but does not have any information on it. It could publish useful information about NameNode it is talking to, checkpoints, the current configured checkpoint interval and checkpoint size and also configured directories.

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


[jira] Commented: (HADOOP-3741) SecondaryNameNode has http server on dfs.secondary.http.address but without any contents

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12663180#action_12663180 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-3741:
------------------------------------------------

The http server is only used for image transfer.  It is good to add new web pages for showing its information.

> SecondaryNameNode has http server on dfs.secondary.http.address but without any contents
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-3741
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3741
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: dfs
>    Affects Versions: 0.19.0
>            Reporter: Lohit Vijayarenu
>
> SecondaryNameNode has http server on dfs.secondary.http.address but does not have any information on it. It could publish useful information about NameNode it is talking to, checkpoints, the current configured checkpoint interval and checkpoint size and also configured directories.

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


[jira] Commented: (HADOOP-3741) SecondaryNameNode has http server on dfs.secondary.http.address but without any contents

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671390#action_12671390 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-3741:
------------------------------------------------

{noformat}
     [exec] -1 overall.
     [exec]
     [exec] +1 @author. The patch does not contain any @author tags.
     [exec]
     [exec] -1 tests included. The patch doesn't appear to include any new or modified tests.
     [exec] Please justify why no tests are needed for this patch.
     [exec]
     [exec] +1 javadoc. The javadoc tool did not generate any warning messages.
     [exec]
     [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings.
     [exec]
     [exec] -1 findbugs. The patch appears to introduce 1 new Findbugs warnings.
     [exec]
     [exec] +1 Eclipse classpath. The patch retains Eclipse classpath integrity.
     [exec]
     [exec] -1 release audit. The applied patch generated 831 release audit warnings (more than the trunk's current 827 warnings).
{noformat}
- No new tests added because we do not use unit tests to test web ui.

- findbugs warning: "org.apache.hadoop.hdfs.server.namenode.status_jsp._jspx_resourceInjector is a mutable servlet field"
  The field is generated by the jsp compiler, not the patch.

- release audit: License header is not added to html and jsp files. It is consistent with our approach.

> SecondaryNameNode has http server on dfs.secondary.http.address but without any contents
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-3741
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3741
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: dfs
>    Affects Versions: 0.19.0
>            Reporter: Lohit Vijayarenu
>            Assignee: Tsz Wo (Nicholas), SZE
>             Fix For: 0.21.0
>
>         Attachments: 3741_20090206.patch, 3741_20090206b.patch, SecondaryNameNode web ui.jpg
>
>
> SecondaryNameNode has http server on dfs.secondary.http.address but does not have any information on it. It could publish useful information about NameNode it is talking to, checkpoints, the current configured checkpoint interval and checkpoint size and also configured directories.

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


[jira] Updated: (HADOOP-3741) SecondaryNameNode has http server on dfs.secondary.http.address but without any contents

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: 3741_20090206.patch

3741_20090206.patch: add SecondaryNameNode web ui

> SecondaryNameNode has http server on dfs.secondary.http.address but without any contents
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-3741
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3741
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: dfs
>    Affects Versions: 0.19.0
>            Reporter: Lohit Vijayarenu
>         Attachments: 3741_20090206.patch, SecondaryNameNode web ui.jpg
>
>
> SecondaryNameNode has http server on dfs.secondary.http.address but does not have any information on it. It could publish useful information about NameNode it is talking to, checkpoints, the current configured checkpoint interval and checkpoint size and also configured directories.

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


[jira] Updated: (HADOOP-3741) SecondaryNameNode has http server on dfs.secondary.http.address but without any contents

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

Lohit Vijayarenu updated HADOOP-3741:
-------------------------------------

        Assignee: Tsz Wo (Nicholas), SZE
    Hadoop Flags: [Reviewed]

+1. This looks good 

> SecondaryNameNode has http server on dfs.secondary.http.address but without any contents
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-3741
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3741
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: dfs
>    Affects Versions: 0.19.0
>            Reporter: Lohit Vijayarenu
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 3741_20090206.patch, SecondaryNameNode web ui.jpg
>
>
> SecondaryNameNode has http server on dfs.secondary.http.address but does not have any information on it. It could publish useful information about NameNode it is talking to, checkpoints, the current configured checkpoint interval and checkpoint size and also configured directories.

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


[jira] Updated: (HADOOP-3741) SecondaryNameNode has http server on dfs.secondary.http.address but without any contents

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: 3741_20090206b.patch

3741_20090206b.patch: cleanup codes.

> SecondaryNameNode has http server on dfs.secondary.http.address but without any contents
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-3741
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3741
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: dfs
>    Affects Versions: 0.19.0
>            Reporter: Lohit Vijayarenu
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 3741_20090206.patch, 3741_20090206b.patch, SecondaryNameNode web ui.jpg
>
>
> SecondaryNameNode has http server on dfs.secondary.http.address but does not have any information on it. It could publish useful information about NameNode it is talking to, checkpoints, the current configured checkpoint interval and checkpoint size and also configured directories.

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