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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0
    • hdfs
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: