Return-Path: Delivered-To: apmail-hadoop-hbase-user-archive@minotaur.apache.org Received: (qmail 22482 invoked from network); 27 May 2009 17:34:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 May 2009 17:34:19 -0000 Received: (qmail 57173 invoked by uid 500); 27 May 2009 17:34:31 -0000 Delivered-To: apmail-hadoop-hbase-user-archive@hadoop.apache.org Received: (qmail 57134 invoked by uid 500); 27 May 2009 17:34:31 -0000 Mailing-List: contact hbase-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-user@hadoop.apache.org Delivered-To: mailing list hbase-user@hadoop.apache.org Received: (qmail 57124 invoked by uid 99); 27 May 2009 17:34:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 May 2009 17:34:31 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jdcryans@gmail.com designates 209.85.220.176 as permitted sender) Received: from [209.85.220.176] (HELO mail-fx0-f176.google.com) (209.85.220.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 May 2009 17:34:23 +0000 Received: by fxm24 with SMTP id 24so5905837fxm.29 for ; Wed, 27 May 2009 10:34:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=kVf82vcvO6dUzzOGybu7XO5egPh35wbxmKxlGUASkDc=; b=aQuAGyNRuNd6bEChZoY/Tjg0Nhjk3pDWwx0FLG+5JGra2nL6Tvy57iN0U7LMsS9OZo Cj1W+U8wZ5rkR9QB7btMAgyUxseP4G8qiVW9lG660AZkwE+9xtKOjL5njNhsZbMA1LTN oXMc8BURy6hUF41A5GLSoZudwmolerQGDPPEY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=STMqwBN6wsuY5IHEwy8LZZEL0BAxK8Ei3ywa2mEy3koPAG7SioskeXEPRu6aT3bxYe J8dFGsd/FMcnwa08J+CWyvcAHQ0MoiyaNbjhbtqdtDlFUVm2l/2gF3toxJJ6KA5myALD gGvnVWF+QClCnNl/vxLoUYbKjDvVjLLuaU9C0= MIME-Version: 1.0 Sender: jdcryans@gmail.com Received: by 10.223.105.16 with SMTP id r16mr292903fao.24.1243445640574; Wed, 27 May 2009 10:34:00 -0700 (PDT) In-Reply-To: <17e74dd00905271026s1b61a534m37290a4c5b01c835@mail.gmail.com> References: <17e74dd00905262129v5e3ea224ya5b3cac5b6565559@mail.gmail.com> <31a243e70905270501o761e339fg4c75a427b11b5315@mail.gmail.com> <17e74dd00905271026s1b61a534m37290a4c5b01c835@mail.gmail.com> Date: Wed, 27 May 2009 13:34:00 -0400 X-Google-Sender-Auth: 759ea024da7fbb14 Message-ID: <31a243e70905271034t30206fa8tade2bd78a40daac@mail.gmail.com> Subject: Re: problem in configuring hbase with hdfs From: Jean-Daniel Cryans To: hbase-user@hadoop.apache.org Cc: andy2005cst@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org You should just subscribe to the mailing list and directly write to it http://hadoop.apache.org/hbase/mailing_lists.html#Users ;) If you can get, it means it works. You could also check if any datanode is registered with the web ui at port 50070 60020 is the region server, is there anything wrong in the master log or in the region server log? Thx, J-D On Wed, May 27, 2009 at 1:26 PM, Xudong Du wrote: > J-D: > > Thank you very much for your reply. =A0I add "hbase-user@hadoop.apache.or= g" to > "send to" of this email, so I think it will be seen by emaillist. > > I do find datanode's log file show that it does not work, but when i solv= e > the datanode problem, the hbase still does not work. > > is hadoop dir, I run bin/hadoop -put and -get , it works well, does this > mean the dfs is ok? > but when i run hbase shell, when i user command: list, it still does not > work, but to show: > > hbase(main):001:0> list > 09/05/28 01:18:23 INFO ipc.HBaseClass: Retrying connect to server: / > 127.0.0.1:60020. Already tried 0 time(s). > 09/05/28 01:18:24 INFO ipc.HBaseClass: Retrying connect to server: / > 127.0.0.1:60020. Already tried 1 time(s). > 09/05/28 01:18:25 INFO ipc.HBaseClass: Retrying connect to server: / > 127.0.0.1:60020. Already tried 2 time(s). > 09/05/28 01:18:25 INFO ipc.HbaseRPC: Server at /127.0.0.1:60020 not > available yet, Zzzzz... > 09/05/28 01:18:25 INFO ipc.HbaseRPC: Server at /127.0.0.1:60020 could not= be > reached after 1 tries, giving up. > 09/05/28 01:18:26 INFO ipc.HBaseClass: Retrying connect to server: / > 127.0.0.1:60020. Already tried 0 time(s). > 09/05/28 01:18:27 INFO ipc.HBaseClass: Retrying connect to server: / > 127.0.0.1:60020. Already tried 1 time(s). > 09/05/28 01:18:28 INFO ipc.HBaseClass: Retrying connect to server: / > 127.0.0.1:60020. Already tried 2 time(s). > 09/05/28 01:18:28 INFO ipc.HbaseRPC: Server at /127.0.0.1:60020 not > available yet, Zzzzz... > 09/05/28 01:18:28 INFO ipc.HbaseRPC: Server at /127.0.0.1:60020 could not= be > reached after 1 tries, giving up. > andy2005cst@xmlgroup-desktop:~/working-system/hbase-0.19.2$ HBase Shell; > enter 'help' for list of supported commands. > Version: 0.19.2, r771918, Tue May =A05 16:08:54 PDT 2009 > hbase(main):001:0> list > 09/05/28 01:18:23 INFO ipc.HBaseClass: Retrying connect to server: / > 127.0.0.1:60020. Already tried 0 time(s). > 09/05/28 01:18:24 INFO ipc.HBaseClass: Retrying connect to server: / > 127.0.0.1:60020. Already tried 1 time(s). > 09/05/28 01:18:25 INFO ipc.HBaseClass: Retrying connect to server: / > 127.0.0.1:60020. Already tried 2 time(s). > 09/05/28 01:18:25 INFO ipc.HbaseRPC: Server at /127.0.0.1:60020 not > available yet, Zzzzz... > 09/05/28 01:18:25 INFO ipc.HbaseRPC: Server at /127.0.0.1:60020 could not= be > reached after 1 tries, giving up. > 09/05/28 01:18:26 INFO ipc.HBaseClass: Retrying connect to server: / > 127.0.0.1:60020. Already tried 0 time(s). > 09/05/28 01:18:27 INFO ipc.HBaseClass: Retrying connect to server: / > 127.0.0.1:60020. Already tried 1 time(s). > 09/05/28 01:18:28 INFO ipc.HBaseClass: Retrying connect to server: / > 127.0.0.1:60020. Already tried 2 time(s). > 09/05/28 01:18:28 INFO ipc.HbaseRPC: Server at /127.0.0.1:60020 not > available yet, Zzzzz... > 09/05/28 01:18:28 INFO ipc.HbaseRPC: Server at /127.0.0.1:60020 could not= be > reached after 1 tries, giving up. > > > > On Wed, May 27, 2009 at 8:01 PM, Jean-Daniel Cryans = wrote: > >> Xudong Du, >> >> While I appreciate answering HBase questions, I prefer to do that on >> the HBase users mailing list for everyone's benefit. >> >> Your problem seems to be that the HDFS Namenode is running but you >> don't have any datanode, so the file was created in the namespace but >> you can't read it. Make sure your HDFS is ok before running HBase. >> BTW, that's the same resolution I gave later in the thread you pasted >> in your mail (March 18). >> >> I hope this solves your problem, >> >> J-D >> >> On Wed, May 27, 2009 at 12:29 AM, Xudong Du wrot= e: >> > J.D: >> > >> > Hi. I come across a problem the same as what is mentioned here: >> > >> http://mail-archives.apache.org/mod_mbox/hadoop-hbase-user/200903.mbox/%= 3C31a243e70903170456r7ad382c6j6c4624ccfc3333bc@mail.gmail.com%3E >> > >> > and i find out the log file, it showes below: >> > >> > 2009-05-27 11:21:55,824 FATAL org.apache.hadoop.hbase. >> > master.HMaster: Not starting HMaster because: >> > java.io.EOFException >> > =A0 =A0 =A0 =A0 at >> > java.io.DataInputStream.readUnsignedShort(DataInputStream.java:323) >> > =A0 =A0 =A0 =A0 at java.io.DataInputStream.readUTF(DataInputStream.jav= a:572) >> > =A0 =A0 =A0 =A0 at >> org.apache.hadoop.hbase.util.FSUtils.getVersion(FSUtils.java:101) >> > =A0 =A0 =A0 =A0 at >> > org.apache.hadoop.hbase.util.FSUtils.checkVersion(FSUtils.java:120) >> > =A0 =A0 =A0 =A0 at >> org.apache.hadoop.hbase.master.HMaster.(HMaster.java:212) >> > =A0 =A0 =A0 =A0 at >> org.apache.hadoop.hbase.master.HMaster.(HMaster.java:156) >> > =A0 =A0 =A0 =A0 at >> org.apache.hadoop.hbase.master.HMaster.(HMaster.java:156) >> > =A0 =A0 =A0 =A0 at sun.reflect.NativeConstructorAccessorImpl.newInstan= ce0(Native >> > Method) >> > =A0 =A0 =A0 =A0 at >> > >> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA= ccessorImpl.java:39) >> > =A0 =A0 =A0 =A0 at >> > >> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons= tructorAccessorImpl.java:27) >> > =A0 =A0 =A0 =A0 at >> java.lang.reflect.Constructor.newInstance(Constructor.java:513) >> > =A0 =A0 =A0 =A0 at >> org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1017) >> > =A0 =A0 =A0 =A0 at org.apache.hadoop.hbase.master.HMaster.main(HMaster= .java:1057) >> > 2009-05-27 11:21:55,825 ERROR org.apache.hadoop.hbase.master.HMaster: = Can >> > not start master >> > java.lang.reflect.InvocationTargetException >> > =A0 =A0 =A0 =A0 at sun.reflect.NativeConstructorAccessorImpl.newInstan= ce0(Native >> > Method) >> > =A0 =A0 =A0 =A0 at >> > >> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA= ccessorImpl.java:39) >> > =A0 =A0 =A0 =A0 at >> > >> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons= tructorAccessorImpl.java:27) >> > =A0 =A0 =A0 =A0 at >> java.lang.reflect.Constructor.newInstance(Constructor.java:513) >> > =A0 =A0 =A0 =A0 at >> org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1017) >> > =A0 =A0 =A0 =A0 at org.apache.hadoop.hbase.master.HMaster.main(HMaster= .java:1057) >> > Caused by: java.io.EOFException >> > =A0 =A0 =A0 =A0 at >> > java.io.DataInputStream.readUnsignedShort(DataInputStream.java:323) >> > =A0 =A0 =A0 =A0 at >> java.lang.reflect.Constructor.newInstance(Constructor.java:513) >> > =A0 =A0 =A0 =A0 at >> org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1017) >> > =A0 =A0 =A0 =A0 at org.apache.hadoop.hbase.master.HMaster.main(HMaster= .java:1057) >> > 2009-05-27 11:21:55,825 ERROR org.apache.hadoop.hbase.master.HMaster: = Can >> > not start master >> > java.lang.reflect.InvocationTargetException >> > =A0 =A0 =A0 =A0 at sun.reflect.NativeConstructorAccessorImpl.newInstan= ce0(Native >> > Method) >> > =A0 =A0 =A0 =A0 at >> > >> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA= ccessorImpl.java:39) >> > =A0 =A0 =A0 =A0 at >> > >> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons= tructorAccessorImpl.java:27) >> > =A0 =A0 =A0 =A0 at >> java.lang.reflect.Constructor.newInstance(Constructor.java:513) >> > =A0 =A0 =A0 =A0 at >> org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1017) >> > =A0 =A0 =A0 =A0 at org.apache.hadoop.hbase.master.HMaster.main(HMaster= .java:1057) >> > Caused by: java.io.EOFException >> > =A0 =A0 =A0 =A0 at >> > java.io.DataInputStream.readUnsignedShort(DataInputStream.java:323) >> > =A0 =A0 =A0 =A0 at java.io.DataInputStream.readUTF(DataInputStream.jav= a:572) >> > =A0 =A0 =A0 =A0 at >> org.apache.hadoop.hbase.util.FSUtils.getVersion(FSUtils.java:101) >> > =A0 =A0 =A0 =A0 at >> > org.apache.hadoop.hbase.util.FSUtils.checkVersion(FSUtils.java:120) >> > =A0 =A0 =A0 =A0 at >> org.apache.hadoop.hbase.master.HMaster.(HMaster.java:212) >> > =A0 =A0 =A0 =A0 at >> org.apache.hadoop.hbase.master.HMaster.(HMaster.java:156) >> > =A0 =A0 =A0 =A0 ... 6 more >> > >> > >> > how to solve it? looking forward your reply. >> > >> > >> > Andy >> > >> > -- >> > Yours Sincerely >> > Xudong Du >> > Zijing 2# 305A >> > Tsinghua University, Beijing, China, 100084 >> > >> > > > > -- > Yours Sincerely > Xudong Du > Zijing 2# 305A > Tsinghua University, Beijing, China, 100084 >