[ 
https://issues.apache.org/jira/browse/HADOOP-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550456
 ] 

stack commented on HADOOP-2047:
-------------------------------

Your understanding above is correct. 

The '--master=MASTERHOST:PORT' makes it so you can have the shell connect to a 
cluster w/o having to edit conf files; not that important but would be a nice 
to have.  The --html is even less important but specifies that the output be in 
(x)html (See the mysql command.  It takes formatting args including no 
formatting).

Take a look at Tool, ToolRunner and GenericOptionsParser in hadoop.  You might 
want to have Shell implement Tool so you get your command-line processing done 
for you.  You be the judge of whether its a good idea or not (On the one hand, 
you don't have to do anything and you get specification of alternate conf file 
and handlign of -D for free but on the other, the '-jt' and '-fs' are 
inapplicable in your context).

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

Reply via email to