There is no conf directory in zookeeper

and i have entered this classpath in my *hadoop-env.sh* file
# Add ZooKeeper jars to the classpath
export ZK_HOME=/usr/lib/zookeeper
export ZK_CLASSPATH=$ZK_HOME/zookeeper-3.3.3-cdh3u0.jar
export HADOOP_CLASSPATH=$HBASE_CLASSPATH:$ZK_CLASSPATH


On Mon, Sep 12, 2011 at 10:13 PM, Stack <[email protected]> wrote:

> What Joey said.  Make sure the 'conf' dir is in your CLASSPATH.
> St.Ack
>
> On Mon, Sep 12, 2011 at 6:50 AM, Arsalan Bilal <[email protected]>
> wrote:
> > yes , i have configure zookeeper class path in hadoop-env.sh
> > but it did not solve error
> >
> > On Mon, Sep 12, 2011 at 4:19 PM, Joey Echeverria <[email protected]>
> wrote:
> >
> >> Is the zookeeper config directory in you CLASSPATH?
> >>
> >> On Mon, Sep 12, 2011 at 4:28 AM, Arsalan Bilal <
> [email protected]>
> >> wrote:
> >> > I have generated Hfile using Java program,Now  i am trying to put data
> in
> >> > habse using Bulk Import command line Tool.
> >> > The command i am using for Bulk Import
> >> > hadoop jar <Hbase Jar File Path> completebulkload <My Hfile Output
> >> Directory
> >> > Path on HDFS> <my Table Name>
> >> >
> >> > The eoors I am getting
> >> >
> >> > 11/09/12 12:44:58 ERROR zookeeper.ZKConfig: no clientPort found in
> >> zoo.cfg
> >> > Exception in thread "main"
> >> > org.apache.hadoop.hbase.ZooKeeperConnectionException:
> >> java.io.IOException:
> >> > Unable to determine ZooKeeper ensemble
> >> >    at
> >> >
> >>
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getZooKeeperWatcher(HConnectionManager.java:991)
> >> >    at
> >> >
> >>
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.setupZookeeperTrackers(HConnectionManager.java:302)
> >> >    at
> >> >
> >>
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.<init>(HConnectionManager.java:293)
> >> >    at
> >> >
> >>
> org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.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.LoadIncrementalHFiles.run(LoadIncrementalHFiles.java:311)
> >> >    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> >> >    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> >> >    at
> >> >
> >>
> org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.main(LoadIncrementalHFiles.java:318)
> >> >    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >> >    at
> >> >
> >>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >> >    at
> >> >
> >>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >> >    at java.lang.reflect.Method.invoke(Method.java:597)
> >> >    at
> >> >
> >>
> org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68)
> >> >    at
> org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139)
> >> >    at org.apache.hadoop.hbase.mapreduce.Driver.main(Driver.java:49)
> >> >    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >> >    at
> >> >
> >>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >> >    at
> >> >
> >>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >> >    at java.lang.reflect.Method.invoke(Method.java:597)
> >> >    at org.apache.hadoop.util.RunJar.main(RunJar.java:186)
> >> > 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$HConnectionImplementation.getZooKeeperWatcher(HConnectionManager.java:989)
> >> >
> >> >
> >> > My Zoo.cfg File have this setting
> >> > clientPort=2181
> >> > server.0=192.168.3.171:2888:3888
> >> >
> >> >
> >> > Please tell me what is solution of this.
> >> >
> >>
> >>
> >>
> >> --
> >> Joseph Echeverria
> >> Cloudera, Inc.
> >> 443.305.9434
> >>
> >
> >
> >
> > --
> > Best Regards,
> > Arsalan Bilal
> >
>



-- 
Best Regards,
Arsalan Bilal

Reply via email to