HBase
  1. HBase
  2. HBASE-7812

script to return servers where META and ROOT tables are deployed

    Details

    • Type: Wish Wish
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Not a Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Simple script (bash or ruby) that would print servers addresses(hostnames) where ROOT or META tables are deployed. It could be located in bin dir. I have attached simple example that i use for this.

      1. HBASE-7812.txt
        0.7 kB
        Samir Ahmic

        Activity

        Samir Ahmic made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Samir Ahmic [ asamir ]
        Resolution Not A Problem [ 8 ]
        Hide
        Jonathan Hsieh added a comment -

        I think I'd rather have this information as documentation in the book instead of as code. WE've been moving away from these help scripts because without tests or frequent usage this could break undetectably.

        Show
        Jonathan Hsieh added a comment - I think I'd rather have this information as documentation in the book instead of as code. WE've been moving away from these help scripts because without tests or frequent usage this could break undetectably.
        Samir Ahmic made changes -
        Attachment HBASE-7812.txt [ 12568822 ]
        Samir Ahmic made changes -
        Description Simple script (bash or ruby) that would print servers addresses(hostnames) where ROOT or META tables are deployed. It could be located in bin dir. I have attached simple example that i use for this.
        Hide
        Samir Ahmic added a comment -

        Hi, JM

        It would be nice to have bash or ruby script that is doing this job.

        Show
        Samir Ahmic added a comment - Hi, JM It would be nice to have bash or ruby script that is doing this job.
        Hide
        Jean-Marc Spaggiari added a comment -

        Hi Samir,

        What do you mean by "a script"? Are you talking about a bash script? Or something on the HBase shell? Or do you need the java piece of code to do that?

        Show
        Jean-Marc Spaggiari added a comment - Hi Samir, What do you mean by "a script"? Are you talking about a bash script? Or something on the HBase shell? Or do you need the java piece of code to do that?
        Samir Ahmic made changes -
        Summary script script to return servers where META and ROOT tables are deployed
        Issue Type Bug [ 1 ] Wish [ 5 ]
        Samir Ahmic made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Trivial [ 5 ]
        Samir Ahmic created issue -

          People

          • Assignee:
            Samir Ahmic
            Reporter:
            Samir Ahmic
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development