Return-Path: Delivered-To: apmail-hadoop-hbase-user-archive@minotaur.apache.org Received: (qmail 43373 invoked from network); 6 Jul 2009 23:39:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Jul 2009 23:39:04 -0000 Received: (qmail 87804 invoked by uid 500); 6 Jul 2009 23:39:14 -0000 Delivered-To: apmail-hadoop-hbase-user-archive@hadoop.apache.org Received: (qmail 87725 invoked by uid 500); 6 Jul 2009 23:39:14 -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 87715 invoked by uid 99); 6 Jul 2009 23:39:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2009 23:39:14 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of saint.ack@gmail.com designates 74.125.92.27 as permitted sender) Received: from [74.125.92.27] (HELO qw-out-2122.google.com) (74.125.92.27) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2009 23:39:03 +0000 Received: by qw-out-2122.google.com with SMTP id 8so1711733qwh.35 for ; Mon, 06 Jul 2009 16:38:42 -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 :content-type; bh=ri+Dbx3yRz0Ho9Ym2mEUj3qX5dKelfwPpHNqx42IfFE=; b=xkzqRgyT50MGTucf+N0iFW2gbkMFN2TaYDgXJ14dMhmqoicT0COaQLvsaxLiovMDyE MU+RjvFhzkfdX5pf41kN5bWYfEcV6ee+6lv+DZDypP89gPPTmx+TpvmGnSNh3XGs1LKH 7tLnqNMtan9+llItkeV1kRag6RgVrbSu8EPpI= 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:content-type; b=LIUP7356u053PffJxVy+l0yNmcTwvtS10ejSpsPDGNa6YPusNNga319i7ZMiV3knk+ /wB+Mh8IJ5ZRC7ttT/rekAzRQim5BL93I6IXJpm++nJ4gNGS9UA7mUOlHqiML5IWK0IU gEu3IDf6kfTSVzStOPC2wvm+2wJqiIG4t4cvc= MIME-Version: 1.0 Sender: saint.ack@gmail.com Received: by 10.229.86.196 with SMTP id t4mr2715889qcl.39.1246923522491; Mon, 06 Jul 2009 16:38:42 -0700 (PDT) In-Reply-To: <0D042981D232BC4D853B740E466A047C01768ED7@NBP-MAIL1.proteus-technologies.com> References: <0D042981D232BC4D853B740E466A047C01768ED7@NBP-MAIL1.proteus-technologies.com> Date: Mon, 6 Jul 2009 16:38:42 -0700 X-Google-Sender-Auth: 50a5a38a6efa855d Message-ID: <7c962aed0907061638q58c25841o5737373700a47f23@mail.gmail.com> Subject: Re: HBase Error From: stack To: hbase-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=0016368325a89ec67c046e12010c X-Virus-Checked: Checked by ClamAV on apache.org --0016368325a89ec67c046e12010c Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit You have added the hbase-site.xml where? Is it in the hadoop conf directory or have you added the hbase conf directory to HADOOP_CLASSPATH in hadoop-env.sh? Or did you build the hbase-site.xml into your job jar? St.Ack On Mon, Jul 6, 2009 at 3:41 PM, John I. Noecker Jr. wrote: > Hello all, > > > > I am using HBase within a Map/Reduce job, and when I run the job, it > exits with the following error: > > > > 09/07/06 18:34:42 INFO mapred.JobClient: Task Id : > attempt_200907061758_0004_m_000000_0, Status : FAILED > > org.apache.hadoop.hbase.MasterNotRunningException: localhost:60000 > > at > org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getMaster > (HConnectionManager.java:239) > > at > org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateReg > ion(HConnectionManager.java:439) > > at org.apache.hadoop.hbase.client.HTable.(HTable.java:115) > > at org.apache.hadoop.hbase.client.HTable.(HTable.java:98) > > at com.proteus.athena.hadoop.xml.XmlMapper.map(XmlMapper.java:74) > > at com.proteus.athena.hadoop.xml.XmlMapper.map(XmlMapper.java:1) > > at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50) > > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:342) > > at org.apache.hadoop.mapred.Child.main(Child.java:158) > > > > I am running Hadoop 0.19.1 with HBase 0.19.3. I have a cluster of 5 > nodes, with one node (named 'elroy' == 10.1.0.200) serving as the Hadoop > namenode and jobtracker and the HBase Master. > > > > My hbase-site.xml: > > > > > > hbase.rootdir > > hdfs://elroy/hbase > > > > > > > > hbase.master > > elroy:6000 > > > > > > > > My regionservers: > > 10.1.0.200 > > 10.1.0.201 > > 10.1.0.202 > > 10.1.0.203 > > 10.1.0.204 > > > > It seems that when the Map/Reduce job attempts to contact the HBase > database, it tries to do so on localhost:6000 instead of elroy:6000... > Since I have hbase.master set in hbase-site.xml, I am not sure why it is > doing this. > > > > Any suggestions? > > > > Thanks, > > John Noecker Jr. > > --0016368325a89ec67c046e12010c--