hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Liang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-15454) TestRollingFileSystemSinkWithLocal fails on Windows
Date Thu, 10 May 2018 09:45:00 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-15454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xiao Liang updated HADOOP-15454:
--------------------------------
    Attachment: HADOOP-15454-branch-2.000.patch

> 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
>
>
> 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