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:27:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17279455#comment-17279455 ] 

Xianghu Wang commented on HUDI-1420:
------------------------------------

Fixed via master branch : b51b3a39a81848e6fcb5bf7a2480769a012a4339

> 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.6.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)