You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/02/09 06:30:42 UTC
[jira] [Commented] (FLINK-5749) unset HADOOP_HOME and
HADOOP_CONF_DIR to avoid env in build machine failing the UT and IT
[ https://issues.apache.org/jira/browse/FLINK-5749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15859101#comment-15859101 ]
ASF GitHub Bot commented on FLINK-5749:
---------------------------------------
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 <we...@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
----
> unset HADOOP_HOME and HADOOP_CONF_DIR to avoid env in build machine failing the UT and IT
> ---------------------------------------------------------------------------------------------
>
> Key: FLINK-5749
> URL: https://issues.apache.org/jira/browse/FLINK-5749
> Project: Flink
> Issue Type: Bug
> Reporter: Wenlong Lyu
> Assignee: Wenlong Lyu
>
> 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.
> I suggest unset HADOOP_HOME and HADOOP_CONF_DIR environment variable in pom, to make sure maven run the test cases in the exactly way we want.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)