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