hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Íñigo Goiri (JIRA) <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15454) TestRollingFileSystemSinkWithLocal fails on Windows
Date Thu, 10 May 2018 16:39:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-15454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16470685#comment-16470685
] 

Íñigo Goiri commented on HADOOP-15454:
--------------------------------------

Not sure what the first Yetus run was.
 [^HADOOP-15454.000.patch] looks good to me.
The latest windows [report|https://builds.apache.org/job/hadoop-trunk-win/460/testReport/org.apache.hadoop.metrics2.sink/TestRollingFileSystemSinkWithLocal/]
also shows 6 failures.
They should go away with these two.
+1
Committing all the way to branch-2.9.

> TestRollingFileSystemSinkWithLocal fails on Windows
> ---------------------------------------------------
>
>                 Key: HADOOP-15454
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15454
>             Project: Hadoop Common
>          Issue Type: Test
>            Reporter: Xiao Liang
>            Assignee: Xiao Liang
>            Priority: Major
>              Labels: windows
>         Attachments: HADOOP-15454-branch-2.000.patch, HADOOP-15454.000.patch
>
>
> org.apache.hadoop.metrics2.sink.TestRollingFileSystemSinkWithLocal fails on Windows,
> *Error message:*
> Illegal character in opaque part at index 2: D:\_work\8\s\hadoop-common-project\hadoop-common\target\test\data\4\RollingFileSystemSinkTest\testSilentExistingWrite
> *Stack trace:*
> java.io.IOException: All datanodes [DatanodeInfoWithStorage[127.0.0.1:53235,DS-4d6119ac-31cc-4f48-8a5b-7f35b36a1c55,DISK]]
are bad. Aborting... at org.apache.hadoop.hdfs.DataStreamer.handleBadDatanode(DataStreamer.java:1538)
at org.apache.hadoop.hdfs.DataStreamer.setupPipelineForAppendOrRecovery(DataStreamer.java:1472)
at org.apache.hadoop.hdfs.DataStreamer.processDatanodeError(DataStreamer.java:1244) at org.apache.hadoop.hdfs.DataStreamer.run(DataStreamer.java:663)
> Drive letter in absolute path in Windows will fail the underlying URI check.
> Another issue is that for the failed write test case java.io.File#setWritable(boolean,
boolean) is used, which does not work as expected on Windows and should be replaced by org.apache.hadoop.fs.FileUtil#setWritable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message