hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4704) A JRuby script for identifying active master
Date Mon, 14 Nov 2011 22:53:53 GMT

    [ https://issues.apache.org/jira/browse/HBASE-4704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150035#comment-13150035
] 

stack commented on HBASE-4704:
------------------------------

@Nicolas So, one script that does it all? You'd pass jruby a bunch of command options first
to choose the operation and then that operations params?  Or are you thinking 'jruby' is short
for 'org.Main.jruby'?
                
> A JRuby script for identifying active master
> --------------------------------------------
>
>                 Key: HBASE-4704
>                 URL: https://issues.apache.org/jira/browse/HBASE-4704
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Mikhail Bautin
>            Assignee: Mikhail Bautin
>            Priority: Trivial
>             Fix For: 0.94.0
>
>         Attachments: D117.1.patch, HBASE-4704.D117.2.patch, HBASE-4704.D117.3.patch
>
>
> 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.

--
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

        

Mime
View raw message