ykPrograWorld commented on issue #5795:
URL: https://github.com/apache/hudi/issues/5795#issuecomment-1150629380
I solved the problem by downloading httpclient-4.5.jar httpcore-4.4.1.jar
and running commands with their paths in run_sync_tool.sh
But I encountered the following error
```
Exception in thread "main" org.apache.hudi.exception.HoodieException: Got
runtime exception when hive syncing test9
at
org.apache.hudi.hive.HiveSyncTool.syncHoodieTable(HiveSyncTool.java:141)
at org.apache.hudi.hive.HiveSyncTool.main(HiveSyncTool.java:433)
Caused by: org.apache.hudi.hive.HoodieHiveSyncException: Failed to sync
partitions for table test9
at
org.apache.hudi.hive.HiveSyncTool.syncPartitions(HiveSyncTool.java:412)
at
org.apache.hudi.hive.HiveSyncTool.syncHoodieTable(HiveSyncTool.java:230)
at org.apache.hudi.hive.HiveSyncTool.doSync(HiveSyncTool.java:150)
at
org.apache.hudi.hive.HiveSyncTool.syncHoodieTable(HiveSyncTool.java:138)
... 1 more
Caused by: java.lang.IllegalArgumentException: Partition path is not in the
form yyyy/mm/dd
at
org.apache.hudi.hive.SlashEncodedDayPartitionValueExtractor.extractPartitionValuesInPath(SlashEncodedDayPartitionValueExtractor.java:55)
at
org.apache.hudi.hive.AbstractHiveSyncHoodieClient.getPartitionEvents(AbstractHiveSyncHoodieClient.java:81)
at
org.apache.hudi.hive.HiveSyncTool.syncPartitions(HiveSyncTool.java:390)
... 4 more
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]