GitHub user wenlong88 opened a pull request:
FLINK-5749unset 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:
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
Author: wenlong.lwl <email@example.com>
to #9896513 Unset HADOOP_HOME and HADOOP_CONF_DIR in pom
unset HADOOP_HOME and HADOOP_CONF_DIR to avoid env in build machine failing the UT and IT
Test Plan: UT/IT
Reviewed By: 黎钢
Differential Revision: https://aone.alibaba-inc.com/code/D96861