You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "stack (JIRA)" <ji...@apache.org> on 2007/10/12 23:57:50 UTC

[jira] Created: (HADOOP-2047) [hbase] Add an '--master=X' and '--html' command-line parameters to shell

[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
            Reporter: stack
            Priority: Minor


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.


[jira] Issue Comment Edited: (HADOOP-2047) [hbase] Add an '--master=X' and '--html' command-line parameters to shell

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550421 ] 

udanax edited comment on HADOOP-2047 at 12/11/07 4:24 AM:
---------------------------------------------------------------

IMO, I was -undertand- understood the BigTable as describe below.
Is hbase same as a BigTable?

{code}
Node flows
                                         +-------------+
                   +---------------+     | USER TABLEs |
     +-------+     | META 1 ~ 2^17 |     | ...         |
     | META0 +-----+ ...           +-----+             |
     +-------+     |               |     |             |
                   +---------------+     |             |
                                         +-------------+
         1                2                     3
         ↑                ↑                     ↑
         |                |                     |
     +---+-------+--------+                     |
     |  Client   +------------------------------+
     +-----------+
{code}

      was (Author: udanax):
    IMO, I was undertand the BigTable as describe below.
Is hbase same as a BigTable?

{code}
Node flows
                                         +-------------+
                   +---------------+     | USER TABLEs |
     +-------+     | META 1 ~ 2^17 |     | ...         |
     | META0 +-----+ ...           +-----+             |
     +-------+     |               |     |             |
                   +---------------+     |             |
                                         +-------------+
         1                2                     3
         ↑                ↑                     ↑
         |                |                     |
     +---+-------+--------+                     |
     |  Client   +------------------------------+
     +-----------+
{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
>            Reporter: stack
>            Assignee: Edward Yoon
>            Priority: Minor
>
> 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.


[jira] Assigned: (HADOOP-2047) [hbase] Add an '--master=X' and '--html' command-line parameters to shell

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward Yoon reassigned HADOOP-2047:
-----------------------------------

    Assignee: Edward Yoon

> [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
>            Reporter: stack
>            Assignee: Edward Yoon
>            Priority: Minor
>
> 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.


[jira] Updated: (HADOOP-2047) [hbase] Add an '--master=X' and '--html' command-line parameters to shell

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
     [ 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. [udanax@han982 hadoop]$ src/contrib/hbase/bin/hbase shell --html --master:host_name:port
...

[udanax@han982 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
....

[udanax@han982 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;
[udanax@han982 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.


[jira] Updated: (HADOOP-2047) [hbase] Add an '--master=X' and '--html' command-line parameters to shell

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward Yoon updated HADOOP-2047:
--------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Fixed.

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


[jira] Commented: (HADOOP-2047) [hbase] Add an '--master=X' and '--html' command-line parameters to shell

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551482 ] 

Hudson commented on HADOOP-2047:
--------------------------------

Integrated in Hadoop-Nightly #331 (See [http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/331/])

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


[jira] Issue Comment Edited: (HADOOP-2047) [hbase] Add an '--master=X' and '--html' command-line parameters to shell

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550422 ] 

udanax edited comment on HADOOP-2047 at 12/11/07 4:24 AM:
---------------------------------------------------------------

And, Can you more detail explain what exactly the '--html' option mean?

      was (Author: udanax):
    And, Can you more detail explain what What exactly the '--html' option mean?
  
> [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
>            Reporter: stack
>            Assignee: Edward Yoon
>            Priority: Minor
>
> 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.


[jira] Commented: (HADOOP-2047) [hbase] Add an '--master=X' and '--html' command-line parameters to shell

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550422 ] 

Edward Yoon commented on HADOOP-2047:
-------------------------------------

And, Can you more detail explain what What exactly the '--html' option mean?

> [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
>            Reporter: stack
>            Assignee: Edward Yoon
>            Priority: Minor
>
> 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.


[jira] Commented: (HADOOP-2047) [hbase] Add an '--master=X' and '--html' command-line parameters to shell

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550421 ] 

Edward Yoon commented on HADOOP-2047:
-------------------------------------

IMO, I was undertand the BigTable as describe below.
Is hbase same as a BigTable?

{code}
Node flows
                                         +-------------+
                   +---------------+     | USER TABLEs |
     +-------+     | META 1 ~ 2^17 |     | ...         |
     | META0 +-----+ ...           +-----+             |
     +-------+     |               |     |             |
                   +---------------+     |             |
                                         +-------------+
         1                2                     3
         ↑                ↑                     ↑
         |                |                     |
     +---+-------+--------+                     |
     |  Client   +------------------------------+
     +-----------+
{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
>            Reporter: stack
>            Assignee: Edward Yoon
>            Priority: Minor
>
> 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.


[jira] Updated: (HADOOP-2047) [hbase] Add an '--master=X' and '--html' command-line parameters to shell

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward Yoon updated HADOOP-2047:
--------------------------------

        Fix Version/s: 0.16.0
    Affects Version/s: 0.16.0

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


[jira] Issue Comment Edited: (HADOOP-2047) [hbase] Add an '--master=X' and '--html' command-line parameters to shell

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550413 ] 

udanax edited comment on HADOOP-2047 at 12/11/07 4:26 AM:
---------------------------------------------------------------

Ok. i'll do.
But IMO, 'HQL server-shell clients' is better than '--master=x'. (Don't get angry. :P I'm not a stubborn person.)

      was (Author: udanax):
    Ok. i'll do.
But IMO, 'HQL server-shell clients' is better than '--master=x'. (Don't get angry.)
  
> [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
>            Reporter: stack
>            Assignee: Edward Yoon
>            Priority: Minor
>
> 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.


[jira] Updated: (HADOOP-2047) [hbase] Add an '--master=X' and '--html' command-line parameters to shell

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward Yoon updated HADOOP-2047:
--------------------------------

    Attachment: 2047.pacth

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


[jira] Commented: (HADOOP-2047) [hbase] Add an '--master=X' and '--html' command-line parameters to shell

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550453 ] 

Edward Yoon commented on HADOOP-2047:
-------------------------------------

Oh, I see.
Sorry, I was misunderstand the '--master=X', too.

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


[jira] Commented: (HADOOP-2047) [hbase] Add an '--master=X' and '--html' command-line parameters to shell

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550837 ] 

Hadoop QA commented on HADOOP-2047:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
http://issues.apache.org/jira/secure/attachment/12371478/2047.pacth
against trunk revision r603428.

    @author +1.  The patch does not contain any @author tags.

    javadoc +1.  The javadoc tool did not generate any warning messages.

    javac +1.  The applied patch does not generate any new compiler warnings.

    findbugs +1.  The patch does not introduce any new Findbugs warnings.

    core tests +1.  The patch passed core unit tests.

    contrib tests +1.  The patch passed contrib unit tests.

Test results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1323/testReport/
Findbugs warnings: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1323/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1323/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1323/console

This message is automatically generated.

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


[jira] Commented: (HADOOP-2047) [hbase] Add an '--master=X' and '--html' command-line parameters to shell

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550457 ] 

Edward Yoon commented on HADOOP-2047:
-------------------------------------

Ok. I exactly understand. ;)

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


[jira] Commented: (HADOOP-2047) [hbase] Add an '--master=X' and '--html' command-line parameters to shell

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (HADOOP-2047) [hbase] Add an '--master=X' and '--html' command-line parameters to shell

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550413 ] 

Edward Yoon commented on HADOOP-2047:
-------------------------------------

Ok. i'll do.
But IMO, 'HQL server-shell clients' is better than '--master=x'. (Don't get angry.)

> [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
>            Reporter: stack
>            Assignee: Edward Yoon
>            Priority: Minor
>
> 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.


[jira] Work started: (HADOOP-2047) [hbase] Add an '--master=X' and '--html' command-line parameters to shell

Posted by "Edward Yoon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on HADOOP-2047 started by Edward Yoon.

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