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

DFSClient should create blocks using StorageType

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.6.0
    • datanode, hdfs-client
    • None
    • Reviewed

    Description

      When DFSClient asks NN for a new block (via addBlock), NN returns a LocatedBlock with storage type information. However, DFSClient does not use StorageType to create blocks with DN. As a result, the block replicas could possibly be created with a different storage type.

      Attachments

        1. h6702_20140719.patch
          75 kB
          Tsz-wo Sze
        2. h6702_20140721.patch
          77 kB
          Tsz-wo Sze
        3. h6702_20140721b.patch
          77 kB
          Tsz-wo Sze
        4. h6702_20140722.patch
          77 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: