[
https://issues.apache.org/jira/browse/SENTRY-2157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16573980#comment-16573980
]
Hadoop QA commented on SENTRY-2157:
-----------------------------------
Here are the results of testing the latest attachment
https://issues.apache.org/jira/secure/attachment/12934884/SENTRY-2157.4.patch
against master.
{color:red}Overall:{color} -1 due to an error
{color:red}ERROR:{color} failed to apply patch (exit code 1):
fatal: git apply: bad git-diff - inconsistent old filename on line 441
error: patch failed:
sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/metastore/SentryHmsEvent.java:31
Falling back to three-way merge...
Applied patch to
'sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/metastore/SentryHmsEvent.java'
cleanly.
error: patch failed:
sentry-binding/sentry-binding-hive/src/test/java/org/apache/sentry/binding/metastore/TestSentrySyncHMSNotificationsPostEventListener.java:37
Falling back to three-way merge...
Applied patch to
'sentry-binding/sentry-binding-hive/src/test/java/org/apache/sentry/binding/metastore/TestSentrySyncHMSNotificationsPostEventListener.java'
cleanly.
error: patch failed:
sentry-core/sentry-core-common/src/main/java/org/apache/sentry/SentryOwnerInfo.java:19
Falling back to three-way merge...
Applied patch to
'sentry-core/sentry-core-common/src/main/java/org/apache/sentry/SentryOwnerInfo.java'
cleanly.
error: patch failed:
sentry-core/sentry-core-common/src/main/java/org/apache/sentry/service/common/ServiceConstants.java:265
Falling back to three-way merge...
Applied patch to
'sentry-core/sentry-core-common/src/main/java/org/apache/sentry/service/common/ServiceConstants.java'
cleanly.
error: patch failed:
sentry-hdfs/sentry-hdfs-common/src/gen/thrift/gen-javabean/org/apache/sentry/hdfs/service/thrift/TPrivilegeChanges.java:49
Falling back to three-way merge...
Applied patch to
'sentry-hdfs/sentry-hdfs-common/src/gen/thrift/gen-javabean/org/apache/sentry/hdfs/service/thrift/TPrivilegeChanges.java'
cleanly.
error:
sentry-hdfs/sentry-hdfs-common/src/gen/thrift/gen-javabean/org/apache/sentry/hdfs/service/thrift/TPrivilegeEntity.java:
does not exist in index
error:
sentry-hdfs/sentry-hdfs-common/src/gen/thrift/gen-javabean/org/apache/sentry/hdfs/service/thrift/TPrivilegeEntityType.java:
does not exist in index
error: patch failed:
sentry-hdfs/sentry-hdfs-common/src/main/java/org/apache/sentry/hdfs/PermissionsUpdate.java:22
Falling back to three-way merge...
Applied patch to
'sentry-hdfs/sentry-hdfs-common/src/main/java/org/apache/sentry/hdfs/PermissionsUpdate.java'
cleanly.
error: patch failed:
sentry-hdfs/sentry-hdfs-common/src/main/resources/sentry_hdfs_service.thrift:26
Falling back to three-way merge...
Applied patch to
'sentry-hdfs/sentry-hdfs-common/src/main/resources/sentry_hdfs_service.thrift'
cleanly.
error: patch failed:
sentry-hdfs/sentry-hdfs-common/src/test/java/org/apache/sentry/hdfs/TestPermissionUpdate.java:21
Falling back to three-way merge...
Applied patch to
'sentry-hdfs/sentry-hdfs-common/src/test/java/org/apache/sentry/hdfs/TestPermissionUpdate.java'
cleanly.
error: patch failed:
sentry-hdfs/sentry-hdfs-namenode-plugin/src/main/java/org/apache/sentry/hdfs/SentryPermissions.java:23
Falling back to three-way merge...
Applied patch to
'sentry-hdfs/sentry-hdfs-namenode-plugin/src/main/java/org/apache/sentry/hdfs/SentryPermissions.java'
cleanly.
error: patch failed:
sentry-hdfs/sentry-hdfs-namenode-plugin/src/main/java/org/apache/sentry/hdfs/UpdateableAuthzPermissions.java:29
Falling back to three-way merge...
Applied patch to
'sentry-hdfs/sentry-hdfs-namenode-plugin/src/main/java/org/apache/sentry/hdfs/UpdateableAuthzPermissions.java'
cleanly.
error: patch failed:
sentry-hdfs/sentry-hdfs-namenode-plugin/src/test/java/org/apache/sentry/hdfs/TestSentryPermissions.java:23
Falling back to three-way merge...
Applied patch to
'sentry-hdfs/sentry-hdfs-namenode-plugin/src/test/java/org/apache/sentry/hdfs/TestSentryPermissions.java'
cleanly.
error: patch failed:
sentry-hdfs/sentry-hdfs-service/src/main/java/org/apache/sentry/hdfs/DBUpdateForwarder.java:27
Falling back to three-way merge...
Applied patch to
'sentry-hdfs/sentry-hdfs-service/src/main/java/org/apache/sentry/hdfs/DBUpdateForwarder.java'
cleanly.
error: patch failed:
sentry-hdfs/sentry-hdfs-service/src/main/java/org/apache/sentry/hdfs/PermImageRetriever.java:18
Falling back to three-way merge...
Applied patch to
'sentry-hdfs/sentry-hdfs-service/src/main/java/org/apache/sentry/hdfs/PermImageRetriever.java'
cleanly.
error: patch failed:
sentry-hdfs/sentry-hdfs-service/src/main/java/org/apache/sentry/hdfs/SentryPlugin.java:30
Falling back to three-way merge...
Applied patch to
'sentry-hdfs/sentry-hdfs-service/src/main/java/org/apache/sentry/hdfs/SentryPlugin.java'
cleanly.
error: patch failed:
sentry-hdfs/sentry-hdfs-service/src/test/java/org/apache/sentry/hdfs/TestDeltaRetriever.java:18
Falling back to three-way merge...
Applied patch to
'sentry-hdfs/sentry-hdfs-service/src/test/java/org/apache/sentry/hdfs/TestDeltaRetriever.java'
cleanly.
error: patch failed:
sentry-hdfs/sentry-hdfs-service/src/test/java/org/apache/sentry/hdfs/TestImageRetriever.java:23
Falling back to three-way merge...
Applied patch to
'sentry-hdfs/sentry-hdfs-service/src/test/java/org/apache/sentry/hdfs/TestImageRetriever.java'
cleanly.
error: patch failed:
sentry-hdfs/sentry-hdfs-service/src/test/java/org/apache/sentry/hdfs/TestSentryHDFSServiceProcessor.java:22
Falling back to three-way merge...
Applied patch to
'sentry-hdfs/sentry-hdfs-service/src/test/java/org/apache/sentry/hdfs/TestSentryHDFSServiceProcessor.java'
cleanly.
error: patch failed:
sentry-service/sentry-service-api/src/gen/thrift/gen-javabean/org/apache/sentry/api/service/thrift/TListSentryPrivilegesRequest.java:42
Falling back to three-way merge...
Applied patch to
'sentry-service/sentry-service-api/src/gen/thrift/gen-javabean/org/apache/sentry/api/service/thrift/TListSentryPrivilegesRequest.java'
cleanly.
error: patch failed:
sentry-service/sentry-service-api/src/gen/thrift/gen-javabean/org/apache/sentry/api/service/thrift/TSentryHmsEventNotification.java:57
Falling back to three-way merge...
Applied patch to
'sentry-service/sentry-service-api/src/gen/thrift/gen-javabean/org/apache/sentry/api/service/thrift/TSentryHmsEventNotification.java'
cleanly.
error:
sentry-service/sentry-service-api/src/gen/thrift/gen-javabean/org/apache/sentry/api/service/thrift/TSentryObjectOwnerType.java:
does not exist in index
error: patch failed:
sentry-service/sentry-service-api/src/main/java/org/apache/sentry/api/service/thrift/SentryPolicyServiceClient.java:306
Falling back to three-way merge...
Applied patch to
'sentry-service/sentry-service-api/src/main/java/org/apache/sentry/api/service/thrift/SentryPolicyServiceClient.java'
cleanly.
error: patch failed:
sentry-service/sentry-service-api/src/main/java/org/apache/sentry/api/service/thrift/SentryPolicyServiceClientDefaultImpl.java:233
Falling back to three-way merge...
Applied patch to
'sentry-service/sentry-service-api/src/main/java/org/apache/sentry/api/service/thrift/SentryPolicyServiceClientDefaultImpl.java'
cleanly.
error: patch failed:
sentry-service/sentry-service-api/src/main/resources/sentry_policy_service.thrift:38
Falling back to three-way merge...
Applied patch to
'sentry-service/sentry-service-api/src/main/resources/sentry_policy_service.thrift'
cleanly.
error: patch failed:
sentry-service/sentry-service-api/src/test/java/org/apache/sentry/api/service/thrift/TestSentryPolicyServiceClientDefaultImpl.java:133
Falling back to three-way merge...
Applied patch to
'sentry-service/sentry-service-api/src/test/java/org/apache/sentry/api/service/thrift/TestSentryPolicyServiceClientDefaultImpl.java'
cleanly.
error: patch failed:
sentry-service/sentry-service-server/src/main/java/org/apache/sentry/api/service/thrift/SentryPolicyStoreProcessor.java:60
Falling back to three-way merge...
Applied patch to
'sentry-service/sentry-service-server/src/main/java/org/apache/sentry/api/service/thrift/SentryPolicyStoreProcessor.java'
with conflicts.
error: patch failed:
sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/model/MSentryPrivilege.java:26
Falling back to three-way merge...
Applied patch to
'sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/model/MSentryPrivilege.java'
cleanly.
error: patch failed:
sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/model/MSentryRole.java:27
Falling back to three-way merge...
Applied patch to
'sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/model/MSentryRole.java'
cleanly.
error: patch failed:
sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/model/MSentryUser.java:26
Falling back to three-way merge...
Applied patch to
'sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/model/MSentryUser.java'
cleanly.
error: patch failed:
sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/NotificationProcessor.java:50
Falling back to three-way merge...
Applied patch to
'sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/NotificationProcessor.java'
cleanly.
error: patch failed:
sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/PermissionsImage.java:18
Falling back to three-way merge...
Applied patch to
'sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/PermissionsImage.java'
cleanly.
error:
sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/PrivilegeEntity.java:
does not exist in index
error: patch failed:
sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java:66
Falling back to three-way merge...
Applied patch to
'sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java'
cleanly.
error: patch failed:
sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStoreInterface.java:45
Falling back to three-way merge...
Applied patch to
'sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStoreInterface.java'
cleanly.
error: patch failed:
sentry-service/sentry-service-server/src/test/java/org/apache/sentry/api/service/thrift/TestSentryPolicyStoreProcessor.java:37
Falling back to three-way merge...
Applied patch to
'sentry-service/sentry-service-server/src/test/java/org/apache/sentry/api/service/thrift/TestSentryPolicyStoreProcessor.java'
cleanly.
error: patch failed:
sentry-service/sentry-service-server/src/test/java/org/apache/sentry/provider/db/generic/service/persistent/TestSentryRole.java:102
Falling back to three-way merge...
Applied patch to
'sentry-service/sentry-service-server/src/test/java/org/apache/sentry/provider/db/generic/service/persistent/TestSentryRole.java'
cleanly.
error: patch failed:
sentry-service/sentry-service-server/src/test/java/org/apache/sentry/provider/db/service/persistent/TestHMSFollowerSentryStoreIntegration.java:177
Falling back to three-way merge...
Applied patch to
'sentry-service/sentry-service-server/src/test/java/org/apache/sentry/provider/db/service/persistent/TestHMSFollowerSentryStoreIntegration.java'
cleanly.
error: patch failed:
sentry-service/sentry-service-server/src/test/java/org/apache/sentry/provider/db/service/persistent/TestSentryStore.java:60
Falling back to three-way merge...
Applied patch to
'sentry-service/sentry-service-server/src/test/java/org/apache/sentry/provider/db/service/persistent/TestSentryStore.java'
cleanly.
error:
sentry-binding-hive/src/main/java/org/apache/sentry/binding/metastore/SentryHmsEvent.java:
does not exist in index
error:
sentry-binding-hive/src/test/java/org/apache/sentry/binding/metastore/TestSentrySyncHMSNotificationsPostEventListener.java:
does not exist in index
error: sentry-core-common/src/main/java/org/apache/sentry/SentryOwnerInfo.java:
does not exist in index
error:
sentry-core-common/src/main/java/org/apache/sentry/service/common/ServiceConstants.java:
does not exist in index
error:
sentry-hdfs-common/src/gen/thrift/gen-javabean/org/apache/sentry/hdfs/service/thrift/TPrivilegeChanges.java:
does not exist in index
error:
sentry-hdfs-common/src/gen/thrift/gen-javabean/org/apache/sentry/hdfs/service/thrift/TPrivilegeEntity.java:
does not exist in index
error:
sentry-hdfs-common/src/gen/thrift/gen-javabean/org/apache/sentry/hdfs/service/thrift/TPrivilegeEntityType.java:
does not exist in index
error:
sentry-hdfs-common/src/main/java/org/apache/sentry/hdfs/PermissionsUpdate.java:
does not exist in index
error: sentry-hdfs-common/src/main/resources/sentry_hdfs_service.thrift: does
not exist in index
error:
sentry-hdfs-common/src/test/java/org/apache/sentry/hdfs/TestPermissionUpdate.java:
does not exist in index
error:
sentry-hdfs-namenode-plugin/src/main/java/org/apache/sentry/hdfs/SentryPermissions.java:
does not exist in index
error:
sentry-hdfs-namenode-plugin/src/main/java/org/apache/sentry/hdfs/UpdateableAuthzPermissions.java:
does not exist in index
error:
sentry-hdfs-namenode-plugin/src/test/java/org/apache/sentry/hdfs/TestSentryPermissions.java:
does not exist in index
error:
sentry-hdfs-service/src/main/java/org/apache/sentry/hdfs/DBUpdateForwarder.java:
does not exist in index
error:
sentry-hdfs-service/src/main/java/org/apache/sentry/hdfs/PermImageRetriever.java:
does not exist in index
error:
sentry-hdfs-service/src/main/java/org/apache/sentry/hdfs/SentryPlugin.java:
does not exist in index
error:
sentry-hdfs-service/src/test/java/org/apache/sentry/hdfs/TestDeltaRetriever.java:
does not exist in index
error:
sentry-hdfs-service/src/test/java/org/apache/sentry/hdfs/TestImageRetriever.java:
does not exist in index
error:
sentry-hdfs-service/src/test/java/org/apache/sentry/hdfs/TestSentryHDFSServiceProcessor.java:
does not exist in index
error:
sentry-service-api/src/gen/thrift/gen-javabean/org/apache/sentry/api/service/thrift/TListSentryPrivilegesRequest.java:
does not exist in index
error:
sentry-service-api/src/gen/thrift/gen-javabean/org/apache/sentry/api/service/thrift/TSentryHmsEventNotification.java:
does not exist in index
error:
sentry-service-api/src/gen/thrift/gen-javabean/org/apache/sentry/api/service/thrift/TSentryObjectOwnerType.java:
does not exist in index
error:
sentry-service-api/src/main/java/org/apache/sentry/api/service/thrift/SentryPolicyServiceClient.java:
does not exist in index
error:
sentry-service-api/src/main/java/org/apache/sentry/api/service/thrift/SentryPolicyServiceClientDefaultImpl.java:
does not exist in index
error: sentry-service-api/src/main/resources/sentry_policy_service.thrift: does
not exist in index
error:
sentry-service-api/src/test/java/org/apache/sentry/api/service/thrift/TestSentryPolicyServiceClientDefaultImpl.java:
does not exist in index
error:
sentry-service-server/src/main/java/org/apache/sentry/api/service/thrift/SentryPolicyStoreProcessor.java:
does not exist in index
error:
sentry-service-server/src/main/java/org/apache/sentry/provider/db/log/entity/JsonLogEntityFactory.java:
does not exist in index
error:
sentry-service-server/src/main/java/org/apache/sentry/provider/db/log/util/CommandUtil.java:
does not exist in index
error:
sentry-service-server/src/main/java/org/apache/sentry/provider/db/log/util/Constants.java:
does not exist in index
error:
sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/model/MSentryPrivilege.java:
does not exist in index
error:
sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/model/MSentryRole.java:
does not exist in index
error:
sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/model/MSentryUser.java:
does not exist in index
error:
sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/NotificationProcessor.java:
does not exist in index
error:
sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/PermissionsImage.java:
does not exist in index
error:
sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/PrivilegeEntity.java:
does not exist in index
error:
sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java:
does not exist in index
error:
sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStoreInterface.java:
does not exist in index
error:
sentry-service-server/src/test/java/org/apache/sentry/api/service/thrift/TestSentryPolicyStoreProcessor.java:
does not exist in index
error:
sentry-service-server/src/test/java/org/apache/sentry/provider/db/generic/service/persistent/TestSentryRole.java:
does not exist in index
error:
sentry-service-server/src/test/java/org/apache/sentry/provider/db/log/entity/TestJsonLogEntityFactory.java:
does not exist in index
error:
sentry-service-server/src/test/java/org/apache/sentry/provider/db/service/persistent/TestHMSFollowerSentryStoreIntegration.java:
does not exist in index
error:
sentry-service-server/src/test/java/org/apache/sentry/provider/db/service/persistent/TestSentryStore.java:
does not exist in index
The patch does not appear to apply with p0, p1, or p2
Console output:
https://builds.apache.org/job/PreCommit-SENTRY-Build/4015/console
This message is automatically generated.
> Update audit log to grant/revoke owner privileges
> -------------------------------------------------
>
> Key: SENTRY-2157
> URL: https://issues.apache.org/jira/browse/SENTRY-2157
> Project: Sentry
> Issue Type: Sub-task
> Components: Sentry
> Affects Versions: 2.1.0
> Reporter: Na Li
> Assignee: Sergio Peña
> Priority: Major
> Fix For: 2.1.0
>
> Attachments: SENTRY-2157.1.patch, SENTRY-2157.2.patch,
> SENTRY-2157.3.patch, SENTRY-2157.4.patch
>
>
> Update audit log to grant/revoke owner privileges
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)