Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-4704

A JRuby script for identifying active master

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.94.0
    • None
    • None
    • Reviewed

    Description

      This simple script reads the HBase master ZK node and outputs the hostname of the active master. This is needed so that operational scripts can decide where the primary master is running. I am also including a one-line hbase-jruby script so we can make our jruby scripts proper UNIX executables by including an "#!/usr/bin/env hbase-jruby" at the top.

      Attachments

        Activity

          People

            mikhail Mikhail Gryzykhin
            mikhail Mikhail Gryzykhin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: