Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-911

Multithreading issue with libhdfs library

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.9.2
    • 0.14.0
    • None
    • None

    Description

      Multithreaded applications using libhdfs sometimes run into IllegalMonitorStateException or plainly lock up (strace shows a thread being in a loop of calling sched_yield). It probably has to do with the fact that libhdfs does not ensure proper allocation of hashtable entries that map a threadId to JNI interface pointer.

      Attachments

        1. libhdfs.patch
          2 kB
          Christian Kunz

        Activity

          People

            ckunz Christian Kunz
            ckunz Christian Kunz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: