hbase-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/HBASE-7668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13562272#comment-13562272
] 

张双福 commented on HBASE-7668:
----------------------------

the master log :hbase-root-master-yun1.***.com.cn.log
2013-01-24 09:19:39,979 INFO org.apache.hadoop.hbase.master.ActiveMasterManager: Master=172.17.32.81,60000,1358990379321
2013-01-24 09:19:40,509 WARN org.apache.hadoop.conf.Configuration: fs.default.name is deprecated.
Instead, use fs.defaultFS
2013-01-24 09:19:40,513 DEBUG org.apache.hadoop.hbase.master.SplitLogManager: timeout = 25000
2013-01-24 09:19:40,513 DEBUG org.apache.hadoop.hbase.master.SplitLogManager: unassigned timeout
= 180000
2013-01-24 09:19:40,517 INFO org.apache.hadoop.hbase.master.SplitLogManager: found 0 orphan
tasks and 0 rescan nodes
2013-01-24 09:19:40,591 INFO org.apache.hadoop.hbase.util.FSUtils: Waiting for dfs to exit
safe mode...
2013-01-24 09:19:50,593 INFO org.apache.hadoop.hbase.util.FSUtils: Waiting for dfs to exit
safe mode...
2013-01-24 09:20:00,595 INFO org.apache.hadoop.hbase.util.FSUtils: Waiting for dfs to exit
safe mode...

But!!!!!!!!!!I have choose leave the safe model 
2013-01-24 09:19:39,979 INFO org.apache.hadoop.hbase.master.ActiveMasterManager: Master=172.17.32.81,60000,1358990379321
2013-01-24 09:19:40,509 WARN org.apache.hadoop.conf.Configuration: fs.default.name is deprecated.
Instead, use fs.defaultFS
2013-01-24 09:19:40,513 DEBUG org.apache.hadoop.hbase.master.SplitLogManager: timeout = 25000
2013-01-24 09:19:40,513 DEBUG org.apache.hadoop.hbase.master.SplitLogManager: unassigned timeout
= 180000
2013-01-24 09:19:40,517 INFO org.apache.hadoop.hbase.master.SplitLogManager: found 0 orphan
tasks and 0 rescan nodes
2013-01-24 09:19:40,591 INFO org.apache.hadoop.hbase.util.FSUtils: Waiting for dfs to exit
safe mode...
2013-01-24 09:19:50,593 INFO org.apache.hadoop.hbase.util.FSUtils: Waiting for dfs to exit
safe mode...
2013-01-24 09:20:00,595 INFO org.apache.hadoop.hbase.util.FSUtils: Waiting for dfs to exit
safe mode...

I have commit the :hadoop dfsadmin -safemode leave

[root@yun1 logs]#  hadoop dfsadmin -safemode get
DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.

Safe mode is OFF

Can anyone tell me ,with  full of appreciate,
god bless you. ^_^
                
> 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:
> 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> 

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