Skip to content

Conversation

@1032851561
Copy link
Contributor

Change Logs

In RocksDbBasedFileSystemView, the rocksDBBasePath is base on table basePath , because of special characters ":" , it will fail to run under Windows system.

  • exception:
Caused by: java.io.IOException: Unable to create :\tmp\hoodie_timeline_rocksdb\file:_D:_data_warehouse_tb_test\f6b39e9e-f00c-400a-897e-ca2f72c244ba
	at org.apache.hudi.common.util.FileIOUtils.mkdir(FileIOUtils.java:70)
	at org.apache.hudi.common.util.collection.RocksDBDAO.init(RocksDBDAO.java:107)
  • table options:
'hoodie.filesystem.view.type' = 'EMBEDDED_KV_STORE',
'path' = 'file:///D:/data/warehouse/tb_test'

Impact

None.

Risk level (write none, low medium or high below)

None.

Documentation Update

None.

Contributor's checklist

  • Read through contributor's guide
  • Change Logs and Impact were stated clearly
  • Adequate tests were added if applicable
  • CI passed

@1032851561 1032851561 changed the title [BUG] Ignore file system type of basePath when using RocksDbBasedFileSystemView [HUDI-5333] Ignore file system type of basePath when using RocksDbBasedFileSystemView Dec 6, 2022
@hudi-bot
Copy link
Collaborator

hudi-bot commented Dec 6, 2022

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

@bvaradar bvaradar self-assigned this Feb 18, 2023
Copy link
Contributor

@bvaradar bvaradar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@bvaradar bvaradar merged commit 8129a85 into apache:master Mar 10, 2023
nsivabalan pushed a commit to nsivabalan/hudi that referenced this pull request Mar 18, 2023
nsivabalan pushed a commit to nsivabalan/hudi that referenced this pull request Mar 22, 2023
fengjian428 pushed a commit to fengjian428/hudi that referenced this pull request Apr 5, 2023
stayrascal pushed a commit to stayrascal/hudi that referenced this pull request Apr 20, 2023
KnightChess pushed a commit to KnightChess/hudi that referenced this pull request Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants