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

Add new FileSystem API to support asynchronous method calls

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: fs
    • Labels:
      None

      Description

      Add a new API, namely FutureFileSystem (or AsynchronousFileSystem, if it is a better name). All the APIs in FutureFileSystem are the same as FileSystem except that the return type is wrapped by Future, e.g.

        //FileSystem
        public boolean rename(Path src, Path dst) throws IOException;
      
        //FutureFileSystem
        public Future<Boolean> rename(Path src, Path dst) throws IOException;
      

      Note that FutureFileSystem does not extend FileSystem.

        Attachments

        1. HADOOP-12910-HDFS-9924.002.patch
          5 kB
          Xiaobing Zhou
        2. HADOOP-12910-HDFS-9924.001.patch
          5 kB
          Xiaobing Zhou
        3. HADOOP-12910-HDFS-9924.000.patch
          4 kB
          Xiaobing Zhou

          Issue Links

            Activity

              People

              • Assignee:
                xiaobingo Xiaobing Zhou
                Reporter:
                szetszwo Tsz-wo Sze
              • Votes:
                0 Vote for this issue
                Watchers:
                35 Start watching this issue

                Dates

                • Created:
                  Updated: