hadoop-zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Reed <br...@yahoo-inc.com>
Subject RE: State of the command line?
Date Mon, 05 Jan 2009 15:01:34 GMT
The command line is a very simple utility for testing and as an example of how to use the API.

these are good suggestions, you should document them in a Jira.

From: burtonator@gmail.com [burtonator@gmail.com] On Behalf Of Kevin Burton [burton@spinn3r.com]
Sent: Saturday, January 03, 2009 7:54 PM
To: zookeeper-user@hadoop.apache.org
Subject: State of the command line?

What's the state of the command line client (ZooKeeperMain)
... it seems a bit fragile.

Some thoughts.... you should probably ship it with a wrapper around rlwrap
so that readline supports.

You can just detect it in a bash script and enable it if it's installed....
should be able to get around GPL this way...

Also, it should have a %shell% prompt one would think.

... ls should return more like ls -al.

If a command fails it shouldn't print the full exception but should instead
print just the error (probably to stderr).

Though perhaps we won't actually use the shell in production so it doesn't
matter as much.


Founder/CEO Spinn3r.com
Location: San Francisco, CA
AIM/YIM: sfburtonator
Skype: burtonator
Work: http://spinn3r.com

View raw message