Skip to content

Commit deac25d

Browse files
lirui-apachezentol
authored andcommitted
address comment
1 parent c8339a6 commit deac25d

File tree

2 files changed

+9
-24
lines changed

2 files changed

+9
-24
lines changed

.travis.yml

+9-13
Original file line numberDiff line numberDiff line change
@@ -160,45 +160,41 @@ jobs:
160160
- if: type = cron
161161
stage: compile
162162
script: ./tools/travis_controller.sh compile
163-
env: PROFILE="-Dhadoop.version=2.8.3 -Pinclude-kinesis -Dinclude_hadoop_aws -Dscala-2.12"
163+
env: PROFILE="-Dhadoop.version=2.8.3 -Pinclude-kinesis -Dinclude_hadoop_aws -Dscala-2.12 -Phive-1.2.1"
164164
name: compile - scala 2.12
165165
- if: type = cron
166166
stage: test
167167
script: ./tools/travis_controller.sh core
168-
env: PROFILE="-Dhadoop.version=2.8.3 -Pinclude-kinesis -Dinclude_hadoop_aws -Dscala-2.12"
168+
env: PROFILE="-Dhadoop.version=2.8.3 -Pinclude-kinesis -Dinclude_hadoop_aws -Dscala-2.12 -Phive-1.2.1"
169169
name: core - scala 2.12
170170
- if: type = cron
171171
script: ./tools/travis_controller.sh libraries
172-
env: PROFILE="-Dhadoop.version=2.8.3 -Pinclude-kinesis -Dinclude_hadoop_aws -Dscala-2.12"
172+
env: PROFILE="-Dhadoop.version=2.8.3 -Pinclude-kinesis -Dinclude_hadoop_aws -Dscala-2.12 -Phive-1.2.1"
173173
name: libraries - scala 2.12
174174
- if: type = cron
175175
script: ./tools/travis_controller.sh blink_planner
176-
env: PROFILE="-Dhadoop.version=2.8.3 -Pinclude-kinesis -Dinclude_hadoop_aws -Dscala-2.12"
176+
env: PROFILE="-Dhadoop.version=2.8.3 -Pinclude-kinesis -Dinclude_hadoop_aws -Dscala-2.12 -Phive-1.2.1"
177177
name: blink_planner - scala 2.12
178178
- if: type = cron
179179
script: ./tools/travis_controller.sh connectors
180-
env: PROFILE="-Dhadoop.version=2.8.3 -Pinclude-kinesis -Dinclude_hadoop_aws -Dscala-2.12"
180+
env: PROFILE="-Dhadoop.version=2.8.3 -Pinclude-kinesis -Dinclude_hadoop_aws -Dscala-2.12 -Phive-1.2.1"
181181
name: connectors - scala 2.12
182182
- if: type = cron
183183
script: ./tools/travis_controller.sh kafka/gelly
184-
env: PROFILE="-Dhadoop.version=2.8.3 -Pinclude-kinesis -Dinclude_hadoop_aws -Dscala-2.12"
184+
env: PROFILE="-Dhadoop.version=2.8.3 -Pinclude-kinesis -Dinclude_hadoop_aws -Dscala-2.12 -Phive-1.2.1"
185185
name: kafka/gelly - scala 2.12
186186
- if: type = cron
187187
script: ./tools/travis_controller.sh tests
188-
env: PROFILE="-Dhadoop.version=2.8.3 -Pinclude-kinesis -Dinclude_hadoop_aws -Dscala-2.12"
188+
env: PROFILE="-Dhadoop.version=2.8.3 -Pinclude-kinesis -Dinclude_hadoop_aws -Dscala-2.12 -Phive-1.2.1"
189189
name: tests - scala 2.12
190190
- if: type = cron
191191
script: ./tools/travis_controller.sh misc
192-
env: PROFILE="-Dhadoop.version=2.8.3 -Pinclude-kinesis -Dinclude_hadoop_aws -Dscala-2.12"
192+
env: PROFILE="-Dhadoop.version=2.8.3 -Pinclude-kinesis -Dinclude_hadoop_aws -Dscala-2.12 -Phive-1.2.1"
193193
name: misc - scala 2.12
194-
- if: type = cron
195-
script: ./tools/travis_controller.sh connector_hive_1_2_1
196-
env: PROFILE="-Dhadoop.version=2.8.3 -Pinclude-kinesis -Dinclude_hadoop_aws -Dscala-2.12"
197-
name: connector_hive_1_2_1 - scala 2.12
198194
- if: type = cron
199195
stage: cleanup
200196
script: ./tools/travis_controller.sh cleanup
201-
env: PROFILE="-Dhadoop.version=2.8.3 -Pinclude-kinesis -Dinclude_hadoop_aws -Dscala-2.12"
197+
env: PROFILE="-Dhadoop.version=2.8.3 -Pinclude-kinesis -Dinclude_hadoop_aws -Dscala-2.12 -Phive-1.2.1"
202198
name: cleanup - scala 2.12
203199
# JDK9 profile
204200
- if: type = cron

tools/travis/stage.sh

-11
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ STAGE_BLINK_PLANNER="blink_planner"
2525
STAGE_CONNECTORS="connectors"
2626
STAGE_KAFKA_GELLY="kafka/gelly"
2727
STAGE_TESTS="tests"
28-
STAGE_CONNECTOR_HIVE_1_2_1="connector_hive_1_2_1"
2928
STAGE_MISC="misc"
3029
STAGE_CLEANUP="cleanup"
3130

@@ -130,9 +129,6 @@ MODULES_CONNECTORS_JDK9_EXCLUSIONS="\
130129
MODULES_TESTS="\
131130
flink-tests"
132131

133-
MODULES_CONNECTOR_HIVE="\
134-
flink-connectors/flink-connector-hive"
135-
136132
if [[ ${PROFILE} == *"include-kinesis"* ]]; then
137133
MODULES_CONNECTORS="$MODULES_CONNECTORS,flink-connectors/flink-connector-kinesis"
138134
fi
@@ -169,9 +165,6 @@ function get_compile_modules_for_stage() {
169165
(${STAGE_TESTS})
170166
echo "-pl $MODULES_TESTS -am"
171167
;;
172-
(${STAGE_CONNECTOR_HIVE_1_2_1})
173-
echo "-pl $MODULES_CONNECTOR_HIVE -am -Phive-1.2.1"
174-
;;
175168
(${STAGE_MISC})
176169
# compile everything; using the -am switch does not work with negated module lists!
177170
# the negation takes precedence, thus not all required modules would be built
@@ -220,10 +213,6 @@ function get_test_modules_for_stage() {
220213
(${STAGE_TESTS})
221214
echo "-pl $modules_tests"
222215
;;
223-
(${STAGE_CONNECTOR_HIVE_1_2_1})
224-
# We want to re-compile flink-connector-hive against Hive-1.2.1. Add clean here so that only flink-connector-hive is re-compiled.
225-
echo "-pl $MODULES_CONNECTOR_HIVE -Phive-1.2.1 clean"
226-
;;
227216
(${STAGE_MISC})
228217
echo "-pl $modules_misc"
229218
;;

0 commit comments

Comments
 (0)