hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Íñigo Goiri (JIRA) <j...@apache.org>
Subject [jira] [Updated] (HDFS-13557) TestDFSAdmin#testListOpenFiles fails on Windows
Date Wed, 16 May 2018 16:38:00 GMT

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

Íñigo Goiri updated HDFS-13557:
-------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 3.0.3
                   2.9.2
                   3.1.1
                   3.2.0
                   2.10.0
           Status: Resolved  (was: Patch Available)

Thanks [~huanbang1993] for the patch.
Committed to trunk, branch-3.1, branch-3.0, branch-2, and branch-2.9.

> TestDFSAdmin#testListOpenFiles fails on Windows
> -----------------------------------------------
>
>                 Key: HDFS-13557
>                 URL: https://issues.apache.org/jira/browse/HDFS-13557
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Anbang Hu
>            Assignee: Anbang Hu
>            Priority: Minor
>              Labels: Windows
>             Fix For: 2.10.0, 3.2.0, 3.1.1, 2.9.2, 3.0.3
>
>         Attachments: HDFS-13557-branch-2.000.patch, HDFS-13557-branch-2.001.patch, HDFS-13557.000.patch,
HDFS-13557.001.patch, HDFS-13557.002.patch
>
>
> Different from Unix-like system, Windows uses \r\n to signify an enter is pressed.
> {color:#d04437}[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
91.891 s <<< FAILURE! - in org.apache.hadoop.hdfs.tools.TestDFSAdmin{color}
> {color:#d04437}[ERROR] testListOpenFiles(org.apache.hadoop.hdfs.tools.TestDFSAdmin) Time
elapsed: 91.752 s <<< FAILURE!{color}
> {color:#d04437}java.lang.AssertionError:{color}
> {color:#d04437}Expected: is a string containing "/tmp/files/open-file-14\n"{color}
> {color:#d04437} but: was "Formatting using clusterid: testClusterID{color}
> {color:#d04437}Client Host Client Name Open File Path{color}
> {color:#d04437}127.0.0.1 DFSClient_NONMAPREDUCE_-1619541836_214 /tmp/files/open-file-0{color}
> {color:#d04437}127.0.0.1 DFSClient_NONMAPREDUCE_-1619541836_214 /tmp/files/open-file-1{color}
> {color:#d04437}127.0.0.1 DFSClient_NONMAPREDUCE_-1619541836_214 /tmp/files/open-file-2{color}
> {color:#d04437}127.0.0.1 DFSClient_NONMAPREDUCE_-1619541836_214 /tmp/files/open-file-3{color}
> {color:#d04437}127.0.0.1 DFSClient_NONMAPREDUCE_-1619541836_214 /tmp/files/open-file-4{color}
> {color:#d04437}127.0.0.1 DFSClient_NONMAPREDUCE_-1619541836_214 /tmp/files/open-file-5{color}
> {color:#d04437}127.0.0.1 DFSClient_NONMAPREDUCE_-1619541836_214 /tmp/files/open-file-6{color}
> {color:#d04437}127.0.0.1 DFSClient_NONMAPREDUCE_-1619541836_214 /tmp/files/open-file-7{color}
> {color:#d04437}127.0.0.1 DFSClient_NONMAPREDUCE_-1619541836_214 /tmp/files/open-file-8{color}
> {color:#d04437}127.0.0.1 DFSClient_NONMAPREDUCE_-1619541836_214 /tmp/files/open-file-9{color}
> {color:#d04437}127.0.0.1 DFSClient_NONMAPREDUCE_-1619541836_214 /tmp/files/open-file-10{color}
> {color:#d04437}127.0.0.1 DFSClient_NONMAPREDUCE_-1619541836_214 /tmp/files/open-file-11{color}
> {color:#d04437}127.0.0.1 DFSClient_NONMAPREDUCE_-1619541836_214 /tmp/files/open-file-12{color}
> {color:#d04437}127.0.0.1 DFSClient_NONMAPREDUCE_-1619541836_214 /tmp/files/open-file-13{color}
> {color:#d04437}127.0.0.1 DFSClient_NONMAPREDUCE_-1619541836_214 /tmp/files/open-file-14{color}
> {color:#d04437}"{color}
> {color:#d04437} at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20){color}
> {color:#d04437} at org.junit.Assert.assertThat(Assert.java:865){color}
> {color:#d04437} at org.junit.Assert.assertThat(Assert.java:832){color}
> {color:#d04437} at org.apache.hadoop.hdfs.tools.TestDFSAdmin.verifyOpenFilesListing(TestDFSAdmin.java:664){color}
> {color:#d04437} at org.apache.hadoop.hdfs.tools.TestDFSAdmin.testListOpenFiles(TestDFSAdmin.java:644){color}
> {color:#d04437} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method){color}
> {color:#d04437} at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62){color}
> {color:#d04437} at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43){color}
> {color:#d04437} at java.lang.reflect.Method.invoke(Method.java:498){color}
> {color:#d04437} at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47){color}
> {color:#d04437} at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12){color}
> {color:#d04437} at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44){color}
> {color:#d04437} at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17){color}
> {color:#d04437} at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74){color}



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

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


Mime
View raw message