lirui-apache commented on issue #8911: [FLINK-12995][hive] Add Hive-1.2.1 build 
to Travis
URL: https://github.com/apache/flink/pull/8911#issuecomment-506595119
 
 
   > sorry, should have asked @zentol to help review.
   > 
   > @lirui-apache seems like I might misunderstood how the stage is run? 
Shouldn't the profile only recompile and retest flink-connector-hive module?
   
   The approach in this PR will recompile flink-connector-hive and all the 
depended modules. To only recompile flink-connector-hive, we can remove the 
`-am` option. My understanding is if we remove `-am`, the depended modules will 
be unavailable (or downloaded somewhere which doesn't reflect changes in a PR) 
because local maven repo is cleared for each Travis job. @zentol please correct 
me if I misunderstand.
   
   Another alternative is to completely skip the recompile and only run tests 
against Hive-1.2.1. So that we can get rid of most of the overhead while we're 
still able to catch the issues with Hive-1.2.1. Drawbacks of this approach is 
that errors that happen during tests are probably harder to understand than 
errors that happen during compiling. For example, we'll get 
`NoClassDefFoundError` instead of `cannot find symbol`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to