Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13417

hdfsGetHedgedReadMetrics() crashes when 'fs' is a non-HDFS filesystem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 3.0.0-alpha4
    • None
    • libhdfs

    Description

      (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 ()
      ...
      ...
      

      hdfsGetHedgedReadMetrics() is not supported for non-HDFS filesystems, so we need to fix this to make sure that it doesn't crash.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sailesh Sailesh Mukil
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: