XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HDFS-7240
    • None
    • None
    • None
    • Reviewed

    Description

      The signature of the APIs are listed below. This allows SCM to

      1) allocateBlock for client and maintain the key->container mapping in level DB in addition to the existing container to pipeline mapping in level DB.

      2) return the pipeline of a block based on the key.

      3) remove the block based on the key of the block.

      <Pipeline,key> allocateBlock(long size)
      <Pipeline> getBlock(key);
      void deleteBlock(key);
      

      Attachments

        1. HDFS-11504-HDFS-7240.001.patch
          36 kB
          Xiaoyu Yao
        2. HDFS-11504-HDFS-7240.002.patch
          35 kB
          Xiaoyu Yao
        3. HDFS-11504-HDFS-7240.003.patch
          36 kB
          Xiaoyu Yao
        4. HDFS-11504-HDFS-7240.004.patch
          36 kB
          Xiaoyu Yao
        5. HDFS-11504-HDFS-7240.005.patch
          43 kB
          Xiaoyu Yao
        6. HDFS-11504-HDFS-7240.006.patch
          43 kB
          Xiaoyu Yao

        Activity

          People

            xyao Xiaoyu Yao
            xyao Xiaoyu Yao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: