[
https://issues.apache.org/jira/browse/HADOOP-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Edward Yoon updated HADOOP-2047:
--------------------------------
Status: Patch Available (was: In Progress)
Ok. submitting.
{code}
bin/hbase shell [--options]
--master:master_host:port
--html
ex. [EMAIL PROTECTED] hadoop]$ src/contrib/hbase/bin/hbase shell --html
--master:host_name:port
...
[EMAIL PROTECTED] hadoop]$ src/contrib/hbase/bin/hbase shell
Hbase Shell, 0.0.2 version.
Copyright (c) 2007 by udanax, licensed to Apache Software Foundation.
Type 'help;' for usage.
hql > show tables;
07/12/12 11:53:44 INFO hbase.HConnectionManager$TableServers: Attempt 0 of 5
failed with
<java.net.UnknownHostException: unknown host: none-host.nhncorp.com>. Retrying
after sleep of 10000
....
[EMAIL PROTECTED] hadoop]$ src/contrib/hbase/bin/hbase shell
--master:a51066.nhncorp.com:60000
Hbase Shell, 0.0.2 version.
Copyright (c) 2007 by udanax, licensed to Apache Software Foundation.
Type 'help;' for usage.
hql > show tables;
+--------------------------------------+--------------------------------------+
| Name | Descriptor |
+--------------------------------------+--------------------------------------+
| edward | name: edward, families: {a:={name: a,|
| | max versions: 3, compression: NONE, |
| | in memory: false, max length: 2147483|
| | 647, bloom filter: none}, b:={name: b|
| | , max versions: 3, compression: NONE,|
| | in memory: false, max length: 214748|
| | 3647, bloom filter: none}, c:={name: |
| | c, max versions: 3, compression: NONE|
| | , in memory: false, max length: 21474|
| | 83647, bloom filter: none}} |
+--------------------------------------+--------------------------------------+
1 table(s) in set. (0.38 sec)
hql > exit;
[EMAIL PROTECTED] hadoop]$
{code}
> [hbase] Add an '--master=X' and '--html' command-line parameters to shell
> -------------------------------------------------------------------------
>
> Key: HADOOP-2047
> URL: https://issues.apache.org/jira/browse/HADOOP-2047
> Project: Hadoop
> Issue Type: Improvement
> Components: contrib/hbase
> Affects Versions: 0.16.0
> Reporter: stack
> Assignee: Edward Yoon
> Priority: Minor
> Fix For: 0.16.0
>
> Attachments: 2047.pacth
>
>
> Add to hbase shell command-line processing. At a minimum should be able to
> pass the master you want the shell to go against. Currently you need to edit
> the hbase-site.xml that is under the shell. Also, add an '--html' to output
> resultsets in html rather than as ascii tables (The html output is xhtml
> which might be sufficent for those who might want resultsets as xml -- lets
> see).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.