Re: jni files

2010-07-09 Thread Hemanth Yamijala
Hi, Possibly another silly question, but can you cross check if the versions of Hadoop on the client and the server are the same ? Thanks hemanth On Thu, Jul 8, 2010 at 10:57 PM, Allen Wittenauer awittena...@linkedin.com wrote: On Jul 8, 2010, at 1:08 AM, amit kumar verma wrote:    

Re: jni files

2010-07-09 Thread Hemanth Yamijala
Amit, On Fri, Jul 9, 2010 at 2:39 PM, amit kumar verma v.a...@verchaska.com wrote:  Hi Hemant, The version are same as copied it to all client machine. I think I got a solution. As I read more about hadoop and JNI, I learned that I need to copy jni files to HADOOP_INSTALLATION_DIR//lib

Re: jni files

2010-07-09 Thread amit kumar verma
client machine. I think I got a solution. As I read more about hadoop and JNI, I learned that I need to copy jni files to HADOOP_INSTALLATION_DIR//lib/native/Linux-xxx-xxx. I though my linux machine is Linux-i386-32. then I found in org.apache.hadoop.util.PlatformName class gives you your machine

Re: jni files

2010-07-09 Thread Hemanth Yamijala
, Jul 9, 2010 at 2:39 PM, amit kumar vermav.a...@verchaska.com  wrote:  Hi Hemant, The version are same as copied it to all client machine. I think I got a solution. As I read more about hadoop and JNI, I learned that I need to copy jni files to HADOOP_INSTALLATION_DIR//lib/native/Linux-xxx

Re: jni files

2010-07-09 Thread Allen Wittenauer
On Jul 9, 2010, at 2:09 AM, amit kumar verma wrote: I think I got a solution. As I read more about hadoop and JNI, I learned that I need to copy jni files to HADOOP_INSTALLATION_DIR//lib/native/Linux-xxx-xxx. lib/native/xxx are for the native compression libraries. They are not for user

jni files

2010-07-08 Thread amit kumar verma
Hi, I developed a project which is using some native jni files (liblemur_jni.so), earlier i use to run application jar by using -Djava.library.path=/PATH_TO_JNI_FILES, but am not able to the same with ./hadoop jar command. I followed http://hadoop.apache.org/common/docs/r0.18.3

Re: jni files

2010-07-08 Thread Allen Wittenauer
On Jul 8, 2010, at 1:08 AM, amit kumar verma wrote: DistributedCache.addCacheFile(hdfs://* /192.168.0.153:50075*/libraries/mylib.so.1#mylib.so, conf); Do you actually have asterisks in this? If so, that's the problem.

Re: jni files

2010-07-08 Thread amit kumar verma
Hi, No there is no asterisks sign there, it came as i tried to make this *bold*. Thanks, Amit Kumar Verma Verchaska Infotech Pvt. Ltd. On 07/08/2010 10:57 PM, Allen Wittenauer wrote: On Jul 8, 2010, at 1:08 AM, amit kumar verma wrote: DistributedCache.addCacheFile(hdfs://*