hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: Error - Bulk Impoert Using Hfile on Command Line
Date Mon, 12 Sep 2011 17:13:27 GMT
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 <charsalanbilal@gmail.com> 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 <joey@cloudera.com> wrote:
>
>> Is the zookeeper config directory in you CLASSPATH?
>>
>> On Mon, Sep 12, 2011 at 4:28 AM, Arsalan Bilal <charsalanbilal@gmail.com>
>> 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
>

Mime
View raw message