You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Nitay Joffe (JIRA)" <ji...@apache.org> on 2009/06/13 02:59:07 UTC

[jira] Created: (HBASE-1515) Address part of config option hbase.regionserver unnecessary

Address part of config option hbase.regionserver unnecessary
------------------------------------------------------------

                 Key: HBASE-1515
                 URL: https://issues.apache.org/jira/browse/HBASE-1515
             Project: Hadoop HBase
          Issue Type: Improvement
            Reporter: Nitay Joffe
            Priority: Minor
             Fix For: 0.20.1


We have a configuration option "hbase.regionserver" that specifies address + port the region servers should bind to. I believe all of our users don't require the address part of it and always leave it as 0.0.0.0. Most people rsync their configs to all the machines in the cluster, so anything other than 0.0.0.0 doesn't really make sense.

We should change this option into just hbase.regionserver.port, like we have with the master now.

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


[jira] Updated: (HBASE-1515) Address part of config option hbase.regionserver unnecessary

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

Nitay Joffe updated HBASE-1515:
-------------------------------

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

Committed. Thanks for review.

> Address part of config option hbase.regionserver unnecessary
> ------------------------------------------------------------
>
>                 Key: HBASE-1515
>                 URL: https://issues.apache.org/jira/browse/HBASE-1515
>             Project: Hadoop HBase
>          Issue Type: Improvement
>            Reporter: Nitay Joffe
>            Assignee: Nitay Joffe
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: hbase-1515.patch
>
>
> We have a configuration option "hbase.regionserver" that specifies address + port the region servers should bind to. I believe all of our users don't require the address part of it and always leave it as 0.0.0.0. Most people rsync their configs to all the machines in the cluster, so anything other than 0.0.0.0 doesn't really make sense.
> We should change this option into just hbase.regionserver.port, like we have with the master now.

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


[jira] Commented: (HBASE-1515) Address part of config option hbase.regionserver unnecessary

Posted by "ryan rawson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719092#action_12719092 ] 

ryan rawson commented on HBASE-1515:
------------------------------------

To run on EC2 and similar systems we now support the same configuration as hadoop:

  <property>
    <name>hbase.master.dns.interface</name>
    <value>default</value>
    <description>The name of the Network Interface from which a master 
      should report its IP address.
    </description>
  </property>
  <property>
    <name>hbase.master.dns.nameserver</name>
    <value>default</value>
    <description>The host name or IP address of the name server (DNS)
      which a master should use to determine the host name used 
      for communication and display purposes.
    </description>
  </property>


Setting IPs on each host for config is not really practical.  This is the scalable mechanism that hadoop supports, and now we do as well!

> Address part of config option hbase.regionserver unnecessary
> ------------------------------------------------------------
>
>                 Key: HBASE-1515
>                 URL: https://issues.apache.org/jira/browse/HBASE-1515
>             Project: Hadoop HBase
>          Issue Type: Improvement
>            Reporter: Nitay Joffe
>            Priority: Minor
>             Fix For: 0.20.1
>
>
> We have a configuration option "hbase.regionserver" that specifies address + port the region servers should bind to. I believe all of our users don't require the address part of it and always leave it as 0.0.0.0. Most people rsync their configs to all the machines in the cluster, so anything other than 0.0.0.0 doesn't really make sense.
> We should change this option into just hbase.regionserver.port, like we have with the master now.

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


[jira] Updated: (HBASE-1515) Address part of config option hbase.regionserver unnecessary

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

Nitay Joffe updated HBASE-1515:
-------------------------------

    Attachment: hbase-1515.patch

Yes, I agree with Ryan. In fact, if you look at the code currently we already have the options hbase.regionserver.dns.interface/nameserver. These are used by the info server that an RS brings up, yet the address is used by the RS itself.

Attaching a patch that fixes things, in particular:
# conf/hbase-default.xml:
## Remove 'hbase.regionserver', add 'hbase.regionserver.port'
# HConstants.java:
## Constants for changes above.
## Constant for master port to clean up use of string in various places.
# LocalHBaseCluster.java:
## Set port to 0 instead of entire address.
# HMaster.java:
## Cleanups of port constant and fix usage message.
# HRegionServer.java:
## Fold two constructors into one, like with HMaster.
## Lookup address to bind to using Hadoop style DNS query, just like HMaster.
## Remove bind option from main(), like we did with master.
# MiniHBaseCluster.java:
## Use constants for common master port string lookup.
# OOMERegionServer
## Remove unused constructor.

