You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Sean Zhang (Jira)" <ji...@apache.org> on 2020/11/27 08:26:00 UTC
[jira] [Created] (HUDI-1420)
HoodieTableMetaClient.getMarkerFolderPath works incorrectly on windows
client with hdfs server for wrong file seperator
Sean Zhang created HUDI-1420:
--------------------------------
Summary: 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
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)