[
https://issues.apache.org/jira/browse/HUDI-5333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
chenzhiming updated HUDI-5333:
------------------------------
Description:
In RocksDbBasedFileSystemView, the rocksDBBasePath is base on table basePath ,
because of special characters ":" , it will fail to run under Windows system.
* exception:
{code:java}
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){code}
{{ }} * table options:
{code:java}
'hoodie.filesystem.view.type' = 'EMBEDDED_KV_STORE',
'path' = 'file:///D:/data/warehouse/tb_test'{code}
was:
n RocksDbBasedFileSystemView, the rocksDBBasePath is base on table basePath ,
because of special characters ":" , it will fail to run under Windows system.
* exception:
{code:java}
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){code}
{{ }} * table options:
{code:java}
'hoodie.filesystem.view.type' = 'EMBEDDED_KV_STORE',
'path' = 'file:///D:/data/warehouse/tb_test'{code}
> Ignore file system type of basePath when using RocksDbBasedFileSystemView
> -------------------------------------------------------------------------
>
> Key: HUDI-5333
> URL: https://issues.apache.org/jira/browse/HUDI-5333
> Project: Apache Hudi
> Issue Type: Bug
> Components: timeline-server
> Reporter: chenzhiming
> Priority: Major
>
> In RocksDbBasedFileSystemView, the rocksDBBasePath is base on table basePath
> , because of special characters ":" , it will fail to run under Windows
> system.
> * exception:
> {code:java}
> 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){code}
> {{ }} * table options:
> {code:java}
> 'hoodie.filesystem.view.type' = 'EMBEDDED_KV_STORE',
> 'path' = 'file:///D:/data/warehouse/tb_test'{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)