[
https://issues.apache.org/jira/browse/FLINK-5164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15702263#comment-15702263
]
ASF GitHub Bot commented on FLINK-5164:
---------------------------------------
GitHub user zentol opened a pull request:
https://github.com/apache/flink/pull/2889
[FLINK-5164] Disable some Hadoop-compat tests on Windows
This PR disables several hadoop related tests on Windows. The problem is
that as described [here](https://wiki.apache.org/hadoop/WindowsProblems) hadoop
requires some native libraries (`winutils.exe`) to run properly which however
are not included in the dependencies.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zentol/flink 5164_test_hadoop
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2889.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 #2889
----
commit 1d31ba0c7a8b3d6fe1156340d8fe9431bb21634d
Author: zentol <[email protected]>
Date: 2016-11-25T13:58:48Z
[FLINK-5164] Disable some Hadoop-compat tests on Windows
----
> Hadoop-compat IOFormat tests fail on Windows
> --------------------------------------------
>
> Key: FLINK-5164
> URL: https://issues.apache.org/jira/browse/FLINK-5164
> Project: Flink
> Issue Type: Bug
> Components: Tests
> Affects Versions: 1.1.3
> Reporter: Chesnay Schepler
> Assignee: Chesnay Schepler
> Fix For: 1.2.0
>
>
> The HaddopMapredITCase fails on windows with the following exception:
> {code}
> java.lang.NullPointerException
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:1012)
> at org.apache.hadoop.util.Shell.runCommand(Shell.java:445)
> at org.apache.hadoop.util.Shell.run(Shell.java:418)
> at
> org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:650)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:739)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:722)
> at
> org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:631)
> at
> org.apache.hadoop.fs.FilterFileSystem.setPermission(FilterFileSystem.java:468)
> at
> org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:456)
> at
> org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:424)
> at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:907)
> at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:800)
> at
> org.apache.hadoop.mapred.TextOutputFormat.getRecordWriter(TextOutputFormat.java:123)
> at
> org.apache.flink.api.java.hadoop.mapred.HadoopOutputFormatBase.open(HadoopOutputFormatBase.java:145)
> at
> org.apache.flink.runtime.operators.DataSinkTask.invoke(DataSinkTask.java:178)
> at org.apache.flink.runtime.taskmanager.Task.run(Task.java:654)
> at java.lang.Thread.run(Thread.java:745)
> {code}
> I suggest to disable the test on windows.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)