hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16939) ExportSnapshot: set owner and permission on right directory
Date Tue, 25 Oct 2016 23:14:58 GMT

    [ https://issues.apache.org/jira/browse/HBASE-16939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15606766#comment-15606766
] 

Hudson commented on HBASE-16939:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-1.1-JDK8 #1889 (See [https://builds.apache.org/job/HBase-1.1-JDK8/1889/])
HBASE-16939 ExportSnapshot: set owner and permission on right directory (matteo.bertozzi:
rev 288ea316be7039c9361ffba7061d6a68154e633c)
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java


> ExportSnapshot: set owner and permission on right directory
> -----------------------------------------------------------
>
>                 Key: HBASE-16939
>                 URL: https://issues.apache.org/jira/browse/HBASE-16939
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Guanghao Zhang
>            Assignee: Guanghao Zhang
>            Priority: Minor
>             Fix For: 2.0.0, 1.4.0, 1.3.1, 1.2.4, 1.1.8
>
>         Attachments: HBASE-16939-v1.patch, HBASE-16939.patch
>
>
> {code}
> FileUtil.copy(inputFs, snapshotDir, outputFs, initialOutputSnapshotDir, false, false,
conf);
>       if (filesUser != null || filesGroup != null) {
>         setOwner(outputFs, snapshotTmpDir, filesUser, filesGroup, true);
>       }
>       if (filesMode > 0) {
>         setPermission(outputFs, snapshotTmpDir, (short)filesMode, true);
>       }
> {code}
> It copy snapshot manifest to initialOutputSnapshotDir, but it set owner on snapshotTmpDir.
They are different directory when skipTmp is true.
> Another problem is new cluster doesn't have .hbase-snapshot directory. So after export
snapshot, it should set owner on .hbase-snapshot directory.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message