File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 133
133
<chill .version>0.3.6</chill .version>
134
134
<codahale .metrics.version>3.0.0</codahale .metrics.version>
135
135
<avro .version>1.7.6</avro .version>
136
+ <avro .mapred.classifier></avro .mapred.classifier>
136
137
<jets3t .version>0.7.1</jets3t .version>
137
138
<aws .java.sdk.version>1.8.3</aws .java.sdk.version>
138
139
<aws .kinesis.client.version>1.1.0</aws .kinesis.client.version>
607
608
<groupId >org.apache.avro</groupId >
608
609
<artifactId >avro-mapred</artifactId >
609
610
<version >${avro.version} </version >
611
+ <classifier >${avro.mapred.classifier} </classifier >
610
612
<exclusions >
611
613
<exclusion >
612
614
<groupId >io.netty</groupId >
1079
1081
<properties >
1080
1082
<hadoop .version>2.2.0</hadoop .version>
1081
1083
<protobuf .version>2.5.0</protobuf .version>
1084
+ <avro .mapred.classifier>hadoop2</avro .mapred.classifier>
1082
1085
</properties >
1083
1086
</profile >
1084
1087
1088
1091
<hadoop .version>2.3.0</hadoop .version>
1089
1092
<protobuf .version>2.5.0</protobuf .version>
1090
1093
<jets3t .version>0.9.0</jets3t .version>
1094
+ <avro .mapred.classifier>hadoop2</avro .mapred.classifier>
1091
1095
</properties >
1092
1096
</profile >
1093
1097
1097
1101
<hadoop .version>2.4.0</hadoop .version>
1098
1102
<protobuf .version>2.5.0</protobuf .version>
1099
1103
<jets3t .version>0.9.0</jets3t .version>
1104
+ <avro .mapred.classifier>hadoop2</avro .mapred.classifier>
1100
1105
</properties >
1101
1106
</profile >
1102
1107
Original file line number Diff line number Diff line change 90
90
<dependency >
91
91
<groupId >org.apache.avro</groupId >
92
92
<artifactId >avro</artifactId >
93
+ <version >${avro.version} </version >
94
+ </dependency >
95
+ <!-- use the build matching the hadoop api of avro-mapred (i.e. no classifier for hadoop 1 API,
96
+ hadoop2 classifier for hadoop 2 API. avro-mapred is a dependency of org.spark-project.hive:hive-serde -->
97
+ <dependency >
98
+ <groupId >org.apache.avro</groupId >
99
+ <artifactId >avro-mapred</artifactId >
100
+ <version >${avro.version} </version >
101
+ <classifier >${avro.mapred.classifier} </classifier >
93
102
</dependency >
94
103
<dependency >
95
104
<groupId >org.scalatest</groupId >
You can’t perform that action at this time.
0 commit comments