apache 822 B

12345678910111213141516171819202122232425262728
  1. #------------------------------------------------------------------------------
  2. # $File: apache,v 1.1 2017/04/11 14:52:15 christos Exp $
  3. # apache: file(1) magic for Apache Big Data formats
  4. # Avro files
  5. 0 string Obj Apache Avro
  6. >3 byte x version %d
  7. # ORC files
  8. # Important information is in file footer, which we can't index to :(
  9. 0 string ORC Apache ORC
  10. # Parquet files
  11. 0 string PAR1 Apache Parquet
  12. # Hive RC files
  13. 0 string RCF Apache Hive RC file
  14. >3 byte x version %d
  15. # Sequence files (and the careless first version of RC file)
  16. 0 string SEQ
  17. >3 byte <6 Apache Hadoop Sequence file version %d
  18. >3 byte >6 Apache Hadoop Sequence file version %d
  19. >3 byte =6
  20. >>5 string org.apache.hadoop.hive.ql.io.RCFile$KeyBuffer Apache Hive RC file version 0
  21. >>3 default x Apache Hadoop Sequence file version 6