Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-1530

Java DataFileStream does not allow distinguishing between empty files and corrupt files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      When writing data to HDFS, especially with Flume, it's possible to write empty files. When you run Hive queries over this data, the job fails with "Not a data file." from here https://github.com/apache/avro/blob/trunk/lang/java/avro/src/main/java/org/apache/avro/file/DataFileStream.java#L102

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              brocknoland Brock Noland
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: