Manish Bhatt created HADOOP-19491:
-------------------------------------
Summary: Abfs: Fix Case Sensitivity Issue for hdi_isfolder metadata
Key: HADOOP-19491
URL: https://issues.apache.org/jira/browse/HADOOP-19491
Project: Hadoop Common
Issue Type: Task
Components: fs/azure
Affects Versions: 3.5.0
Reporter: Manish Bhatt
Assignee: Manish Bhatt
In the blob endpoint, we determine whether the path is a file, or a directory
based on the metadata attribute hdi_isfolder. When creating a directory, we set
hdi_isfolder to true. Currently, our method for checking if the path is a
directory involves a case-sensitive equality check. Consequently, if someone
configures a directory with Hdi_isfolder, the driver will not recognize that
path as a directory. We need to address this issue because, in the backend,
hdi_isfolder and Hdi_isfolder are considered the same metadata attribute.
Therefore, the solution involves modifying our equality check to be
case-insensitive, ensuring that the driver correctly identifies directories
regardless of case variations in the metadata attribute.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]