hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 张双福 (JIRA) <j...@apache.org>
Subject [jira] [Updated] (HBASE-7668) I have a hbase problem
Date Fri, 25 Jan 2013 05:09:13 GMT

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

张双福 updated HBASE-7668:
-----------------------

    Description: 
I have a problem that I have been trap weeks, can somebody can help me?
 With full of appreciate
The problem is below:
I have writed about 1G data to the hbase ,then it does not work.
when I set the  hadoop dfsadmin -safemode leave ,then the hbase can use "list" command,but
when i use "count 'tableTest' or get ,put and so on ,finaly ,It tell me below:

hbase(main):002:0> count 'zsfTest'

ERROR: org.apache.hadoop.hbase.NotServingRegionException: org.apache.hadoop.hbase.NotServingRegionException:
Region is not online: -ROOT-,,0
        at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegion(HRegionServer.java:2862)
        at org.apache.hadoop.hbase.regionserver.HRegionServer.getClosestRowBefore(HRegionServer.java:1768)
        at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:364)
        at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1336)

Here is some help for this command:
Courows in a table. This operation may take a LONG
time (Run '$HADOOP_HOME/bin/hadoop jar hbase.jar rowcount' to run a
counting mapreduce job). Current count is shown every 1000 rows by
default. Count interval may be optionally specified. Scan caching
is enabled on count scans by default. Default cache size is 10 rows.
If your rows are small in size, you may want to increase this
parameter. Examples:

 hbase> count 't1'
 hbase> count 't1', INTERVAL => 100000
 hbase> count 't1', CACHE => 1000
 hbase> count 't1', INTERVAL => 10, CACHE => 1000


hbase(main):003:0> 

  was:
I have a problem that I have been trap weeks, can somebody can help me?
 With full of appreciate
The problem is below:
I have writed about 1G data to the hbase ,then it does not work.
when I set the  hadoop dfsadmin -safemode leave ,then the hbase can use "list" command,but
when i use "count 'tableTest' or get ,put and so on ,finaly ,It tell me below:

hbase(main):002:0> count 'zsfTest'

ERROR: org.apache.hadoop.hbase.NotServingRegionException: org.apache.hadoop.hbase.NotServingRegionException:
Region is not online: -ROOT-,,0
        at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegion(HRegionServer.java:2862)
        at org.apache.hadoop.hbase.regionserver.HRegionServer.getClosestRowBefore(HRegionServer.java:1768)
        at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:364)
        at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1336)

Here is some help for this command:
Count the number of rows in a table. This operation may take a LONG
time (Run '$HADOOP_HOME/bin/hadoop jar hbase.jar rowcount' to run a
counting mapreduce job). Current count is shown every 1000 rows by
default. Count interval may be optionally specified. Scan caching
is enabled on count scans by default. Default cache size is 10 rows.
If your rows are small in size, you may want to increase this
parameter. Examples:

 hbase> count 't1'
 hbase> count 't1', INTERVAL => 100000
 hbase> count 't1', CACHE => 1000
 hbase> count 't1', INTERVAL => 10, CACHE => 1000


hbase(main):003:0> 

    
> I have a hbase problem
> ----------------------
>
>                 Key: HBASE-7668
>                 URL: https://issues.apache.org/jira/browse/HBASE-7668
>             Project: HBase
>          Issue Type: Bug
>            Reporter: 张双福
>
> I have a problem that I have been trap weeks, can somebody can help me?
>  With full of appreciate
> The problem is below:
> I have writed about 1G data to the hbase ,then it does not work.
> when I set the  hadoop dfsadmin -safemode leave ,then the hbase can use "list" command,but
when i use "count 'tableTest' or get ,put and so on ,finaly ,It tell me below:
> hbase(main):002:0> count 'zsfTest'
> ERROR: org.apache.hadoop.hbase.NotServingRegionException: org.apache.hadoop.hbase.NotServingRegionException:
Region is not online: -ROOT-,,0
>         at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegion(HRegionServer.java:2862)
>         at org.apache.hadoop.hbase.regionserver.HRegionServer.getClosestRowBefore(HRegionServer.java:1768)
>         at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:364)
>         at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1336)
> Here is some help for this command:
> Courows in a table. This operation may take a LONG
> time (Run '$HADOOP_HOME/bin/hadoop jar hbase.jar rowcount' to run a
> counting mapreduce job). Current count is shown every 1000 rows by
> default. Count interval may be optionally specified. Scan caching
> is enabled on count scans by default. Default cache size is 10 rows.
> If your rows are small in size, you may want to increase this
> parameter. Examples:
>  hbase> count 't1'
>  hbase> count 't1', INTERVAL => 100000
>  hbase> count 't1', CACHE => 1000
>  hbase> count 't1', INTERVAL => 10, CACHE => 1000
> hbase(main):003:0> 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message