org.apache.hadoop.io.nativeio.NativeIO: Unable to initialize NativeIO libraries

2014-06-29 Thread Dmitry Sivachenko
I am trying hadoop-1.2.1 on FreeBSD-10 (installed from ports). I see the following exception in datanode and tasktracker's log: 2014-06-29 10:13:17,105 INFO org.apache.hadoop.util.NativeCodeLoader: Loaded the native-hadoop library 2014-06-29 10:13:17,106 ERROR

Re: Partitioning and setup errors

2014-06-29 Thread Chris MacKenzie
HI Vinod, Thanks for your support. I¹m packaging my application in Eclipse (Kepler) as a runnable jar. I can get the application to debug there in local mode. The command line I am using for my app is: /usr/local/hadoop-2.4.0/jar_files $ hadoop jar

Re: Partitioning and setup errors

2014-06-29 Thread Chris Mawata
It is the part about implementing the tool interface that is the issue. Does your driver class implement Tool? Chris On Jun 29, 2014 8:22 AM, Chris MacKenzie stu...@chrismackenziephotography.co.uk wrote: HI Vinod, Thanks for your support. I’m packaging my application in Eclipse (Kepler) as a

How to interpret the execution log of a Hadoop job

2014-06-29 Thread Freddy Chua
I am wondering is there a documented specification of what each line of the output log represents. Freddy Chua

Re: WholeFileInputFormat in hadoop

2014-06-29 Thread unmesha sreeveni
But how is it different from normal execution and parallel MR. Although mapreduce is a parallel exec framework where the data into map is a single input. If the Whole fileinput is jst an entire input split insead of the entire input file . it will be useful right? if it is the whole file it can

Re: WholeFileInputFormat in hadoop

2014-06-29 Thread Ryan Tabora
Try reading this blog here, I think it's a pretty good overview. *http://hadoopi.wordpress.com/2013/05/27/understand-recordreader-inputsplit/ http://hadoopi.wordpress.com/2013/05/27/understand-recordreader-inputsplit/* If you set a whole file's contents to be either the key or the value in the

Re: WholeFileInputFormat in hadoop

2014-06-29 Thread Mohit Anchlia
I think it will be easier if you give your use case. You really would load the file if you don't want it to split but there are many ways to solve the issue and that's why understanding the use case is helpful. Sent from my iPhone On Jun 29, 2014, at 9:28 AM, unmesha sreeveni

kerberos ticket renewal for hadoop services

2014-06-29 Thread Koert Kuipers
how do long lived services such as the namenode or yarn resourcemanager deal with kerberos ticket expiration for the user that runs the service? do they periodically renew/refresh their tickets by calling SecurityUtil.login(conf, keytab, user, host)? where can i find an example the code that

Re: kerberos ticket renewal for hadoop services

2014-06-29 Thread Geoff Thompson
Hi Koert, I don’t have an example. However, perhaps class org.apache.hadoop.security.UserGroupInformation has what you need. Some relevant methods are: reloginFromKeytab() reloginFromTicketCache() loginUserFromKeytab(String user, String path) Geoff On Jun 29, 2014, at 5:50 PM, Koert Kuipers

Re: kerberos ticket renewal for hadoop services

2014-06-29 Thread Koert Kuipers
thanks! it makes sense to use loginUserFromKeytab initially and then checkTGTAndReloginFromKeytab or reloginFromKeytab periodically. i will try to find the usage of these in the code for the services such as namenode (a quick grep doesnt show these relogin functions being called...) On Sun, Jun

hadoop-mapreduce-examples-2.2.0 : Exception from container-launch

2014-06-29 Thread EdwardKing
I run hadoop-mapreduce-examples-2.2.0.jar,it can get correct result,but it raise error exitCode: 1 due to: Exception from container-launch. Why? How to solve it? Thanks. [yarn@localhost sbin]$ hadoop jar /opt/yarn/hadoop-2.2.0/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.2.0.jar pi

Re: WholeFileInputFormat in hadoop

2014-06-29 Thread unmesha sreeveni
I am trying to do DBScan Algo.I refered the algo in Data Mining - Concepts and Techniques (3rd Ed) chapter 10 Page no: 474. Here in this algorithmwe need to find the disance between each point. say my sample input is 5,6 8,2 4,5 4,6 So in DBScan we have to pic 1 elemnt and then find the distance

How quickly can I increase the number of replicas?

2014-06-29 Thread 조주일
My cluser version hdfs 2.2 stable ( 2 ha namenodes, 10 datanodes) I was command bin/hdfs dfs -setrep -R 2 / ( replication 1 to 2 ) I found that HDFS is actually replicating the under replicated blocks but it works very slowly. HDFS performs the replication about 1 block per second. I have