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

Haohui Mai commented on HDFS-6198:
----------------------------------

Is {{Pattern.quote(File.separator)}} going to be {{\}} in Windows? If so then 
the regex should be invalid. Am I correct?

> DataNode rolling upgrade does not correctly identify current block pool 
> directory and replace with trash on Windows.
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-6198
>                 URL: https://issues.apache.org/jira/browse/HDFS-6198
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode
>    Affects Versions: 3.0.0, 2.4.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HDFS-6198.1.patch
>
>
> For rolling upgrade, the DataNode uses a regex to identify the current block 
> pool directory and replace it with the equivalent trash directory.  This 
> regex hard-codes '/' as the file path separator, which doesn't work on 
> Windows.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to