Never got the "-c" argument to work, but when I setup the following
environment vars, it was happy:

export HBASE_HOME <path-to-hbase>
added hbase conf dir to CLASSPATH
added hbase conf dir to HADOOP_CLASSPATH

not sure which of those did the trick, but I'm good now and I guess
hadoop now "knows about my hbase" via the environment variables.

-geoff

-----Original Message-----
From: Geoff Hendrey 
Sent: Wednesday, May 25, 2011 11:29 AM
To: [email protected]
Subject: RE: bulkloader zookeeper connectString

Thanks for the pointer. I read the doc, and somehow had missed that
argument.

-geoff

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of
Jean-Daniel Cryans
Sent: Wednesday, May 25, 2011 10:40 AM
To: [email protected]
Subject: Re: bulkloader zookeeper connectString

>From the doc at http://hbase.apache.org/bulk-loads.html

The -c config-file option can be used to specify a file containing the
appropriate hbase parameters (e.g., hbase-site.xml) if not supplied
already on the CLASSPATH (In addition, the CLASSPATH must contain the
directory that has the zookeeper configuration file if zookeeper is
NOT managed by HBase).

It seems your hadoop doesn't know about hbase's configuration.

J-D

On Tue, May 24, 2011 at 9:41 PM, Geoff Hendrey <[email protected]>
wrote:
> Hi -
>
>
>
> How can I pass the zookeeper connectString to the completebulkoad
> utility so that it will not try to use the default "localhost".
>
>
>
> -geof
>
>

Reply via email to