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

Suresh Srinivas commented on HDFS-4572:
---------------------------------------

Also, while handling the above comment, you could also make the code terse by:
{code}
  // Cannot read from the locked file on Windows  
  String lockingJvmName = Path.WINDOWS ? "" : file.readLine();
{code}
                
> Fix TestJournal failures on Windows
> -----------------------------------
>
>                 Key: HDFS-4572
>                 URL: https://issues.apache.org/jira/browse/HDFS-4572
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode, test
>    Affects Versions: 3.0.0
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>             Fix For: 3.0.0
>
>         Attachments: HDFS-4572.patch, HDFS-4572.patch
>
>
> Multiple test failures in TestJournal. Windows is stricter about restricting 
> access to in-use files.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to