You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by "tdhkx@126.com" <td...@126.com> on 2014/05/16 05:34:51 UTC

fuse_dfs coredump

Hi All,

I've use fuse_dfs to mount HDFS to local, and it's successed. I can use linux commands.
But when i started pure-ftp on it. It's core dumped.

Run Infos:
[root@datanode2 fuse-dfs]# ./fuse_dfs_wrapper.sh rw -oserver=192.168.1.2 -oport=53310 /home/3183/ -d 
INFO /home/hkx/hadoop-2.2.0-src/hadoop-hdfs-project/hadoop-hdfs/src/main/native/fuse-dfs/fuse_options.c:164 Adding FUSE arg /home/3183/ 
INFO /home/hkx/hadoop-2.2.0-src/hadoop-hdfs-project/hadoop-hdfs/src/main/native/fuse-dfs/fuse_options.c:115 Ignoring option -d 
FUSE library version: 2.9.3 
nullpath_ok: 0 
nopath: 0 
utime_omit_ok: 0 
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0 
INIT: 7.13 
flags=0x0000007b 
max_readahead=0x00020000 
INFO /home/hkx/hadoop-2.2.0-src/hadoop-hdfs-project/hadoop-hdfs/src/main/native/fuse-dfs/fuse_init.c:98 Mounting with options: [ protected=(NULL), nn_uri=192.168.1.2, nn_port=53310, debug=0, read_only=0, initchecks=0, no_permissions=0, usetrash=0, entry_timeout=60, attribute_timeout=60, rdbuffer_size=10485760, direct_io=0 ] 
fuseConnectInit: initialized with timer period 5, expiry period 300 
INIT: 7.19 
flags=0x00000039 
max_readahead=0x00020000 
max_write=0x00020000 
max_background=0 
congestion_threshold=0 
unique: 1, success, outsize: 40 
unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 1305 
getattr / 
unique: 2, success, outsize: 120 
unique: 3, opcode: LOOKUP (1), nodeid: 1, insize: 48, pid: 1305 
LOOKUP /.banner 
getattr /.banner 
# 
# A fatal error has been detected by the Java Runtime Environment: 
# 
# SIGSEGV (0xb) at pc=0x00007fc5811c6116, pid=1221, tid=140486250882816 
# 
# JRE version: 6.0_24-b07 
# Java VM: Java HotSpot(TM) 64-Bit Server VM (19.1-b02 mixed mode linux-amd64 compressed oops) 
# Problematic frame: 
# C [libc.so.6+0x7f116] 
# 
# An error report file with more information is saved as: 
# /home/hkx/hadoop-2.2.0-src/hadoop-hdfs-project/hadoop-hdfs/target/native/main/native/fuse-dfs/hs_err_pid1221.log 
# 
# If you would like to submit a bug report, please visit: 
# http://java.sun.com/webapps/bugreport/crash.jsp 
# 
./fuse_dfs_wrapper.sh: line 46: 1221 (core dumped) ./fuse_dfs $@

