[
https://issues.apache.org/jira/browse/HADOOP-13818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yiqun Lin updated HADOOP-13818:
-------------------------------
Status: Patch Available (was: Open)
Attach a initial patch for this. I throw the exception here if {{setTimes}}
doing failed in local flesystem. Since my local env is Windows, I can't
reproduce the problem as [~ajisakaa] mentioned :(. But the current code with my
patch runs ok in my local env. [~ajisakaa], can you help me exam the patch in
your local env and give me your thought of my patch if you think it hasn't
satisfiy with you? Thanks.
> TestLocalFileSystem#testSetTimes fails
> --------------------------------------
>
> Key: HADOOP-13818
> URL: https://issues.apache.org/jira/browse/HADOOP-13818
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Reporter: Akira Ajisaka
> Assignee: Yiqun Lin
> Priority: Minor
>
> {noformat}
> Running org.apache.hadoop.fs.TestLocalFileSystem
> Tests run: 20, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 4.887 sec
> <<< FAILURE! - in org.apache.hadoop.fs.TestLocalFileSystem
> testSetTimes(org.apache.hadoop.fs.TestLocalFileSystem) Time elapsed: 0.084
> sec <<< FAILURE!
> java.lang.AssertionError: expected:<23456000> but was:<1479176144000>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:743)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:555)
> at org.junit.Assert.assertEquals(Assert.java:542)
> at
> org.apache.hadoop.fs.TestLocalFileSystem.checkTimesStatus(TestLocalFileSystem.java:391)
> at
> org.apache.hadoop.fs.TestLocalFileSystem.testSetTimes(TestLocalFileSystem.java:414)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]