> INFO dfs.Storage: Cannot lock storage /tmp/hadoop-hadoop/dfs/name. The
> directory is already locked.

Kill all daemons, delete namenode and then re-format.

> But in fact, there is not such directory
> /tmp/hadoop-hadoop/hbase/log_yangbin_60010 in my machine.

I think it seems like file info still remains in namenode.
I'll go see it tomorrow. (My notebook battery is gone)

or Michael St.Ack on deck?

Thanks,
Edward.

----
B. Regards,
Edward yoon (Assistant Manager/R&D Center/NHN, corp.)
+82-31-600-6183, +82-10-7149-7856


> Date: Thu, 18 Oct 2007 21:44:54 +0800
> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: Re: A basic question on HBase
>
> Hi edward yoon,
>
> I try to reformat the namenode, but it is forbidden, because
>
> INFO dfs.Storage: Cannot lock storage /tmp/hadoop-hadoop/dfs/name. The
> directory is already locked.
>
> And another thing, though the log tells me that:
> Can not start region server because
> org.apache.hadoop.hbase.RegionServerRunningException: region server
> already running at 127.0.1.1:60010 because logdir
> /tmp/hadoop-hadoop/hbase/log_yangbin_60010 exists
>
> But in fact, there is not such directory
> /tmp/hadoop-hadoop/hbase/log_yangbin_60010 in my machine.
>
>
> Do you have a old version of HBase, which can run correctly?
> And Could you tell me where can I download it?
>
> Thank you very much for your help!
>
> Best wishes,
> Bin YANG
>
>
>
> On 10/18/07, edward yoon  wrote:
>>
>>> 2007-10-18 18:22:05,874 ERROR org.apache.hadoop.hbase.HRegionServer:
>>> Can not start region server because
>>> org.apache.hadoop.hbase.RegionServerRunningException: region server
>>> already running at 127.0.1.1:60010 because logdir
>>> /tmp/hadoop-hadoop/hbase/log_yangbin_60010 exists
>>
>> It was true, though.
>> Region server has not started.
>> I think it looks like a bug, Let me see about it.
>>
>> (Maybe you should re-format the namenodes)
>>
>> ----
>> B. Regards,
>> Edward yoon (Assistant Manager/R&D Center/NHN, corp.)
>> +82-31-600-6183, +82-10-7149-7856
>>
>>
>>> Date: Thu, 18 Oct 2007 20:14:44 +0800
>>> From: [EMAIL PROTECTED]
>>> To: [email protected]
>>> Subject: Re: A basic question on HBase
>>> CC: [EMAIL PROTECTED]
>>>
>>> Dear edward,
>>>
>>> I will show you the steps what I have done:
>>>
>>> 1. hadoop-site.xml
>>>
>>>
>>> fs.default.name
>>> localhost:9000
>>> Namenode
>>>
>>>
>>>
>>> mapred.job.tracker
>>> localhost:9001
>>> JobTracker
>>>
>>>
>>>
>>> dfs.replication
>>> 1
>>>
>>>
>>> 2. /hadoop-0.14.2$ bin/hadoop namenode -format
>>> 3. bin/start-all.sh
>>> 4. hbase.site.xml
>>>
>>>
>>>
>>> hbase.master
>>> localhost:60000
>>> The host and port that the HBase master runs at.
>>> TODO: Support 'local' (All running in single context).
>>>
>>>
>>>
>>> hbase.regionserver
>>> localhost:60010
>>> The host and port a HBase region server runs at.
>>>
>>>
>>>
>>>
>>>
>>> 5. bin/hbase-start.sh
>>>
>>> The log:
>>> 1. hbase-hadoop-regionserver-yangbin.log
>>>
>>> 2007-10-18 15:40:58,588 INFO org.apache.hadoop.util.NativeCodeLoader:
>>> Loaded the native-hadoop library
>>> 2007-10-18 15:40:58,592 INFO
>>> org.apache.hadoop.io.compress.zlib.ZlibFactory: Successfully loaded &
>>> initialized native-zlib library
>>> 2007-10-18 15:40:58,690 INFO org.apache.hadoop.ipc.Server: IPC Server
>>> listener on 60010: starting
>>> 2007-10-18 15:40:58,692 INFO org.apache.hadoop.ipc.Server: IPC Server
>>> handler 3 on 60010: starting
>>> 2007-10-18 15:40:58,694 INFO org.apache.hadoop.ipc.Server: IPC Server
>>> handler 4 on 60010: starting
>>> 2007-10-18 15:40:58,692 INFO org.apache.hadoop.ipc.Server: IPC Server
>>> handler 2 on 60010: starting
>>> 2007-10-18 15:40:58,691 INFO org.apache.hadoop.ipc.Server: IPC Server
>>> handler 1 on 60010: starting
>>> 2007-10-18 15:40:58,696 INFO org.apache.hadoop.ipc.Server: IPC Server
>>> handler 5 on 60010: starting
>>> 2007-10-18 15:40:58,691 INFO org.apache.hadoop.ipc.Server: IPC Server
>>> handler 0 on 60010: starting
>>> 2007-10-18 15:40:58,696 INFO org.apache.hadoop.ipc.Server: IPC Server
>>> handler 6 on 60010: starting
>>> 2007-10-18 15:40:58,697 INFO org.apache.hadoop.ipc.Server: IPC Server
>>> handler 7 on 60010: starting
>>> 2007-10-18 15:40:58,698 INFO org.apache.hadoop.ipc.Server: IPC Server
>>> handler 8 on 60010: starting
>>> 2007-10-18 15:40:58,699 INFO org.apache.hadoop.hbase.HRegionServer:
>>> HRegionServer started at: 127.0.1.1:60010
>>> 2007-10-18 15:40:58,709 INFO org.apache.hadoop.ipc.Server: IPC Server
>>> handler 9 on 60010: starting
>>> 2007-10-18 15:40:58,867 INFO org.apache.hadoop.hbase.HStore: HStore
>>> online for --ROOT--,,0/info
>>> 2007-10-18 15:40:58,872 INFO org.apache.hadoop.hbase.HRegion: region
>>> --ROOT--,,0 available
>>> 2007-10-18 18:21:55,558 INFO org.apache.hadoop.ipc.Client: Retrying
>>> connect to server: localhost/127.0.0.1:60000. Already tried 1 time(s).
>>> 2007-10-18 18:21:56,577 INFO org.apache.hadoop.ipc.Client: Retrying
>>> connect to server: localhost/127.0.0.1:60000. Already tried 2 time(s).
>>> 2007-10-18 18:21:57,585 INFO org.apache.hadoop.ipc.Client: Retrying
>>> connect to server: localhost/127.0.0.1:60000. Already tried 3 time(s).
>>> 2007-10-18 18:21:58,593 INFO org.apache.hadoop.ipc.Client: Retrying
>>> connect to server: localhost/127.0.0.1:60000. Already tried 4 time(s).
>>> 2007-10-18 18:22:05,874 ERROR org.apache.hadoop.hbase.HRegionServer:
>>> Can not start region server because
>>> org.apache.hadoop.hbase.RegionServerRunningException: region server
>>> already running at 127.0.1.1:60010 because logdir
>>> /tmp/hadoop-hadoop/hbase/log_yangbin_60010 exists
>>> at org.apache.hadoop.hbase.HRegionServer.(HRegionServer.java:482)
>>> at org.apache.hadoop.hbase.HRegionServer.(HRegionServer.java:407)
>>> at org.apache.hadoop.hbase.HRegionServer.main(HRegionServer.java:1357)
>>>
>>> 2007-10-18 19:57:40,243 INFO org.apache.hadoop.util.NativeCodeLoader:
>>> Loaded the native-hadoop library
>>> 2007-10-18 19:57:40,274 INFO
>>> org.apache.hadoop.io.compress.zlib.ZlibFactory: Successfully loaded &
>>> initialized native-zlib library
>>> 2007-10-18 19:57:40,364 INFO org.apache.hadoop.ipc.Server: IPC Server
>>> listener on 60010: starting
>>> 2007-10-18 19:57:40,366 INFO org.apache.hadoop.ipc.Server: IPC Server
>>> handler 0 on 60010: starting
>>> 2007-10-18 19:57:40,367 INFO org.apache.hadoop.ipc.Server: IPC Server
>>> handler 1 on 60010: starting
>>> 2007-10-18 19:57:40,368 INFO org.apache.hadoop.ipc.Server: IPC Server
>>> handler 2 on 60010: starting
>>> 2007-10-18 19:57:40,368 INFO org.apache.hadoop.ipc.Server: IPC Server
>>> handler 3 on 60010: starting
>>> 2007-10-18 19:57:40,369 INFO org.apache.hadoop.ipc.Server: IPC Server
>>> handler 4 on 60010: starting
>>> 2007-10-18 19:57:40,370 INFO org.apache.hadoop.ipc.Server: IPC Server
>>> handler 5 on 60010: starting
>>> 2007-10-18 19:57:40,371 INFO org.apache.hadoop.ipc.Server: IPC Server
>>> handler 6 on 60010: starting
>>> 2007-10-18 19:57:40,371 INFO org.apache.hadoop.ipc.Server: IPC Server
>>> handler 7 on 60010: starting
>>> 2007-10-18 19:57:40,372 INFO org.apache.hadoop.ipc.Server: IPC Server
>>> handler 8 on 60010: starting
>>> 2007-10-18 19:57:40,373 INFO org.apache.hadoop.hbase.HRegionServer:
>>> HRegionServer started at: 127.0.1.1:60010
>>> 2007-10-18 19:57:40,384 INFO org.apache.hadoop.ipc.Server: IPC Server
>>> handler 9 on 60010: starting
>>> 2007-10-18 19:57:41,118 INFO org.apache.hadoop.hbase.HStore: HStore
>>> online for --ROOT--,,0/info
>>> 2007-10-18 19:57:41,125 INFO org.apache.hadoop.hbase.HRegion: region
>>> --ROOT--,,0 available
>>>
>>> 2. hbase-hadoop-master-yangbin.log
>>>
>>> There is a lot of the below statement
>>>
>>> 2007-10-18 15:52:52,885 INFO org.apache.hadoop.ipc.Client: Retrying
>>> connect to server: /127.0.1.1:60010. Already tried 1 time(s).
>>> 2007-10-18 15:52:53,892 INFO org.apache.hadoop.ipc.Client: Retrying
>>> connect to server: /127.0.1.1:60010. Already tried 2 time(s).
>>> 2007-10-18 15:52:54,900 INFO org.apache.hadoop.ipc.Client: Retrying
>>> connect to server: /127.0.1.1:60010. Already tried 3 time(s).
>>> 2007-10-18 15:52:55,904 INFO org.apache.hadoop.ipc.Client: Retrying
>>> connect to server: /127.0.1.1:60010. Already tried 4 time(s).
>>> 2007-10-18 15:52:56,912 INFO org.apache.hadoop.ipc.Client: Retrying
>>> connect to server: /127.0.1.1:60010. Already tried 5 time(s).
>>> 2007-10-18 15:52:57,924 INFO org.apache.hadoop.ipc.Client: Retrying
>>> connect to server: /127.0.1.1:60010. Already tried 6 time(s).
>>> 2007-10-18 15:52:58,928 INFO org.apache.hadoop.ipc.Client: Retrying
>>> connect to server: /127.0.1.1:60010. Already tried 7 time(s).
>>> 2007-10-18 15:52:59,932 INFO org.apache.hadoop.ipc.Client: Retrying
>>> connect to server: /127.0.1.1:60010. Already tried 8 time(s).
>>> 2007-10-18 15:53:00,936 INFO org.apache.hadoop.ipc.Client: Retrying
>>> connect to server: /127.0.1.1:60010. Already tried 9 time(s).
>>> 2007-10-18 15:53:01,939 INFO org.apache.hadoop.ipc.Client: Retrying
>>> connect to server: /127.0.1.1:60010. Already tried 10 time(s).
>>> 2007-10-18 15:53:02,943 INFO org.apache.hadoop.ipc.RPC: Server at
>>> /127.0.1.1:60010 not available yet, Zzzzz...
>>>
>>> --
>>> Bin YANG
>>> Department of Computer Science and Engineering
>>> Fudan University
>>> Shanghai, P. R. China
>>> EMail: [EMAIL PROTECTED]
>>
>> _________________________________________________________________
>> Explore the seven wonders of the world
>> http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
>>
>
>
> --
> Bin YANG
> Department of Computer Science and Engineering
> Fudan University
> Shanghai, P. R. China
> EMail: [EMAIL PROTECTED]

_________________________________________________________________
Peek-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us

Reply via email to