FAQ
Hello All ,

I m getting following error :( while executing the HBase commands in
shell.

I had configured the HBase from Hadoop 0.15.2 contrib.

-sh-3.00$ jps
8497 NameNode
8904 TaskTracker
13631 Jps
9099 HMaster
8590 DataNode
8705 SecondaryNameNode
9190 HRegionServer
8781 JobTracker
-sh-3.00$
-sh-3.00$ /home/peeyushb/hadoop/src/contrib/hbase/bin/hbase shell

Hbase> show tables;
08/01/24 18:07:40 INFO ipc.Client: Retrying connect to
server: /10.66.74.86:60020. Already tried 1 time(s).
08/01/24 18:07:41 INFO ipc.Client: Retrying connect to
server: /10.66.74.86:60020. Already tried 2 time(s).
08/01/24 18:07:42 INFO ipc.Client: Retrying connect to
server: /10.66.74.86:60020. Already tried 3 time(s).
08/01/24 18:07:43 INFO ipc.Client: Retrying connect to
server: /10.66.74.86:60020. Already tried 4 time(s).

But when i am trying to create table i got following error :

Hbase> create table log(uname, uid);
Creating table... Please wait.
Exception in thread "main" java.lang.StringIndexOutOfBoundsException:
String index out of range: -1
at java.lang.String.substring(String.java:1938)
at
org.apache.hadoop.hbase.shell.BasicCommand.extractErrMsg(BasicCommand.java:60)
at
org.apache.hadoop.hbase.shell.BasicCommand.extractErrMsg(BasicCommand.java:64)
at
org.apache.hadoop.hbase.shell.CreateCommand.execute(CreateCommand.java:61)
at org.apache.hadoop.hbase.Shell.main(Shell.java:96)

Can any one please sent me some good tutorials for making settings
related Hbase successful execution so that such errors should not
execute.

---
Peeyush Bishnoi

Search Discussions

  • Edward yoon at Jan 25, 2008 at 3:03 pm
    Hello, peeyushb.

    Please see http://wiki.apache.org/hadoop/Hbase/10Minutes
    And, The connection failure exception problem was reported to jira
    HADOOP-2701 by St.Ack.
    On 1/25/08, Peeyush Bishnoi wrote:
    Hello All ,

    I m getting following error :( while executing the HBase commands in
    shell.

    I had configured the HBase from Hadoop 0.15.2 contrib.

    -sh-3.00$ jps
    8497 NameNode
    8904 TaskTracker
    13631 Jps
    9099 HMaster
    8590 DataNode
    8705 SecondaryNameNode
    9190 HRegionServer
    8781 JobTracker
    -sh-3.00$
    -sh-3.00$ /home/peeyushb/hadoop/src/contrib/hbase/bin/hbase shell

    Hbase> show tables;
    08/01/24 18:07:40 INFO ipc.Client: Retrying connect to
    server: /10.66.74.86:60020. Already tried 1 time(s).
    08/01/24 18:07:41 INFO ipc.Client: Retrying connect to
    server: /10.66.74.86:60020. Already tried 2 time(s).
    08/01/24 18:07:42 INFO ipc.Client: Retrying connect to
    server: /10.66.74.86:60020. Already tried 3 time(s).
    08/01/24 18:07:43 INFO ipc.Client: Retrying connect to
    server: /10.66.74.86:60020. Already tried 4 time(s).

    But when i am trying to create table i got following error :

    Hbase> create table log(uname, uid);
    Creating table... Please wait.
    Exception in thread "main" java.lang.StringIndexOutOfBoundsException:
    String index out of range: -1
    at java.lang.String.substring(String.java:1938)
    at
    org.apache.hadoop.hbase.shell.BasicCommand.extractErrMsg(BasicCommand.java:60)
    at
    org.apache.hadoop.hbase.shell.BasicCommand.extractErrMsg(BasicCommand.java:64)
    at
    org.apache.hadoop.hbase.shell.CreateCommand.execute(CreateCommand.java:61)
    at org.apache.hadoop.hbase.Shell.main(Shell.java:96)

    Can any one please sent me some good tutorials for making settings
    related Hbase successful execution so that such errors should not
    execute.

    ---
    Peeyush Bishnoi

    --
    B. Regards,
    Edward yoon @ NHN, corp.
  • Lohit Vijayarenu at Jan 25, 2008 at 10:32 pm
    Following this link had worked for me once.
    http://wiki.apache.org/hadoop/Hbase/10Minutes
    Thanks,
    Lohit

    ----- Original Message ----
    From: Peeyush Bishnoi <peeyushb@yahoo-inc.com>
    To: core-user@hadoop.apache.org
    Sent: Friday, January 25, 2008 2:42:41 AM
    Subject: Hbase Setup Errors


    Hello All ,

    I m getting following error :( while executing the HBase commands in
    shell.

    I had configured the HBase from Hadoop 0.15.2 contrib.

    -sh-3.00$ jps
    8497 NameNode
    8904 TaskTracker
    13631 Jps
    9099 HMaster
    8590 DataNode
    8705 SecondaryNameNode
    9190 HRegionServer
    8781 JobTracker
    -sh-3.00$
    -sh-3.00$ /home/peeyushb/hadoop/src/contrib/hbase/bin/hbase shell

    Hbase> show tables;
    08/01/24 18:07:40 INFO ipc.Client: Retrying connect to
    server: /10.66.74.86:60020. Already tried 1 time(s).
    08/01/24 18:07:41 INFO ipc.Client: Retrying connect to
    server: /10.66.74.86:60020. Already tried 2 time(s).
    08/01/24 18:07:42 INFO ipc.Client: Retrying connect to
    server: /10.66.74.86:60020. Already tried 3 time(s).
    08/01/24 18:07:43 INFO ipc.Client: Retrying connect to
    server: /10.66.74.86:60020. Already tried 4 time(s).

    But when i am trying to create table i got following error :

    Hbase> create table log(uname, uid);
    Creating table... Please wait.
    Exception in thread "main" java.lang.StringIndexOutOfBoundsException:
    String index out of range: -1
    at java.lang.String.substring(String.java:1938)
    at
    org.apache.hadoop.hbase.shell.BasicCommand.extractErrMsg(BasicCommand.java:60)
    at
    org.apache.hadoop.hbase.shell.BasicCommand.extractErrMsg(BasicCommand.java:64)
    at
    org.apache.hadoop.hbase.shell.CreateCommand.execute(CreateCommand.java:61)
    at org.apache.hadoop.hbase.Shell.main(Shell.java:96)

    Can any one please sent me some good tutorials for making settings
    related Hbase successful execution so that such errors should not
    execute.

    ---
    Peeyush Bishnoi

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-user @
categorieshadoop
postedJan 25, '08 at 10:45a
activeJan 25, '08 at 10:32p
posts3
users3
websitehadoop.apache.org...
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase