hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yxxtdc <yang.xi...@teradata.com>
Subject Anybody can help with MountableHDFS fuse-dfs please?
Date Tue, 08 Mar 2011 18:50:25 GMT
Hi,

I am a new user to HDFS and am trying to following the instruction on:
http://wiki.apache.org/hadoop/MountableHDFS

But fuse-dfs fails to load and spits out the following errors:
 fuse_dfs_wrapper.sh dfs://xsn95:19001 /hdfs -d
port=19001,server=xsn95
fuse-dfs didn't recognize /hdfs,-2
fuse-dfs ignoring option -d
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56
INIT: 7.8
flags=0x00000003
max_readahead=0x00080000
   INIT: 7.8
   flags=0x00000001
   max_readahead=0x00080000
   max_write=0x00020000
   unique: 1, error: 0 (Success), outsize: 40
unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 40
Call to JNI_CreateJavaVM option 1 = -Xmx2048m
Calling JNI_CreateJavaVM
There was an error trying to initialize the HPI library.
Call to JNI_CreateJavaVM failed with error: -1
   unique: 2, error: -5 (Input/output error), outsize: 16



I've added libnsl.so and libhpi.so to the LD_LIBRARY_PATH and still it won't
load. The error code is from:
Hadoop-0.20.2/src/c++/libhdfs/hdfsJniHelper.c

In getJNIEnv function:

       //Create the VM

        JavaVMInitArgs vm_args;

        JavaVM *vm;

        vm_args.version = JNI_VERSION_1_4;

        vm_args.options = options;

        vm_args.nOptions = noArgs;

        vm_args.ignoreUnrecognized = 1;

 

        fprintf(stderr, "Calling JNI_CreateJavaVM\n");

        rv = JNI_CreateJavaVM(&vm, (void*)&env, &vm_args);

        if (rv != 0) {

            fprintf(stderr, "Call to JNI_CreateJavaVM failed "

                    "with error: %d\n", rv);

            UNLOCK_JVM_MUTEX();

            return NULL;

        }

 

Anybody out there in HADOOP community can help me out please?

Thanks in advance.


--
View this message in context: http://hadoop-common.472056.n3.nabble.com/Anybody-can-help-with-MountableHDFS-fuse-dfs-please-tp2652043p2652043.html
Sent from the Users mailing list archive at Nabble.com.

Mime
View raw message