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

Add BlockLocation.isStriped() to determine if block is replicated or Striped

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: hdfs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Impala uses FileSystem#getBlockLocation to get block locations. We can add isStriped() method for it to easier determine the block is belonged to replicated file or striped file.

      In HDFS, this isStriped information is already in HdfsBlockLocation#LocatedBlock#isStriped(), adding this method to BlockLocation does not introduce space overhead.

        Attachments

        1. HDFS-14132.001.patch
          4 kB
          Shweta
        2. HDFS-14132.002.patch
          4 kB
          Shweta
        3. HDFS-14132.003.patch
          4 kB
          Shweta
        4. HDFS-14132.004.patch
          4 kB
          Shweta

          Activity

            People

            • Assignee:
              shwetayakkali Shweta
              Reporter:
              shwetayakkali Shweta
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: