"Fossies" - the Fresh Open Source Software Archive

Member "file-5.35/magic/Magdir/apache" (11 Apr 2017, 822 Bytes) of package /linux/misc/file-5.35.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 
    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
    5 
    6 # Avro files
    7 0	string		Obj		Apache Avro
    8 >3	byte		x		version %d
    9 
   10 # ORC files
   11 # Important information is in file footer, which we can't index to :(
   12 0	string		ORC		Apache ORC
   13 
   14 # Parquet files
   15 0	string		PAR1		Apache Parquet
   16 
   17 # Hive RC files
   18 0	string		RCF		Apache Hive RC file
   19 >3	byte		x		version %d
   20 
   21 # Sequence files (and the careless first version of RC file)
   22 
   23 0	string		SEQ
   24 >3	byte		<6		Apache Hadoop Sequence file version %d
   25 >3	byte		>6		Apache Hadoop Sequence file version %d
   26 >3	byte		=6
   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