GitHub user wenlong88 opened a pull request: https://github.com/apache/flink/pull/3288
[FLINK-5749]unset HADOOP_HOME and HADOOP_CONF_DIR to avoid env in build machine failing the UT and IT Currently when we are trying to build flink on a machine with HADOOP_HOME environment variable set, Test data will be written to HDFS, instead of local tmp dir which is expected. This will cause tests failed. This PR unsets HADOOP_HOME and HADOOP_CONF_DIR environment variable in pom, to make sure maven run the test cases in the exactly way we want. You can merge this pull request into a Git repository by running: $ git pull https://github.com/wenlong88/flink jira-5749 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/3288.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3288 ---- commit d0e6464f37e2057c508a0e7858d3b42778610637 Author: wenlong.lwl <wenlong....@alibaba-inc.com> Date: 2017-01-13T06:12:17Z [to #9896513] Unset HADOOP_HOME and HADOOP_CONF_DIR in pom Summary: unset HADOOP_HOME and HADOOP_CONF_DIR to avoid env in build machine failing the UT and IT fix T9896513 Test Plan: UT/IT Reviewers: é»é¢ Reviewed By: é»é¢ Subscribers: P577102 Differential Revision: https://aone.alibaba-inc.com/code/D96861 ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---