[
https://issues.apache.org/jira/browse/HUDI-2606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506259#comment-17506259
]
Raymond Xu edited comment on HUDI-2606 at 3/14/22, 2:46 PM:
------------------------------------------------------------
These code paths respect metadata config
{code:java}
org.apache.hudi.common.table.view.FileSystemViewManager#createViewManager
org.apache.hudi.common.table.view.FileSystemViewManager#createInMemoryFileSystemView
org.apache.hudi.common.fs.FSUtils#getFilesInPartitions
org.apache.hudi.common.fs.FSUtils#getAllPartitionPaths
{code}
BaseHoodieTableFileIndex making use of getAllPartitionPaths and
getFilesInPartitions so this part is under control.
However, there is an overloaded getAllPartitionPaths that takes in hard-coded
boolean for using file listing (MDT). We should migrate off this API and
replace it with either the config-aware API or an always-false API.
was (Author: xushiyan):
These code paths respect metadata config
{code:java}
org.apache.hudi.common.table.view.FileSystemViewManager#createViewManager
org.apache.hudi.common.table.view.FileSystemViewManager#createInMemoryFileSystemView
org.apache.hudi.common.fs.FSUtils#getFilesInPartitions
org.apache.hudi.common.fs.FSUtils#getAllPartitionPaths
{code}
> Ensure query engines not access MDT if disabled
> -----------------------------------------------
>
> Key: HUDI-2606
> URL: https://issues.apache.org/jira/browse/HUDI-2606
> Project: Apache Hudi
> Issue Type: Task
> Components: metadata, reader-core
> Reporter: sivabalan narayanan
> Assignee: Raymond Xu
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 0.11.0
>
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)