You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2023/01/20 08:51:42 UTC
[hbase] branch branch-2 updated (8e11f91b3b7 -> 8fc3ef3eb2a)
This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a change to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
from 8e11f91b3b7 HBASE-27564 Add default encryption type for MiniKDC to fix failed tests on JDK11+ (#4968)
new af9da14a952 HBASE-27562 Publish SBOM artifacts (#4953)
new 8fc3ef3eb2a HBASE-27528 log duplication issues in MasterRpcServices. (#4951)
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../org/apache/hadoop/hbase/master/MasterRpcServices.java | 14 --------------
pom.xml | 13 +++++++++++++
2 files changed, 13 insertions(+), 14 deletions(-)
[hbase] 02/02: HBASE-27528 log duplication issues in MasterRpcServices. (#4951)
Posted by zh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
commit 8fc3ef3eb2a397991e0da2ac3a6850220341c2c3
Author: curie71 <39...@users.noreply.github.com>
AuthorDate: Fri Jan 20 15:53:32 2023 +0800
HBASE-27528 log duplication issues in MasterRpcServices. (#4951)
Signed-off-by: Duo Zhang <zh...@apache.org>
(cherry picked from commit 913cf6b96df1fe28c84be0e6c382090cbcd9d8b7)
---
.../org/apache/hadoop/hbase/master/MasterRpcServices.java | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterRpcServices.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterRpcServices.java
index 3af445884a7..c75e638f0d3 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterRpcServices.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterRpcServices.java
@@ -2806,13 +2806,6 @@ public class MasterRpcServices extends RSRpcServices
mergeExistingPermissions);
}
master.cpHost.postGrant(perm, mergeExistingPermissions);
- User caller = RpcServer.getRequestUser().orElse(null);
- if (AUDITLOG.isTraceEnabled()) {
- // audit log should store permission changes in addition to auth results
- String remoteAddress = RpcServer.getRemoteAddress().map(InetAddress::toString).orElse("");
- AUDITLOG.trace("User {} (remote address: {}) granted permission {}", caller,
- remoteAddress, perm);
- }
return GrantResponse.getDefaultInstance();
} else {
throw new DoNotRetryIOException(
@@ -2836,13 +2829,6 @@ public class MasterRpcServices extends RSRpcServices
PermissionStorage.removeUserPermission(master.getConfiguration(), userPermission, table);
}
master.cpHost.postRevoke(userPermission);
- User caller = RpcServer.getRequestUser().orElse(null);
- if (AUDITLOG.isTraceEnabled()) {
- // audit log should record all permission changes
- String remoteAddress = RpcServer.getRemoteAddress().map(InetAddress::toString).orElse("");
- AUDITLOG.trace("User {} (remote address: {}) revoked permission {}", caller,
- remoteAddress, userPermission);
- }
return RevokeResponse.getDefaultInstance();
} else {
throw new DoNotRetryIOException(
[hbase] 01/02: HBASE-27562 Publish SBOM artifacts (#4953)
Posted by zh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
commit af9da14a952d4f24f0901b5443053bca11220e70
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Thu Jan 19 23:53:06 2023 -0800
HBASE-27562 Publish SBOM artifacts (#4953)
Signed-off-by: Duo Zhang <zh...@apache.org>
(cherry picked from commit 5feb06bd69fa23eab4bd778275a034a5d47b446f)
---
pom.xml | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/pom.xml b/pom.xml
index 3cfddaee0a6..858b2837a35 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2533,6 +2533,19 @@
</formats>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.cyclonedx</groupId>
+ <artifactId>cyclonedx-maven-plugin</artifactId>
+ <version>2.7.3</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>makeBom</goal>
+ </goals>
+ <phase>package</phase>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
<extensions>
<extension>