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

hadoop fs -text fails with compressed sequence files with the codec file extension

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.3, 2.0.0-alpha
    • 2.0.2-alpha
    • None
    • None
    • Reviewed

    Description

      When the -text command is run on a file and the file ends in the default extension for a codec (e.g. snappy or gz), but is a compressed sequence file, the command will fail.

      The issue is that it assumes that if it matches the extension, then it's plain compressed file. It might be more helpful to check if it's a sequence file first, and then check the file extension second.

      Attachments

        1. HADOOP-8449.patch
          5 kB
          Harsh J
        2. HADOOP-8449.patch
          1 kB
          Harsh J

        Issue Links

          Activity

            People

              qwertymaniac Harsh J
              fwiffo Joey Echeverria
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: