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

Switch to Threaded View
Sqoop >> mail # user >> Unable to load native hadoop library


Copy link to this message
-
Re: Unable to load native hadoop library
Thanks for reporting back Brenden!
On Mon, Jan 6, 2014 at 8:50 AM, Brenden Cobb <[EMAIL PROTECTED]>wrote:

>  I did not have the correct path to hadoop in my sqoop conf file. Once I
> fixed that everything was ok.
>
>  -BC
>
>   From: Abraham Elmahrek <[EMAIL PROTECTED]>
> Reply-To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> Date: Sunday, January 5, 2014 8:10 PM
>
> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> Subject: Re: Unable to load native hadoop library
>
>   Brenden,
>
>  Happy to hear things are working. Would you mind posting back what you
> did to get around your latest issue? That way, if someone else runs into
> this problem and they start searching around... they can refer back to this
> post.
>
>  -Abe
>
>
> On Sun, Jan 5, 2014 at 1:00 PM, Brenden Cobb <[EMAIL PROTECTED]>wrote:
>
>>  Nevermind! A little more tinkering and I got the basics working. Thanks
>> again for the tip.
>>
>>  -BC
>>
>>
>>   From: Brenden Cobb <[EMAIL PROTECTED]>
>> Reply-To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>> Date: Sunday, January 5, 2014 3:01 PM
>>
>> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>> Subject: Re: Unable to load native hadoop library
>>
>>   Thanks for the tip Abe. I've set bcobb-mbpr.local to 127.0.0.1 and now
>> end up with:
>>
>>  14/01/05 14:51:49 INFO jvm.JvmMetrics: Initializing JVM Metrics with
>> processName=JobTracker, sessionId>> 14/01/05 14:51:49 ERROR security.UserGroupInformation:
>> PriviledgedActionException as:bcobb (auth:SIMPLE)
>> cause:java.io.IOException: Failed on local exception: java.io.EOFException;
>> Host Details : local host is: "localhost/127.0.0.1"; destination host
>> is: "localhost":8020;
>> 14/01/05 14:51:49 ERROR tool.ImportTool: Encountered IOException running
>> import job: java.io.IOException: Failed on local exception:
>> java.io.EOFException; Host Details : local host is: "localhost/127.0.0.1";
>> destination host is: "localhost":8020;
>> at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:764)
>>
>>
>>  Any tips?
>>
>>  Thanks
>>
>>  -BC
>>
>>   From: Abraham Elmahrek <[EMAIL PROTECTED]>
>> Reply-To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>> Date: Thursday, January 2, 2014 11:21 PM
>> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>> Subject: Re: Unable to load native hadoop library
>>
>>   It seems like your localhost "bcobb-mbpr.local" doesn't loop back. Try
>> using "localhost" in your configs instead or add "bcobb-mbpr.local" to
>> your /etc/hosts file.
>>
>>  -Abe
>>
>>
>> On Thu, Jan 2, 2014 at 7:30 PM, rudra tripathy <[EMAIL PROTECTED]>wrote:
>>
>>> Hi Cobb,
>>>
>>> Try adding jars to classpath and path and check whether it is working.
>>>
>>> Thanks and Regards,
>>> Rudra
>>> --------------------------------------------
>>> On Fri, 3/1/14, Brenden Cobb <[EMAIL PROTECTED]> wrote:
>>>
>>>  Subject: Unable to load native hadoop library
>>>  To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>>>  Date: Friday, 3 January, 2014, 3:37 AM
>>>
>>>
>>>
>>>
>>>
>>>
>>>  Hi-
>>>  I'm just getting started with Sqoop and am running
>>>  some tests against mySQL to get the hang of things.
>>>  Sqoop:  1.4.4
>>>  hadoop: tried both 1.2.1 and 2.2.0
>>>  platform: OS X
>>>
>>>
>>>
>>>  Unfortunately I am hitting the following error when
>>>  trying to import. Appreciate any help!
>>>
>>>
>>>
>>>  -BC
>>>
>>>
>>>
>>>
>>>  ==> sqoop import --connect
>>>  jdbc:mysql://localhost/hadoopguide --table widgets -m
>>>  1
>>>
>>>
>>>
>>>  14/01/02 15:57:58 INFO manager.MySQLManager: Preparing
>>>  to use a MySQL streaming resultset.
>>>  14/01/02 15:57:58 INFO tool.CodeGenTool: Beginning code
>>>  generation
>>>  14/01/02 15:57:59 INFO manager.SqlManager: Executing
>>>  SQL statement: SELECT t.* FROM `widgets` AS t LIMIT 1
>>>  14/01/02 15:57:59 INFO manager.SqlManager: Executing
>>>  SQL statement: SELECT t.* FROM `widgets` AS t LIMIT 1
>>>  14/01/02 15:57:59 INFO orm.CompilationManager:
>>>  HADOOP_MAPRED_HOME is /usr/local