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

CRC computation and reading should move into a nested FileSystem

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 0.8.0
    • 0.12.0
    • fs
    • None

    Description

      Currently FileSystem provides both an interface and a mechanism for computing and checking crc files. I propose splitting the crc code into a nestable FileSystem that like the PhasedFileSystem has a backing FileSystem. Once the Paths are converted to URI, this is fairly natural to express. To use crc files, your uris will look like:

      crc://hdfs:%2f%2fhost1:8020/ which is a crc FileSystem with an underlying file system of hdfs://host1:8020

      This will allow users to use crc files where they make sense for their application/cluster and get rid of the "raw" methods.

      Attachments

        Issue Links

          Activity

            People

              hairong Hairong Kuang
              omalley Owen O'Malley
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: