[ https://issues.apache.org/jira/browse/HDFS-6198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Nauroth updated HDFS-6198: -------------------------------- Attachment: HDFS-6198.1.patch This patch uses the platform-specific file path separator. I've verified that {{TestDataNodeRollingUpgrade}} passes on both Mac and Windows after this patch. > 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)