You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2019/07/15 10:22:19 UTC

[flink] 05/06: address comments

This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git

commit c8339a64eef5a67cfd2789b9b21fb4929f64f13d
Author: Rui Li <li...@apache.org>
AuthorDate: Wed Jul 10 11:23:02 2019 +0800

    address comments
---
 .travis.yml           | 4 ++--
 tools/travis/stage.sh | 7 ++++---
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 8ccf73d..3126896 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -192,9 +192,9 @@ jobs:
       env: PROFILE="-Dhadoop.version=2.8.3 -Pinclude-kinesis -Dinclude_hadoop_aws -Dscala-2.12"
       name: misc - scala 2.12
     - if: type = cron
-      script: ./tools/travis_controller.sh connector_hive_1
+      script: ./tools/travis_controller.sh connector_hive_1_2_1
       env: PROFILE="-Dhadoop.version=2.8.3 -Pinclude-kinesis -Dinclude_hadoop_aws -Dscala-2.12"
-      name: connector_hive_1 - scala 2.12
+      name: connector_hive_1_2_1 - scala 2.12
     - if: type = cron
       stage: cleanup
       script: ./tools/travis_controller.sh cleanup
diff --git a/tools/travis/stage.sh b/tools/travis/stage.sh
index 4c4e2bc..d473aa1 100644
--- a/tools/travis/stage.sh
+++ b/tools/travis/stage.sh
@@ -25,7 +25,7 @@ STAGE_BLINK_PLANNER="blink_planner"
 STAGE_CONNECTORS="connectors"
 STAGE_KAFKA_GELLY="kafka/gelly"
 STAGE_TESTS="tests"
-STAGE_CONNECTOR_HIVE_1="connector_hive_1"
+STAGE_CONNECTOR_HIVE_1_2_1="connector_hive_1_2_1"
 STAGE_MISC="misc"
 STAGE_CLEANUP="cleanup"
 
@@ -169,7 +169,7 @@ function get_compile_modules_for_stage() {
         (${STAGE_TESTS})
             echo "-pl $MODULES_TESTS -am"
         ;;
-        (${STAGE_CONNECTOR_HIVE_1})
+        (${STAGE_CONNECTOR_HIVE_1_2_1})
             echo "-pl $MODULES_CONNECTOR_HIVE -am -Phive-1.2.1"
         ;;
         (${STAGE_MISC})
@@ -220,7 +220,8 @@ function get_test_modules_for_stage() {
         (${STAGE_TESTS})
             echo "-pl $modules_tests"
         ;;
-        (${STAGE_CONNECTOR_HIVE_1})
+        (${STAGE_CONNECTOR_HIVE_1_2_1})
+            # 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.
             echo "-pl $MODULES_CONNECTOR_HIVE -Phive-1.2.1 clean"
         ;;
         (${STAGE_MISC})