Commit 8f60a90
HADOOP-17125. Use snappy-java in SnappyCodec (#2297)
This switches the SnappyCodec to use the java-snappy codec, rather than the native one.
To use the codec, snappy-java.jar (from org.xerial.snappy) needs to be on the classpath.
This comesin as an avro dependency, so it is already on the hadoop-common classpath,
as well as in hadoop-common/lib.
The version used is now managed in the hadoop-project POM; initially 1.1.7.7
Contributed by DB Tsai and Liang-Chi Hsieh
Change-Id: Id52a404a0005480e68917cd17f0a27b7744aea4e1 parent 3ae78e4 commit 8f60a90
File tree
22 files changed
+109
-561
lines changed- dev-support/bin
- hadoop-common-project/hadoop-common
- src
- main
- java/org/apache/hadoop
- io/compress
- snappy
- util
- native
- src/org/apache/hadoop/io/compress/snappy
- site/markdown
- test/java/org/apache/hadoop
- io/compress
- snappy
- util
- hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient
- hadoop-project-dist
- hadoop-project
22 files changed
+109
-561
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
| 165 | + | |
165 | 166 | | |
166 | 167 | | |
167 | 168 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | 114 | | |
118 | 115 | | |
119 | 116 | | |
| |||
176 | 173 | | |
177 | 174 | | |
178 | 175 | | |
179 | | - | |
180 | | - | |
181 | 176 | | |
182 | 177 | | |
183 | 178 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
365 | 370 | | |
366 | 371 | | |
367 | 372 | | |
| |||
641 | 646 | | |
642 | 647 | | |
643 | 648 | | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | | - | |
648 | 649 | | |
649 | 650 | | |
650 | 651 | | |
| |||
698 | 699 | | |
699 | 700 | | |
700 | 701 | | |
701 | | - | |
702 | 702 | | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | 703 | | |
707 | 704 | | |
708 | 705 | | |
| |||
757 | 754 | | |
758 | 755 | | |
759 | 756 | | |
760 | | - | |
761 | | - | |
762 | | - | |
763 | 757 | | |
764 | 758 | | |
765 | 759 | | |
766 | | - | |
767 | | - | |
768 | 760 | | |
769 | 761 | | |
770 | 762 | | |
| |||
864 | 856 | | |
865 | 857 | | |
866 | 858 | | |
867 | | - | |
868 | | - | |
869 | | - | |
870 | | - | |
871 | 859 | | |
872 | 860 | | |
873 | 861 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | 70 | | |
98 | 71 | | |
99 | 72 | | |
| |||
253 | 226 | | |
254 | 227 | | |
255 | 228 | | |
256 | | - | |
257 | 229 | | |
258 | 230 | | |
259 | 231 | | |
| |||
269 | 241 | | |
270 | 242 | | |
271 | 243 | | |
272 | | - | |
273 | 244 | | |
274 | 245 | | |
275 | 246 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
Lines changed: 1 addition & 39 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
56 | 55 | | |
57 | 56 | | |
58 | 57 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | 58 | | |
91 | 59 | | |
92 | 60 | | |
| |||
115 | 83 | | |
116 | 84 | | |
117 | 85 | | |
118 | | - | |
119 | 86 | | |
120 | 87 | | |
121 | 88 | | |
| |||
133 | 100 | | |
134 | 101 | | |
135 | 102 | | |
136 | | - | |
137 | 103 | | |
138 | 104 | | |
139 | 105 | | |
| |||
144 | 110 | | |
145 | 111 | | |
146 | 112 | | |
147 | | - | |
148 | 113 | | |
149 | 114 | | |
150 | 115 | | |
| |||
179 | 144 | | |
180 | 145 | | |
181 | 146 | | |
182 | | - | |
183 | 147 | | |
184 | 148 | | |
185 | 149 | | |
| |||
192 | 156 | | |
193 | 157 | | |
194 | 158 | | |
195 | | - | |
196 | 159 | | |
197 | 160 | | |
198 | 161 | | |
| |||
203 | 166 | | |
204 | 167 | | |
205 | 168 | | |
206 | | - | |
207 | 169 | | |
208 | 170 | | |
209 | 171 | | |
| |||
215 | 177 | | |
216 | 178 | | |
217 | 179 | | |
218 | | - | |
| 180 | + | |
219 | 181 | | |
220 | 182 | | |
221 | 183 | | |
| |||
Lines changed: 14 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 51 | | |
70 | 52 | | |
71 | 53 | | |
| |||
225 | 207 | | |
226 | 208 | | |
227 | 209 | | |
228 | | - | |
| 210 | + | |
229 | 211 | | |
230 | 212 | | |
231 | 213 | | |
| |||
291 | 273 | | |
292 | 274 | | |
293 | 275 | | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
299 | 288 | | |
0 commit comments