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 "Jim Kellerman (JIRA)" <ji...@apache.org> on 2008/01/25 03:34:34 UTC

[jira] Reopened: (HADOOP-2706) HBase Shell crash

     [ https://issues.apache.org/jira/browse/HADOOP-2706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Kellerman reopened HADOOP-2706:
-----------------------------------

      Assignee: stack

Reopening this issue as it directly addresses the blocking issue and does not include 'extra changes'

> HBase Shell crash
> -----------------
>
>                 Key: HADOOP-2706
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2706
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hbase
>         Environment: Mac OS 10.5.1
>            Reporter: Travis Brady
>            Assignee: stack
>            Priority: Blocker
>             Fix For: 0.16.0
>
>         Attachments: helpnpe.patch
>
>
> $ bin/hbase shell
> Hbase Shell, 0.0.2 version.
> Copyright (c) 2007 by udanax, licensed to Apache Software Foundation.
> Type 'help;' for usage.
> hql > help;
> Type 'help COMMAND;' to see command-specific usage.
> +-------------------------+-------------------------+-------------------------+
> | Command                 | Description             | Example                 |
> +-------------------------+-------------------------+-------------------------+
> | SHOW                    | Show information about s| SHOW TABLES [or substitu|
> |                         | elected title           | tion variable name];    |
> +-------------------------+-------------------------+-------------------------+
> | DELETE                  | Delete table data       | DELETE {column_name, [, |
> |                         |                         | column_name] ... | *} FR|
> |                         |                         | OM table_name WHERE row=|
> |                         |                         | 'row-key';              |
> +-------------------------+-------------------------+-------------------------+
> | DROP                    | Drop tables             | DROP TABLE table_name [,|
> |                         |                         |  table_name] ...;       |
> +-------------------------+-------------------------+-------------------------+
> | ALTER                   | Alter structure of table| ALTER TABLE table_name A|
> |                         |                         | DD column_spec | ADD (co|
> |                         |                         | lumn_spec, column_spec, |
> |                         |                         | ...) | CHANGE column_fam|
> |                         |                         | ily column_spec | DROP c|
> |                         |                         | olumn_family_name | CHAN|
> |                         |                         | GE column_spec;         |
> +-------------------------+-------------------------+-------------------------+
> | CLEAR                   | Clear the screen        | CLEAR;                  |
> +-------------------------+-------------------------+-------------------------+
> | JAR                     | Hadoop RunJar util      | JAR jarFile [mainClass] |
> |                         |                         | arguments...;           |
> +-------------------------+-------------------------+-------------------------+
> | DESCRIBE                | Print table information | [DESCRIBE|DESC] table_na|
> |                         |                         | me;                     |
> +-------------------------+-------------------------+-------------------------+
> | SELECT                  | Select values from table| SELECT {column_name, [, |
> |                         |                         | column_name] ... | expr[|
> |                         |                         | alias] | * } FROM table_|
> |                         |                         | name [WHERE row='row_key|
> |                         |                         | ' | STARTING FROM 'row-k|
> |                         |                         | ey' [UNTIL 'stop-key']] |
> |                         |                         | [NUM_VERSIONS = version_|
> |                         |                         | count] [TIMESTAMP 'times|
> |                         |                         | tamp'] [LIMIT = row_coun|
> |                         |                         | t] [INTO FILE 'file_name|
> |                         |                         | '];                     |
> +-------------------------+-------------------------+-------------------------+
> | FS                      | Hadoop FsShell; entering| FS [-option] arguments..|
> |                         |  a lone 'FS;' will emit | ;                       |
> |                         | usage                   |                         |
> +-------------------------+-------------------------+-------------------------+
> | TRUNCATE                | Truncate table is used t| TRUNCATE TABLE table_nam|
> |                         | o clean all data from a | e;                      |
> |                         | table                   |                         |
> +-------------------------+-------------------------+-------------------------+
> | EXIT                    | Exit shell              | EXIT;                   |
> +-------------------------+-------------------------+-------------------------+
> | INSERT                  | Insert values into table| INSERT INTO table_name (|
> |                         |                         | column_name, ...) VALUES|
> |                         |                         |  ('value', ...) WHERE ro|
> |                         |                         | w='row_key' [TIMESTAMP '|
> |                         |                         | timestamp'];            |
> +-------------------------+-------------------------+-------------------------+
> | CREATE                  | Create tables           | CREATE TABLE table_name |
> |                         |                         | (column_family_name [MAX|
> |                         |                         | _VERSIONS=n] [MAX_LENGTH|
> |                         |                         | =n] [COMPRESSION=NONE|RE|
> |                         |                         | CORD|BLOCK] [IN_MEMORY] |
> |                         |                         | [BLOOMFILTER=NONE|BLOOMF|
> |                         |                         | ILTER|COUNTING_BLOOMFILT|
> |                         |                         | ER|RETOUCHED_BLOOMFILTER|
> |                         |                         |  VECTOR_SIZE=n NUM_HASH=|
> |                         |                         | n], ...)                |
> +-------------------------+-------------------------+-------------------------+
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.Shell.main(Shell.java:119)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.