kbendick commented on issue #92: Just me or Gradle tests fail for `iceberg-hive` when env variable `HIVE_HOME` is present? URL: https://github.com/apache/incubator-iceberg/issues/92#issuecomment-464302986 @fbocse I just attempted to reproduce this issue on my macbook with no success. I never experienced this issue. TLDR: You might have already tried this, but have you tried `./gradlew clean`? I had hive 2.x installed locally, but HIVE_HOME was not set. I ran `./gradlew test` and everything succeeded. I then `brew upgrade hive` to ensure I was on the same version as you and then set HIVE_HOME to attempt to replicate this. ``` > brew upgrade hive .... get coffee > hive --version # Manually setting it as homebrew install didn't set it for me. > HIVE_HOME=/usr/local/bin/hive > echo $HIVE_HOME /usr/local/bin/hive > ls -las $HIVE_HOME ..... redacted...... /usr/local/bin/hive -> ../Cellar/hive/3.1.1/bin/hive # Verified we're on the same version. > hive --version SLF4J: Typical classpath shenanigans. .... Hive 3.1.1 Git git://daijymacpro-2.local/Users/daijy/commit/hive -r f4e0529634b6231a0072295da48af466cf2f10b7 Compiled by daijy on Tue Oct 23 17:19:24 PDT 2018 From source with checksum 6deca5a8401bbb6c6b49898be6fcb80e # Check that all of my previous tests passed > ./gradlew test 33 actionable tasks: 33 up-to-date # Clean and retest everything, > echo $HIVE_HOME && ./gradlew clean test /usr/local/bin/hive # Some gradle output, which included 4 passing tests from :iceberg-hive > Configure project : ... ... pet the dog .... BUILD SUCCESSFUL in 3m 32s 33 actionable tasks: 33 executed ``` This might be due to differences in our environments, such as in how our hive installations were performed etc. But a good old `./gradlew clean` might help out if you haven't tried it.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
