You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2009/01/23 23:25:59 UTC

[jira] Commented: (HBASE-1147) Modify the scripts to use Zookeeper

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