hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Néstor Boscán <nesto...@gmail.com>
Subject Re: Trying to connect HBase Java Client I get: "Failed to locate the winutils binary in the hadoop binary path"
Date Thu, 13 Nov 2014 17:06:38 GMT
I dont think winutils.exe is something that is in the dependency tree. And
its looking for that program using the HADOOP_HOME enviroment variable. So
it looks like its searching for a hadoop installation.

Regards,

Nestor

On Thursday, November 13, 2014, Dima Spivak <dspivak@cloudera.com> wrote:
> Have you tried using the Maven exec plugin outside the IDE? If all the
> right dependencies are available, it simply shouldn't complain about
> dependencies. :)
>
> -Dima
>
> On Thursday, November 13, 2014, Néstor Boscán <nestorjb@gmail.com> wrote:
>
>> Hi Dima
>>
>> Thanks for your quick answers.
>>
>> I'm running it directly in the Java IDE. And the project has all the
>> dependencies from Maven.
>>
>> Regards,
>>
>> Néstor
>>
>> On Thu, Nov 13, 2014 at 7:12 AM, Dima Spivak <dspivak@cloudera.com
>> <javascript:;>> wrote:
>>
>> > Nestor,
>> >
>> > You mention building your client with Maven, but how are you running it
>> > (i.e. are you sure the dependencies are actually made available to the
>> > client after it's built)?
>> >
>> > -Dima
>> >
>> > On Thu, Nov 13, 2014 at 3:37 AM, Néstor Boscán <nestorjb@gmail.com
>> <javascript:;>> wrote:
>> >
>> > > Hi Dima
>> > >
>> > > I've added the dependencies to hbase-client using maven. So, in
theory,
>> > all
>> > > dependecies should be in my classpath. But I still get the error.
>> > Settings
>> > > HADOOP_HOME point to a hadoop distribution fixes the problem but this
>> > means
>> > > that in my web application layer I will have to install the hadoop
>> > > distribution.
>> > >
>> > > Regards,
>> > >
>> > > Nestor
>> > >
>> > > On Thu, Nov 13, 2014 at 4:07 AM, Dima Spivak <dspivak@cloudera.com
>> <javascript:;>>
>> > wrote:
>> > >
>> > > > Nestor,
>> > > >
>> > > > No, you don't need a full distribution of Hadoop installed on your
>> > client
>> > > > machine as long as you have the necessary dependencies on the
>> classpath
>> > > > when you run the client.
>> > > >
>> > > > -Dima
>> > > >
>> > > > On Wed, Nov 12, 2014 at 4:47 PM, Néstor Boscán <nestorjb@gmail.com
>> <javascript:;>>
>> > > wrote:
>> > > >
>> > > > > Yes I already applied that.
>> > > > >
>> > > > > I just wanted to understand that if I have a web application
then
>> > I'll
>> > > > have
>> > > > > to have the hadoop distribution installed to use the hbase
client.
>> > > > >
>> > > > > Regards,
>> > > > >
>> > > > > Néstor
>> > > > >
>> > > > > On Wed, Nov 12, 2014 at 7:57 PM, Ted Yu <yuzhihong@gmail.com
>> <javascript:;>> wrote:
>> > > > >
>> > > > > > Cycling bits: http://search-hadoop.com/m/DHED4y3J2B
>> > > > > >
>> > > > > > On Wed, Nov 12, 2014 at 3:27 PM, Néstor Boscán <
>> nestorjb@gmail.com <javascript:;>
>> > >
>> > > > > wrote:
>> > > > > >
>> > > > > > > Hi
>> > > > > > >
>> > > > > > > I'm creating my first HBase application and I'm trying
to
>> connect
>> > > > from
>> > > > > > the
>> > > > > > > Java application in my Java IDE to my HBase server
on a
Horton
>> > > Workds
>> > > > > 2.1
>> > > > > > > Virtual Machine. When I run I get:
>> > > > > > >
>> > > > > > > Failed to locate the winutils binary in the hadoop
binary
path
>> > > > > > >
>> > > > > > > Does this mean that I have to have hadoop installed
in my
>> laptop
>> > to
>> > > > be
>> > > > > > able
>> > > > > > > to test connections to HBase?
>> > > > > > >
>> > > > > > > Regards,
>> > > > > > >
>> > > > > > > Néstor
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message