> Address part of config option hbase.regionserver unnecessary
> ------------------------------------------------------------
>
>                 Key: HBASE-1515
>                 URL: https://issues.apache.org/jira/browse/HBASE-1515
>             Project: Hadoop HBase
>          Issue Type: Improvement
>            Reporter: Nitay Joffe
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: hbase-1515.patch
>
>
> We have a configuration option "hbase.regionserver" that specifies address + port the region servers should bind to. I believe all of our users don't require the address part of it and always leave it as 0.0.0.0. Most people rsync their configs to all the machines in the cluster, so anything other than 0.0.0.0 doesn't really make sense.
> We should change this option into just hbase.regionserver.port, like we have with the master now.

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


[jira] Commented: (HBASE-1515) Address part of config option hbase.regionserver unnecessary

Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719086#action_12719086 ] 

Jim Kellerman commented on HBASE-1515:
--------------------------------------

I would like to keep it in until we know for sure. Cloudera may support HBase, but it has to be able to work on EC2. Since EC2 instances can have both public and private addresses,  both the port and IP addresses are necessary.

> Address part of config option hbase.regionserver unnecessary
> ------------------------------------------------------------
>
>                 Key: HBASE-1515
>                 URL: https://issues.apache.org/jira/browse/HBASE-1515
>             Project: Hadoop HBase
>          Issue Type: Improvement
>            Reporter: Nitay Joffe
>            Priority: Minor
>             Fix For: 0.20.1
>
>
> We have a configuration option "hbase.regionserver" that specifies address + port the region servers should bind to. I believe all of our users don't require the address part of it and always leave it as 0.0.0.0. Most people rsync their configs to all the machines in the cluster, so anything other than 0.0.0.0 doesn't really make sense.
> We should change this option into just hbase.regionserver.port, like we have with the master now.

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


[jira] Assigned: (HBASE-1515) Address part of config option hbase.regionserver unnecessary

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

Nitay Joffe reassigned HBASE-1515:
----------------------------------

    Assignee: Nitay Joffe

> Address part of config option hbase.regionserver unnecessary
> ------------------------------------------------------------
>
>                 Key: HBASE-1515
>                 URL: https://issues.apache.org/jira/browse/HBASE-1515
>             Project: Hadoop HBase
>          Issue Type: Improvement
>            Reporter: Nitay Joffe
>            Assignee: Nitay Joffe
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: hbase-1515.patch
>
>
> We have a configuration option "hbase.regionserver" that specifies address + port the region servers should bind to. I believe all of our users don't require the address part of it and always leave it as 0.0.0.0. Most people rsync their configs to all the machines in the cluster, so anything other than 0.0.0.0 doesn't really make sense.
> We should change this option into just hbase.regionserver.port, like we have with the master now.

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


[jira] Commented: (HBASE-1515) Address part of config option hbase.regionserver unnecessary

Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12722225#action_12722225 ] 

Andrew Purtell commented on HBASE-1515:
---------------------------------------

+1

> Address part of config option hbase.regionserver unnecessary
> ------------------------------------------------------------
>
>                 Key: HBASE-1515
>                 URL: https://issues.apache.org/jira/browse/HBASE-1515
>             Project: Hadoop HBase
>          Issue Type: Improvement
>            Reporter: Nitay Joffe
>            Assignee: Nitay Joffe
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: hbase-1515.patch
>
>
> We have a configuration option "hbase.regionserver" that specifies address + port the region servers should bind to. I believe all of our users don't require the address part of it and always leave it as 0.0.0.0. Most people rsync their configs to all the machines in the cluster, so anything other than 0.0.0.0 doesn't really make sense.
> We should change this option into just hbase.regionserver.port, like we have with the master now.

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


[jira] Updated: (HBASE-1515) Address part of config option hbase.regionserver unnecessary

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

Nitay Joffe updated HBASE-1515:
-------------------------------

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

> Address part of config option hbase.regionserver unnecessary
> ------------------------------------------------------------
>
>                 Key: HBASE-1515
>                 URL: https://issues.apache.org/jira/browse/HBASE-1515
>             Project: Hadoop HBase
>          Issue Type: Improvement
>            Reporter: Nitay Joffe
>            Assignee: Nitay Joffe
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: hbase-1515.patch
>
>
> We have a configuration option "hbase.regionserver" that specifies address + port the region servers should bind to. I believe all of our users don't require the address part of it and always leave it as 0.0.0.0. Most people rsync their configs to all the machines in the cluster, so anything other than 0.0.0.0 doesn't really make sense.
> We should change this option into just hbase.regionserver.port, like we have with the master now.

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