hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From T Vinod Gupta <tvi...@readypulse.com>
Subject Re: is it possible to run mapreduce on an hbase standalone instance?
Date Fri, 02 Mar 2012 23:49:07 GMT
thanks Doug.. But i don't have a zoo.cfg in my installation.. where do i
get that from and place it where?

On Fri, Mar 2, 2012 at 3:40 PM, Doug Meil <doug.meil@explorysmedical.com>wrote:

>
> Yes, you can do MR against standalone Hbase (it uses the LocalJobRunner
> just like stand-alone Hadoop).
>
> I'd focus on this error...
>
> "12/03/02 21:42:13 ERROR zookeeper.ZKConfig: no clientPort found in
> zoo.cfg"
>
>
>
>
> On 3/2/12 6:14 PM, "T Vinod Gupta" <tvinod@readypulse.com> wrote:
>
> >hi,
> >im wondering if what im trying to do is even possible in the standalone
> >mode of hbase?
> >when i try to run my job, i get this error stack -
> >
> >12/03/02 21:42:13 ERROR zookeeper.ZKConfig: no clientPort found in zoo.cfg
> >12/03/02 21:42:13 ERROR mapreduce.TableInputFormat:
> >org.apache.hadoop.hbase.ZooKeeperConnectionException: java.io.IOException:
> >Unable to determine ZooKeeper ensemble
> >        at
> >org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementatio
> >n.getZooKeeperWatcher(HConnectionManager.java:1000)
> >        at
> >org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementatio
> >n.setupZookeeperTrackers(HConnectionManager.java:303)
> >        at
> >org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementatio
> >n.<init>(HConnectionManager.java:294)
> >        at
> >org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectio
> >nManager.java:156)
> >        at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:167)
> >        at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:145)
> >        at
> >org.apache.hadoop.hbase.mapreduce.TableInputFormat.setConf(TableInputForma
> >t.java:91)
> >        at
> >org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:62)
> >        at
> >org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:11
> >7)
> >        at
> >org.apache.hadoop.mapred.JobClient.writeNewSplits(JobClient.java:882)
> >        at
> >org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:779)
> >        at org.apache.hadoop.mapreduce.Job.submit(Job.java:432)
> >        at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:448)
> >....
> >Caused by: java.io.IOException: Unable to determine ZooKeeper ensemble
> >        at
> >org.apache.hadoop.hbase.zookeeper.ZKUtil.connect(ZKUtil.java:92)
> >        at
> >org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>(ZooKeeperWatcher
> >.java:119)
> >        at
> >org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementatio
> >n.getZooKeeperWatcher(HConnectionManager.java:998)
> >        ... 17 more
> >
> >thanks
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message