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

[umbrella] Nonblocking HDFS Access

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • fs
    • None

    Description

      This is an umbrella JIRA for supporting Nonblocking HDFS Access.

      Currently, all the API methods are blocking calls – the caller is blocked until the method returns. It is very slow if a client makes a large number of independent calls in a single thread since each call has to wait until the previous call is finished. It is inefficient if a client needs to create a large number of threads to invoke the calls.

      We propose adding a new API to support nonblocking calls, i.e. the caller is not blocked. The methods in the new API immediately return a Java Future object. The return value can be obtained by the usual Future.get() method.

      Attachments

        1. AsyncHdfs20160510.pdf
          167 kB
          Tsz-wo Sze
        2. Async-HDFS-Performance-Report.pdf
          151 kB
          Xiaobing Zhou
        3. HDFS-9924-POC.patch
          40 kB
          Duo Zhang

        Issue Links

          Activity

            People

              zhangduo Duo Zhang
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              82 Start watching this issue

              Dates

                Created:
                Updated: