Github user chunhui-shi commented on the pull request:
https://github.com/apache/drill/pull/470#issuecomment-207939397
This function is one entrance to access metadata. Write (Automatic metadata
update) will happen during this 'read' process if there is any directory/file
under the table's root is changed thus has a newer modified time. In other
code paths, the metadata is accessed with permission of drillbituser already.
This fix will make this code path to to be consistent with other code paths.
Since this inconsistency of permissions used to access metadata is the root
cause of this JIRA.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---