hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1147) Modify the scripts to use Zookeeper
Date Fri, 23 Jan 2009 22:25:59 GMT

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

stack commented on HBASE-1147:
------------------------------

I'm guessing zk expects the config file to be named zoo.cfg?

Whats this: '+    echo kill | nc 127.0.0.1 2181'  Is it platform independent (at least to
some degree?  Does nc work same on sunos, bsd, and linux?).  Is it not possible to change
the zk port number in its zoo.cfg?  So will 2181 always work?  Or 127.0.0.1 even?  Suggest
making these configs.... in hbase-env.sh if you have to or grep them from zoo.cfg.

nc looks sweet.

Does zk emit logging on STDOUT?  What if it OOMEs?  Is that caught somewhere or does it come
out on STDOUT?  Does start/stop zk not fit the hbase-daemon.sh mold?  If you could shoehorn
it in there, could drop PIDs so could kill these shutting it down rather than use nc and logs
would be set up for you? (I'm guessing it just does't fit the mold).

Make copyright 2009 on new files.

Otherwise, patch looks good to me.





> Modify the scripts to use Zookeeper
> -----------------------------------
>
>                 Key: HBASE-1147
>                 URL: https://issues.apache.org/jira/browse/HBASE-1147
>             Project: Hadoop HBase
>          Issue Type: Sub-task
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>         Attachments: hbase-1147.patch
>
>


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


Mime
View raw message