HBase
  1. HBase
  2. HBASE-7219

Make it so can connect remotely to a standalone hbase

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Tags:
      noob

      Description

      Should be able to connect from a remote client to a standalone instance. HBase has 'localhost' in regionservers file and will write 'localhost' to znode for master location which remote client can't use. Fix. This comes up on mailing list w/ some frequency.

        Activity

        Hide
        Nicolas Liochon added a comment -

        I'm putting this on my low priority todo list. I will assign it to me when I start working on it. If someone wants to pick it up, that's fine with me as well.

        Show
        Nicolas Liochon added a comment - I'm putting this on my low priority todo list. I will assign it to me when I start working on it. If someone wants to pick it up, that's fine with me as well.
        Hide
        Jean-Daniel Cryans added a comment -

        I was thinking about checking if we write 127.0.0.1 or localhost as the server address in ZK

        Then alert somehow that the cluster isn't reachable remotely? Sounds good to me.

        Show
        Jean-Daniel Cryans added a comment - I was thinking about checking if we write 127.0.0.1 or localhost as the server address in ZK Then alert somehow that the cluster isn't reachable remotely? Sounds good to me.
        Hide
        Nicolas Liochon added a comment -

        When it was discussed on the mailing list, I was thinking about checking if we write 127.0.0.1 or localhost as the server address in ZK, i.e. something that would work only on the local machine.

        Show
        Nicolas Liochon added a comment - When it was discussed on the mailing list, I was thinking about checking if we write 127.0.0.1 or localhost as the server address in ZK, i.e. something that would work only on the local machine.
        Hide
        stack added a comment -

        True on the regionserver content.

        Yes on how host identifies itself. I've not played here. Just made issue going of same complaint a few times in a row up on mailing list. Perhaps this issue could be fixed w/ some clarification in the refguide.

        Show
        stack added a comment - True on the regionserver content. Yes on how host identifies itself. I've not played here. Just made issue going of same complaint a few times in a row up on mailing list. Perhaps this issue could be fixed w/ some clarification in the refguide.
        Hide
        Jean-Daniel Cryans added a comment -

        HBase has 'localhost' in regionservers file

        This doesn't have anything to do with how we report addresses tho, it's only used for ssh.

        and will write 'localhost' to znode for master location which remote client can't use

        AFAIK we don't force localhost in there, what we do force is looking up localhost for the zookeeper server by default and even then a remote client could just specify the right address and it should work. If localhost is reported for the master or RS, it's a problem with how the node identifies itself.

        Show
        Jean-Daniel Cryans added a comment - HBase has 'localhost' in regionservers file This doesn't have anything to do with how we report addresses tho, it's only used for ssh. and will write 'localhost' to znode for master location which remote client can't use AFAIK we don't force localhost in there, what we do force is looking up localhost for the zookeeper server by default and even then a remote client could just specify the right address and it should work. If localhost is reported for the master or RS, it's a problem with how the node identifies itself.
        stack created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            stack
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:

              Development