sequencefile header

来源:互联网 发布:马刺 知乎 2017 编辑:程序博客网 时间:2024/05/29 17:16

key-type: Text

value-type: Text

key1:text-key

value1:text-value

key2:text-key2

value2:text-value2


header:

83                             SEQ6
69                            
81                            
6                              

25                             length
111                           org.apache.hadoop.io.Text
114                          
103                          
46                            
97                             
112                           
97                             
99                             
104                           
101
46
104
97
100
111
111
112
46
105
111
46
84
101
120
116


25                        length
111                       org.apache.hadoop.io.Text
114
103
46
97
112
97
99
104
101
46
104
97
100
111
111
112
46
105
111
46
84
101
120
116


0                              boolean; compress
0                              boolean: block-compress


0                               metadata
0
0
0


74                             sync
62
101
124
-31
59
87
99
-85
67
46
60
-89
-81
-60
66

0                                int: all-length
0
0
20

0                               int: key-length
0
0
9

8                               key length
116                           text-key
101
120
116
45
107
101
121


10                               value length
116                             text-value
101
120
116
45
118
97
108
117
101

0                              int: all-length
0
0
22


0                             int: key-length
0
0
10


9                             key length
116                         text-key2
101
120
116
45
107
101
121
50


11                             value length
116                          text-key2
101
120
116
45
118
97
108
117
101
50


ref: http://hi.baidu.com/surendaxiao/item/8017127493f1152cd6a89c51

原创粉丝点击