Sailesh Mukil created HDFS-13417:
------------------------------------
Summary: hdfsGetHedgedReadMetrics() crashes when 'fs' is a
non-HDFS filesystem
Key: HDFS-13417
URL: https://issues.apache.org/jira/browse/HDFS-13417
Project: Hadoop HDFS
Issue Type: Bug
Components: libhdfs
Affects Versions: 3.0.0-alpha4
Reporter: Sailesh Mukil
{code:java}
(gdb) bt
#0 0x0000003346c32625 in raise () from /lib64/libc.so.6
#1 0x0000003346c33e05 in abort () from /lib64/libc.so.6
#2 0x00007f185be140b5 in os::abort(bool) ()
from /usr/java/jdk1.8.0_121-cloudera/jre/lib/amd64/server/libjvm.so
#3 0x00007f185bfb6443 in VMError::report_and_die() ()
from /usr/java/jdk1.8.0_121-cloudera/jre/lib/amd64/server/libjvm.so
#4 0x00007f185be195bf in JVM_handle_linux_signal ()
from /usr/java/jdk1.8.0_121-cloudera/jre/lib/amd64/server/libjvm.so
#5 0x00007f185be0fb03 in signalHandler(int, siginfo*, void*) ()
from /usr/java/jdk1.8.0_121-cloudera/jre/lib/amd64/server/libjvm.so
#6 <signal handler called>
#7 0x00007f185bbc1a7b in jni_invoke_nonstatic(JNIEnv_*, JavaValue*, _jobject*,
JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*) ()
from /usr/java/jdk1.8.0_121-cloudera/jre/lib/amd64/server/libjvm.so
#8 0x00007f185bbc7e81 in jni_CallObjectMethodV ()
from /usr/java/jdk1.8.0_121-cloudera/jre/lib/amd64/server/libjvm.so
#9 0x000000000212e2b7 in invokeMethod ()
#10 0x0000000002131297 in hdfsGetHedgedReadMetrics ()
...
...
{code}
hdfsGetHedgedReadMetrics() is not supported for non-HDFS filesystems, so we
need to fix this to make sure that it doesn't crash.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]