Backtrace Infos:
[root@datanode2 fuse-dfs]# gdb fuse_dfs core 
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-56.el6) 
Copyright (C) 2010 Free Software Foundation, Inc. 
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 
This is free software: you are free to change and redistribute it. 
There is NO WARRANTY, to the extent permitted by law. Type "show copying" 
and "show warranty" for details. 
This GDB was configured as "x86_64-redhat-linux-gnu". 
For bug reporting instructions, please see: 
<http://www.gnu.org/software/gdb/bugs/>... 
Reading symbols from /home/hkx/hadoop-2.2.0-src/hadoop-hdfs-project/hadoop-hdfs/target/native/main/native/fuse-dfs/fuse_dfs...done. 
[New Thread 1224] 
[New Thread 1226] 
[New Thread 1228] 
[New Thread 1227] 
[New Thread 1241] 
[New Thread 1229] 
[New Thread 1242] 
[New Thread 1221] 
[New Thread 1230] 
[New Thread 1225] 
[New Thread 1243] 
[New Thread 1235] 
[New Thread 1239] 
[New Thread 1311] 
[New Thread 1236] 
[New Thread 1303] 
[New Thread 1310] 
[New Thread 1240] 
Missing separate debuginfo for /usr/local/lib/libfuse.so.2 
Try: yum --disablerepo='*' --enablerepo='*-debug*' install /usr/lib/debug/.build-id/2a/e3dd5ab8947a34e176447deea9b49ee038ee3e 
Missing separate debuginfo for /home/hkx/hadoop-2.2.0-src/hadoop-dist/target/hadoop-2.2.0/lib/native/libhdfs.so.0.0.0 
Try: yum --disablerepo='*' --enablerepo='*-debug*' install /usr/lib/debug/.build-id/fc/7378e225b143f127e67f4d933bb3d3022c0279 
Missing separate debuginfo for /home/hkx/hadoop-2.2.0/lib/native/libhadoop.so.1.0.0 
Try: yum --disablerepo='*' --enablerepo='*-debug*' install /usr/lib/debug/.build-id/b8/b57bfdef378f69cf66754e0fc91f18109e5378 
Missing separate debuginfo for 
Try: yum --disablerepo='*' --enablerepo='*-debug*' install /usr/lib/debug/.build-id/71/e48146fa2dcac5d4d82a1ef860d535627aa1b9 
Reading symbols from /usr/local/lib/libfuse.so.2...done. 
Loaded symbols for /usr/local/lib/libfuse.so.2 
Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done. 
Loaded symbols for /lib64/librt.so.1 
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done. 
Loaded symbols for /lib64/libdl.so.2 
Reading symbols from /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/server/libjvm.so...(no debugging symbols found)...done. 
Loaded symbols for /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/server/libjvm.so 
Reading symbols from /home/hkx/hadoop-2.2.0-src/hadoop-dist/target/hadoop-2.2.0/lib/native/libhdfs.so.0.0.0...done. 
Loaded symbols for /home/hkx/hadoop-2.2.0-src/hadoop-dist/target/hadoop-2.2.0/lib/native/libhdfs.so.0.0.0 
Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done. 
Loaded symbols for /lib64/libm.so.6 
Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done. 
[Thread debugging using libthread_db enabled] 
Loaded symbols for /lib64/libpthread.so.0 
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done. 
Loaded symbols for /lib64/libc.so.6 
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. 
Loaded symbols for /lib64/ld-linux-x86-64.so.2 
Reading symbols from /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/libverify.so...(no debugging symbols found)...done. 
Loaded symbols for /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/libverify.so 
Reading symbols from /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/libjava.so...(no debugging symbols found)...done. 
Loaded symbols for /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/libjava.so 
Reading symbols from /lib64/libnsl.so.1...(no debugging symbols found)...done. 
Loaded symbols for /lib64/libnsl.so.1 
Reading symbols from /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/native_threads/libhpi.so...(no debugging symbols found)...done. 
Loaded symbols for /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/native_threads/libhpi.so 
Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done. 
Loaded symbols for /lib64/libnss_files.so.2 
Reading symbols from /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/libzip.so...(no debugging symbols found)...done. 
Loaded symbols for /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/libzip.so 
Reading symbols from /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/libmanagement.so...(no debugging symbols found)...done. 
Loaded symbols for /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/libmanagement.so 
Reading symbols from /home/hkx/hadoop-2.2.0/lib/native/libhadoop.so.1.0.0...done. 
Loaded symbols for /home/hkx/hadoop-2.2.0/lib/native/libhadoop.so.1.0.0 
Reading symbols from /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/libjaas_unix.so...(no debugging symbols found)...done. 
Loaded symbols for /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/libjaas_unix.so 
Reading symbols from /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/libnet.so...(no debugging symbols found)...done. 
Loaded symbols for /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/libnet.so 
Reading symbols from /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/libnio.so...(no debugging symbols found)...done. 
Loaded symbols for /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/libnio.so 
Core was generated by `./fuse_dfs rw -oserver=192.168.1.2 -oport=53310 /home/3183/ -d'. 
Program terminated with signal 6, Aborted. 
#0 0x00007fc5811798a5 in raise () from /lib64/libc.so.6 
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.80.el6_3.6.x86_64 
(gdb) bt 
#0 0x00007fc5811798a5 in raise () from /lib64/libc.so.6 
#1 0x00007fc58117b085 in abort () from /lib64/libc.so.6 
#2 0x00007fc5821c6fd7 in os::abort(bool) () from /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/server/libjvm.so 
#3 0x00007fc58231a05d in VMError::report_and_die() () from /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/server/libjvm.so 
#4 0x00007fc58231aba1 in crash_handler(int, siginfo*, void*) () from /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/server/libjvm.so 
#5 <signal handler called> 
#6 0x00007fc5821c45a6 in os::is_first_C_frame(frame*) () from /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/server/libjvm.so 
#7 0x00007fc582318fda in VMError::report(outputStream*) () from /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/server/libjvm.so 
#8 0x00007fc582319f75 in VMError::report_and_die() () from /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/server/libjvm.so 
#9 0x00007fc5821cd655 in JVM_handle_linux_signal () from /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/server/libjvm.so 
#10 0x00007fc5821c9bae in signalHandler(int, siginfo*, void*) () from /home/yjx/JDK/jdk1.6.0_24/jre/lib/amd64/server/libjvm.so 
#11 <signal handler called> 
#12 0x00007fc5811c6116 in __strcmp_sse2 () from /lib64/libc.so.6 
#13 0x0000000000403cdd in hdfsConnCompare (head=<value optimized out>, elm=<value optimized out>) 
at /home/hkx/hadoop-2.2.0-src/hadoop-hdfs-project/hadoop-hdfs/src/main/native/fuse-dfs/fuse_connect.c:203 
#14 hdfsConnTree_RB_FIND (head=<value optimized out>, elm=<value optimized out>) 
at /home/hkx/hadoop-2.2.0-src/hadoop-hdfs-project/hadoop-hdfs/src/main/native/fuse-dfs/fuse_connect.c:81 
#15 0x00000000004041e5 in hdfsConnFind (usrname=0x0, ctx=0x7fc57c000ac0, out=0x7fc581145b00) 
at /home/hkx/hadoop-2.2.0-src/hadoop-hdfs-project/hadoop-hdfs/src/main/native/fuse-dfs/fuse_connect.c:219 
#16 fuseConnect (usrname=0x0, ctx=0x7fc57c000ac0, out=0x7fc581145b00) 
at /home/hkx/hadoop-2.2.0-src/hadoop-hdfs-project/hadoop-hdfs/src/main/native/fuse-dfs/fuse_connect.c:516 
#17 0x00000000004042d7 in fuseConnectAsThreadUid (conn=0x7fc581145b00) 
at /home/hkx/hadoop-2.2.0-src/hadoop-hdfs-project/hadoop-hdfs/src/main/native/fuse-dfs/fuse_connect.c:543 
#18 0x0000000000404c05 in dfs_getattr (path=0x7fc57cbd5810 "/.banner", st=0x7fc581145bd0) 
at /home/hkx/hadoop-2.2.0-src/hadoop-hdfs-project/hadoop-hdfs/src/main/native/fuse-dfs/fuse_impls_getattr.c:37 
#19 0x00007fc582aac393 in lookup_path (f=0x9a46d0, nodeid=1, name=0x7fc582ec3038 ".banner", path=<value optimized out>, 
e=0x7fc581145bc0, fi=<value optimized out>) at fuse.c:2470 
---Type <return> to continue, or q <return> to quit--- 
#20 0x00007fc582aae856 in fuse_lib_lookup (req=0x7fc57cb4a050, parent=1, name=0x7fc582ec3038 ".banner") at fuse.c:2669 
#21 0x00007fc582ab669d in fuse_ll_process_buf (data=0x9a49c0, buf=0x7fc581145e60, ch=0x9a4cd8) at fuse_lowlevel.c:2441 
#22 0x00007fc582ab2fea in fuse_do_work (data=0x9a6830) at fuse_loop_mt.c:117 
#23 0x00007fc5814e1851 in start_thread () from /lib64/libpthread.so.0 
#24 0x00007fc58122f11d in clone () from /lib64/libc.so.6 
(gdb) quit

Any suggestions, thanks.


tdhkx@126.com