xiarixiaoyao opened a new pull request #3183: URL: https://github.com/apache/hudi/pull/3183
…y table, the query will failed ## *Tips* - *Thank you very much for contributing to Apache Hudi.* - *Please review https://hudi.apache.org/contributing.html before opening a pull request.* ## What is the purpose of the pull request when hudi metadata is enabled, use different user to query table, the query will failed. The user permissions of the temporary directory(default value is /tmp/view_map) generated by DiskBasedMap are incorrect. This directory only has permissions for the user who execute query firstly, and other users have no permissions to access it , which leads to this problem test step: step1: create hudi table with metadata enabled. step2: create two users(omm,user2) to query the table which created by step1 step3: 1)using omm user to query hudi table DiskBasedMap will generate view_map with permissions drwx------. 2)using user2 user to query hudi table now user2 has no right to access view_map which created by omm, the exception will throws: **org.apache.hudi.exception.HoodieIOException: IOException when creating ExternalSplillableMap at /tmp/view_map** ## Brief change log *(for example:)* - *Modify AnnotationLocation checkstyle rule in checkstyle.xml* ## Verify this pull request Manually verified the change ## Committer checklist - [ ] Has a corresponding JIRA in PR title & commit - [ ] Commit message is descriptive of the change - [ ] CI is green - [ ] Necessary doc changes done or have another open PR - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA. -- 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]
