hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Meil <doug.m...@explorysmedical.com>
Subject Re: is it possible to run mapreduce on an hbase standalone instance?
Date Fri, 02 Mar 2012 23:40:09 GMT

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
View raw message