You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2023/01/09 10:09:49 UTC

[GitHub] [hudi] Zouxxyy commented on pull request #7621: [HUDI-5512] fix spark call procedure run_bootstrap missing conf and c…

Zouxxyy commented on PR #7621:
URL: https://github.com/apache/hudi/pull/7621#issuecomment-1375374459

   HI, we have also made relevant changes, the call procedure will not read hudi global conf,
   
   The modification we made was to add `DFSPropertiesConfiguration.getGlobalProps` in `BaseProcedure.scala`,  Can you see if you can add it together?
   
   ```scala
    protected def getWriteConfig(basePath: String): HoodieWriteConfig = {
      HoodieWriteConfig. newBuilder
        .withPath(basePath)
        .withIndexConfig(HoodieIndexConfig.newBuilder.withIndexType(IndexType.BLOOM).build)
        .withProps(DFSPropertiesConfiguration.getGlobalProps)
        .build
    }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org