Hi,
This has been discussed before. 
Find the thread:
Help with NPE during bulk load (completebulkload)

Completebulkload doesn't load the HBase configuration properly

T‏ry :
completebulkload -Dhbase.cluster.distributed=true /tmp/output myTable

> Subject: completebulkload Exception
> To: [email protected]
> From: [email protected]
> Date: Fri, 10 Jun 2011 15:28:12 +0800
> 
> 
> 
> Hi,
> 
> There was a exception found when I use completebulkload.
> Is there anything wrong with my format in zoo.cfg?
> Any suggestions would be appreciated!
> 
> hadoop jar /usr/lib/hbase/hbase-0.90.1-cdh3u0.jar
> completebulkload /tmp/output myTable
> 
> my zoo.cfg in /hadoop/conf
> 
> clientPort=2181
> server.0=10.46.35.127:2888:3888
> server.1=10.46.35.128:2888:3888
> server.2=10.46.35.130:2888:3888
> 
> 
> 
> Exception in thread "main" java.lang.NullPointerException
>         at org.apache.hadoop.hbase.zookeeper.ZKConfig.parseZooCfg
> (ZKConfig.java:167)
>         at org.apache.hadoop.hbase.zookeeper.ZKConfig.makeZKProps
> (ZKConfig.java:69)
>         at
> org.apache.hadoop.hbase.zookeeper.ZKConfig.getZKQuorumServersString
> (ZKConfig.java:250)
>         at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>
> (ZooKeeperWatcher.java:113)
>         at org.apache.hadoop.hbase.client.HConnectionManager
> $HConnectionImplementation.getZooKeeperWatcher(HConnectionManager.java:989)
>         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)
> 
> Fleming Chiu(邱宏明)
> Be Veg, Go Green, Save the Planet!
>  --------------------------------------------------------------------------- 
>                                                          TSMC PROPERTY       
>  This email communication (and any attachments) is proprietary information   
>  for the sole use of its                                                     
>  intended recipient. Any unauthorized review, use or distribution by anyone  
>  other than the intended                                                     
>  recipient is strictly prohibited.  If you are not the intended recipient,   
>  please notify the sender by                                                 
>  replying to this email, and then delete this email and any copies of it     
>  immediately. Thank you.                                                     
>  --------------------------------------------------------------------------- 
> 
> 
> 
                                          

Reply via email to