Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-1420

HoodieTableMetaClient.getMarkerFolderPath works incorrectly on windows client with hdfs server for wrong file seperator

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              hiscat 谢波
              butfly Sean Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: