[
https://issues.apache.org/jira/browse/HIVE-24330?focusedWorklogId=506576&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-506576
]
ASF GitHub Bot logged work on HIVE-24330:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 30/Oct/20 08:16
Start Date: 30/Oct/20 08:16
Worklog Time Spent: 10m
Work Description: aasha commented on a change in pull request #1630:
URL: https://github.com/apache/hive/pull/1630#discussion_r514932328
##########
File path:
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/ReplChangeManager.java
##########
@@ -595,6 +604,42 @@ public Void execute() throws IOException {
if (!cmFs.exists(cmroot)) {
cmFs.mkdirs(cmroot);
cmFs.setPermission(cmroot, new FsPermission("700"));
+ //add additional acls to ensure that owner and group of warehouse
have access.
+ try {
+ FileStatus warehouseStatus = cmFs.getFileStatus(new
Path(MetastoreConf.get(conf, ConfVars.WAREHOUSE.getVarname())));
Review comment:
Create separate method
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 506576)
Time Spent: 20m (was: 10m)
> Automate setAcl on cmRoot directories.
> --------------------------------------
>
> Key: HIVE-24330
> URL: https://issues.apache.org/jira/browse/HIVE-24330
> Project: Hive
> Issue Type: Bug
> Reporter: Arko Sharma
> Assignee: Arko Sharma
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)