You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Xianghu Wang (Jira)" <ji...@apache.org> on 2021/02/05 08:37:00 UTC

[jira] [Resolved] (HUDI-1420) HoodieTableMetaClient.getMarkerFolderPath works incorrectly on windows client with hdfs server for wrong file seperator

     [ https://issues.apache.org/jira/browse/HUDI-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xianghu Wang resolved HUDI-1420.
--------------------------------
    Fix Version/s:     (was: 0.6.0)
                   0.8.0
       Resolution: Fixed

> HoodieTableMetaClient.getMarkerFolderPath works incorrectly on windows client with hdfs server for wrong file seperator
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: HUDI-1420
>                 URL: https://issues.apache.org/jira/browse/HUDI-1420
>             Project: Apache Hudi
>          Issue Type: Bug
>          Components: Common Core
>            Reporter: Sean Zhang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.8.0
>
>
> The method assembly market dir with {{File.separator}}, here {{File}} references {{java.io.File}}. But when a hudi app run on a windows system (for example, spark local app on windows jdk), the constant is "\", but if the hudi directory locates on HDFS, the seperator should be "/". 
> It cause the market is generated under directories like {{.hdfs://localhost:29820/HUDO_BASE/HUDI_TABLE_DIR\\.hoodie\\.temp\\20201127161504}}, here {{HUDI_TABLE_DIR\\.hoodie\\.temp\\20201127161504}} is a whole directory name. And hudi app report some out market directory exception.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)