You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Aaron T. Myers (Created) (JIRA)" <ji...@apache.org> on 2012/02/20 18:47:34 UTC

[jira] [Created] (HDFS-2977) HA: TestBalancerWithHANameNodes is failing

HA: TestBalancerWithHANameNodes is failing
------------------------------------------

                 Key: HDFS-2977
                 URL: https://issues.apache.org/jira/browse/HDFS-2977
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: ha, test
    Affects Versions: HA branch (HDFS-1623)
            Reporter: Aaron T. Myers
            Assignee: Aaron T. Myers


Looks like it's passing a null nameservice ID, which I believe indicates a non-HA setup.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2977) HA: TestBalancerWithHANameNodes is failing

Posted by "Uma Maheswara Rao G (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13212320#comment-13212320 ] 

Uma Maheswara Rao G commented on HDFS-2977:
-------------------------------------------

This issue is a valid point for setting nsId. But actually we need not set the nsid explicitly in test code as MiniDFSNNTopology.simpleHATopology() can set nsID if we use it directly. So, why can't we use it? 
Currently can not use directly  MiniDFSNNTopology.simpleHATopology(), because of HDFS-2979. After addressing HDFS-2979, we can directly use MiniDFSNNTopology.simpleHATopology(), obviously with that change this test will not fail.

{quote}
just pointing out another problem in the same area of the code? 
{quote}
Yes, other problem in source.

{quote}
Should we commit this?
{quote}
Could you please take a look before committing this.
                
> HA: TestBalancerWithHANameNodes is failing
> ------------------------------------------
>
>                 Key: HDFS-2977
>                 URL: https://issues.apache.org/jira/browse/HDFS-2977
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, test
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>         Attachments: HDFS-2977-HDFS-1623.patch
>
>
> Looks like it's passing a null nameservice ID, which I believe indicates a non-HA setup.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2977) HA: TestBalancerWithHANameNodes is failing

Posted by "Uma Maheswara Rao G (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13212308#comment-13212308 ] 

Uma Maheswara Rao G commented on HDFS-2977:
-------------------------------------------

Thanks Aaron for filing the JIRA. forgot to add TODO while setting up the basic balancer setup ready with HA. Using MiniDFSNNTopology.simpleHATopology(), it should work. But the current problem is NameNodeConnector uses real NN uri for creating the failover proxy. This test sets the deafult port, so it is able to get the proxy provider. Balancer should work with any address, HDFS-2979 should address the issue.
                
> HA: TestBalancerWithHANameNodes is failing
> ------------------------------------------
>
>                 Key: HDFS-2977
>                 URL: https://issues.apache.org/jira/browse/HDFS-2977
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, test
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>         Attachments: HDFS-2977-HDFS-1623.patch
>
>
> Looks like it's passing a null nameservice ID, which I believe indicates a non-HA setup.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HDFS-2977) HA: TestBalancerWithHANameNodes is failing

Posted by "Aaron T. Myers (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aaron T. Myers resolved HDFS-2977.
----------------------------------

       Resolution: Duplicate
    Fix Version/s: HA branch (HDFS-1623)
     Hadoop Flags: Reviewed

Though it's not a perfect duplicate, this issue will be resolved incidentally by HDFS-2979. So, I'll close this JIRA and go review that JIRA.

Thanks a lot for looking into this, Uma.
                
> HA: TestBalancerWithHANameNodes is failing
> ------------------------------------------
>
>                 Key: HDFS-2977
>                 URL: https://issues.apache.org/jira/browse/HDFS-2977
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, test
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>             Fix For: HA branch (HDFS-1623)
>
>         Attachments: HDFS-2977-HDFS-1623.patch
>
>
> Looks like it's passing a null nameservice ID, which I believe indicates a non-HA setup.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2977) HA: TestBalancerWithHANameNodes is failing

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

Todd Lipcon commented on HDFS-2977:
-----------------------------------

+1
                
> HA: TestBalancerWithHANameNodes is failing
> ------------------------------------------
>
>                 Key: HDFS-2977
>                 URL: https://issues.apache.org/jira/browse/HDFS-2977
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, test
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>         Attachments: HDFS-2977-HDFS-1623.patch
>
>
> Looks like it's passing a null nameservice ID, which I believe indicates a non-HA setup.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2977) HA: TestBalancerWithHANameNodes is failing

Posted by "Aaron T. Myers (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aaron T. Myers updated HDFS-2977:
---------------------------------

    Attachment: HDFS-2977-HDFS-1623.patch

Here's a patch which addresses the issue.
                
> HA: TestBalancerWithHANameNodes is failing
> ------------------------------------------
>
>                 Key: HDFS-2977
>                 URL: https://issues.apache.org/jira/browse/HDFS-2977
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, test
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>         Attachments: HDFS-2977-HDFS-1623.patch
>
>
> Looks like it's passing a null nameservice ID, which I believe indicates a non-HA setup.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2977) HA: TestBalancerWithHANameNodes is failing

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

Todd Lipcon commented on HDFS-2977:
-----------------------------------

Uma: I didn't quite follow your comment. Do you think this patch is unnecessary/incorrect? Or just pointing out another problem in the same area of the code? Should we commit this?
                
> HA: TestBalancerWithHANameNodes is failing
> ------------------------------------------
>
>                 Key: HDFS-2977
>                 URL: https://issues.apache.org/jira/browse/HDFS-2977
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, test
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>         Attachments: HDFS-2977-HDFS-1623.patch
>
>
> Looks like it's passing a null nameservice ID, which I believe indicates a non-HA setup.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira