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

Arpit Agarwal commented on HDFS-6198:
-------------------------------------

Hi Chris, I think we should also fix {{TestBlockPoolSliceStorage}} in the same 
Jira.

It was intended as a targeted unit test for the regex operations and also uses 
"/" as the hard-coded separator. I should have known better...

> 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