[
https://issues.apache.org/jira/browse/HUDI-9211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HUDI-9211:
---------------------------------
Labels: pull-request-available (was: )
> DatahubSyncTool fails with NullPointerException
> -----------------------------------------------
>
> Key: HUDI-9211
> URL: https://issues.apache.org/jira/browse/HUDI-9211
> Project: Apache Hudi
> Issue Type: Bug
> Reporter: Timothy Brown
> Assignee: Timothy Brown
> Priority: Major
> Labels: pull-request-available
>
> When running the sync, we get a NPE due to the config not being set:
> Caused by: java.lang.NullPointerException\n\tat
> org.apache.hudi.sync.datahub.DataHubTableProperties.addSparkRelatedProperties(DataHubTableProperties.java:90)\n\tat
>
> org.apache.hudi.sync.datahub.DataHubTableProperties.getTableProperties(DataHubTableProperties.java:65)\n\tat
>
> org.apache.hudi.sync.datahub.DataHubSyncTool.syncTableProperties(DataHubSyncTool.java:95)\n\tat
>
> org.apache.hudi.sync.datahub.DataHubSyncTool.syncHoodieTable(DataHubSyncTool.java:76)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)