Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # user >> Error - Bulk Impoert Using Hfile on Command Line


+
Arsalan Bilal 2011-09-12, 08:28
Copy link to this message
-
Re: Error - Bulk Impoert Using Hfile on Command Line
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
+
Arsalan Bilal 2011-09-12, 13:50
+
Stack 2011-09-12, 17:13
+
Arsalan Bilal 2011-09-13, 07:22
+
Stack 2011-09-13, 15:15