hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1147) Modify the scripts to use Zookeeper
Date Mon, 26 Jan 2009 15:42:00 GMT

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

Jean-Daniel Cryans commented on HBASE-1147:
-------------------------------------------

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

I think I can refactor to make it configurable.

bq. 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?).

Yes, it is a common command. Probably should use the full name tho (netcat).

bq. 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?

Nah I should probably grep.

bq. 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).

Not sure I understand you but... the current situation is that hbase-zookeeper.sh calls hbase-daemon.sh
on all machines in conf/zookeepers so the logs are actually setup. 

> 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