hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gera Shegalov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-7108) TestFileOutputCommitter fails on Windows
Date Tue, 12 Jun 2018 05:25:00 GMT

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

Gera Shegalov commented on MAPREDUCE-7108:
------------------------------------------

[~elgoiri], [~zuzhan] Yetus was failing because fo the test reports attached:
{code}
MAPREDUCE-7108 patch is being downloaded at Mon Jun 11 17:11:54 UTC 2018 from
  https://issues.apache.org/jira/secure/attachment/12927337/MAPREDUCE-7108-TestFileOutputCommitter-Report.002.txt
-> Downloaded
ERROR: Unsure how to process MAPREDUCE-7108.
{code}

Let me drop them.

> TestFileOutputCommitter fails on Windows
> ----------------------------------------
>
>                 Key: MAPREDUCE-7108
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7108
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 3.1.0, 2.9.1
>            Reporter: Zuoming Zhang
>            Assignee: Zuoming Zhang
>            Priority: Minor
>              Labels: Windows
>         Attachments: MAPREDUCE-7108-TestFileOutputCommitter-Report.000.txt, MAPREDUCE-7108-TestFileOutputCommitter-Report.001.txt,
MAPREDUCE-7108-TestFileOutputCommitter-Report.002.txt, MAPREDUCE-7108.000.patch, MAPREDUCE-7108.001.patch,
MAPREDUCE-7108.002.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> TestFileOutputCommitter.java fails on Windows.
> Reason:
> This is because in testMapFileOutputCommitterInternal, after executing MapFileOutputFormat.getReaders(outDir,
conf), the readers are not properly closed. So other apis that attempt to delete the existing
file fails due to the file handler already being used.
>  
> Solution:
> Close all readers after call MapFileOutputFormat.getReaders(outDir, conf);



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

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


Mime
View raw message