instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apache__guacamole-server__369 | apache/guacamole-server | 369 | defect | 29535e6cb8c072efcdb61946ce5a2f1ed7d6a15b | dafb8ca5df850cfd57798451175fb9a3852f951e | GUACAMOLE-1538: Refactor libguac_terminal for easier extensibility, and migrate to shared library. | As described in [GUACAMOLE-1538](https://issues.apache.org/jira/projects/GUACAMOLE/issues/GUACAMOLE-1538), this change modifies the `libguac_terminal` library to be a shared library, instead of being duplicated into each of the three existing terminal-based libaries (ssh, telnet, and kubernetes).
In addition, this c... | diff --git a/src/protocols/kubernetes/kubernetes.c b/src/protocols/kubernetes/kubernetes.c
index a0ed7eae09..d77c6473b5 100644
--- a/src/protocols/kubernetes/kubernetes.c
+++ b/src/protocols/kubernetes/kubernetes.c
@@ -239,12 +239,24 @@ void* guac_kubernetes_client_thread(void* data) {
settings->record... | 4 | 1 | 0 | [{"id": "G0", "claim": "The line-continuation backslash on the libguac_terminalinc_HEADERS assignment should not be indented so far out.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The build's ldd check shows missing symbols that may cause pr... | null |
apache__guacamole-server__373 | apache/guacamole-server | 373 | defect | dc9dfe562f2104c95a3701c5902102eca8806291 | 890617aece7a89e8e1c1c729ef1c05a504e67cc1 | GUACAMOLE-1538: Terminal shared libary follow-on fixes | This PR fixes issues pointed out by @mike-jumper in https://github.com/apache/guacamole-server/pull/369.
- Rename the newly shared library to `libguac-terminal ` to match convention.
- Fix the linking errors by properly building against the common lib.
- Remove duplicated clipboard size constants.
- To avoid expo... | diff --git a/configure.ac b/configure.ac
index be8ab5cacb..54a958bc92 100644
--- a/configure.ac
+++ b/configure.ac
@@ -194,7 +194,7 @@ AC_SUBST([LIBGUAC_CLIENT_RDP_LTLIB], '$(top_builddir)/src/protocols/rdp/libgua
AC_SUBST([LIBGUAC_CLIENT_RDP_INCLUDE], '-I$(top_srcdir)/src/protocols/rdp')
# Terminal emulator
-AC_... | 8 | 8 | 0 | [{"id": "G0", "claim": "The new private header terminal/terminal_priv.h should not be included by protocol code such as kubernetes/argv.c; it should be included and required only by the terminal internals.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A... | null |
apache__guacamole-server__414 | apache/guacamole-server | 414 | defect | 47b9360d4678bb8e60f0850090ccade666255069 | 260281e18e136fb72a6f54d66718850263c41e63 | GUACAMOLE-600: Add support for setting SSH and SFTP timeouts. | This pull request adds support for setting the connection timeout for SSH and SFTP connections via connection parameters. | diff --git a/src/common-ssh/common-ssh/ssh.h b/src/common-ssh/common-ssh/ssh.h
index 346d8abcc9..e10c5aa61b 100644
--- a/src/common-ssh/common-ssh/ssh.h
+++ b/src/common-ssh/common-ssh/ssh.h
@@ -114,6 +114,10 @@ void guac_common_ssh_uninit();
*
* @param user
* The user to authenticate as, once connected.
+ *
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The inline comment \"/* 10 second timeout */\" on the tv.tv_sec assignment is inaccurate copy-pasta, since the value is the configurable timeout parameter, not a fixed 10 seconds.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
apache__guacamole-server__415 | apache/guacamole-server | 415 | defect | 47b9360d4678bb8e60f0850090ccade666255069 | 0c0fe2e7a43e7ea3a5999aaf370c27e2cf8e5c14 | GUACAMOLE-600: Add support for setting the Telnet connection timeout. | Add support for specifying the connection timeout for Telnet connections. | diff --git a/src/protocols/telnet/settings.c b/src/protocols/telnet/settings.c
index ddffc8e622..4211c58edb 100644
--- a/src/protocols/telnet/settings.c
+++ b/src/protocols/telnet/settings.c
@@ -37,6 +37,7 @@
const char* GUAC_TELNET_CLIENT_ARGS[] = {
"hostname",
"port",
+ "timeout",
"username",
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new code ignores the return value of connect(), and the reviewer asks whether it is OK to do so alongside the select()-based timeout — i.e. the return value of connect() should be checked.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
apache__guacamole-server__470 | apache/guacamole-server | 470 | defect | f0ab6655445d72ef92c7f33683817b9cea6ef1e8 | d870460774303aba9cfa86c1b55efb07e0a3f1aa | GUACAMOLE-1686: Make WOL functionality capable of testing connectivity to the server. | This PR adds to the Wake-on-LAN functionality, implementing a new function that checks the connection to the destination server both before sending the WOL packet and, again, after sending the packet. If the host responds before sending the WOL packet, there is no need to actually send the WOL packet. If the packet doe... | diff --git a/src/common-ssh/ssh.c b/src/common-ssh/ssh.c
index 765a7b5fcc..72f12498ca 100644
--- a/src/common-ssh/ssh.c
+++ b/src/common-ssh/ssh.c
@@ -24,6 +24,7 @@
#include <guacamole/client.h>
#include <guacamole/fips.h>
#include <guacamole/mem.h>
+#include <guacamole/socket-tcp.h>
#include <guacamole/string.h>
... | 3 | 3 | 2 | [{"id": "G0", "claim": "guac_itoa frees the caller's dest pointer and allocates memory itself, so a caller cannot pass a buffer that cannot be freed (such as a stack-allocated character buffer); it should instead expect the caller to have already allocated the destination.", "category": "design", "verdict": "supported"... | null |
apache__guacamole-server__606 | apache/guacamole-server | 606 | defect | 960d1b822d73befc1aad253a4cfd2d2b47456333 | dff8eb7d11d96bec945313dd32da9525aab8eedf | GUACAMOLE-2113: Improve warning when WoL is enabled but no MAC address is provided | Proposed fix for [GUACAMOLE-2113](https://issues.apache.org/jira/browse/GUACAMOLE-2113)
- Removed extra comma(,) in guac_user_log function calls so that the full message is logged.
- Added a comma for clarity with in the log message for RDP.
Results after local testing:
```
For VNC
guacd[273689]: WARNING: Wak... | diff --git a/configure.ac b/configure.ac
index 99d2418bf9..db07e0ee9b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,6 +47,7 @@ AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/socket.h time.h sys/time.h syslo
AC_DEFINE([_GNU_SOURCE], [1], [Uses GNU-specific APIs (if available)])
AC_DEFINE([_XOPEN_SOURCE], [700... | 3 | 3 | 0 | [{"id": "G0", "claim": "As a minor fix/improvement that does not impact documentation, the pull request should target the `patch` branch instead of `main`.", "category": "process", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The commit message needs to be formatted to match ... | null |
apache__guacamole-server__608 | apache/guacamole-server | 608 | defect | 38d77358f4890effd31fd5e32145b628124e0733 | aaacaef4e0a08d7a2158d03f0e5bcbc607d70718 | GUACAMOLE-2120: Support VT100 escape codes sent for function keys and keypad. | See details here: https://issues.apache.org/jira/browse/GUACAMOLE-2120 | diff --git a/src/protocols/kubernetes/kubernetes.c b/src/protocols/kubernetes/kubernetes.c
index 7eef33b16a..16c2279337 100644
--- a/src/protocols/kubernetes/kubernetes.c
+++ b/src/protocols/kubernetes/kubernetes.c
@@ -253,6 +253,7 @@ void* guac_kubernetes_client_thread(void* data) {
options->font_size = settings-... | 7 | 5 | 1 | [{"id": "G0", "claim": "The doc comment for the VT100PLUS enum value accidentally reads \"VT!00+\" (a shifted \"1\") instead of \"VT100+\" and should be corrected.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The default family of codes should g... | null |
apache__guacamole-server__615 | apache/guacamole-server | 615 | defect | 3e1eb3ce0b17ed25acc026fe32bd2e2e820c2104 | 471574a12408df73167b9477fc808959269d1ff4 | GUACAMOLE-2129: Migrate recording/typescript creation to shared function. | This change defines a new function, `guac_openat()`, which encapsulates the functionality relied upon by both recording and typescript creation:
* A numeric suffix can be appended automatically, if requested.
* The file can be locked appropriately upon return.
* The path containing the file is provided separately ... | diff --git a/src/libguac/Makefile.am b/src/libguac/Makefile.am
index fd4f5cc3c5..0a9e9e12c5 100644
--- a/src/libguac/Makefile.am
+++ b/src/libguac/Makefile.am
@@ -55,6 +55,9 @@ libguacinc_HEADERS = \
guacamole/fifo.h \
guacamole/fifo-constants.h \
guacamole/fifo-t... | 5 | 5 | 1 | [{"id": "G0", "claim": "The @return documentation for guac_is_filename() in file-private.h states the return values backwards relative to the implementation, which returns 0 when a path separator is found and non-zero when none is found.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": ... | null |
apache__guacamole-server__643 | apache/guacamole-server | 643 | defect | 5e3e43fab20dd47687359a1477c1ce301b851102 | 2f630ccf360498a47639bac6acaab2159d8023c8 | GUACAMOLE-2238: Multiple guacamole-server code paths do not correctly… | ## Summary
This PR hardens blocking I/O and wait paths against signal interruption (EINTR).
When a signal is delivered (e.g. when a child process exits), some blocking syscalls can return early with -1 with **errno = EINTR** . This is not a hard failure: the syscall should be retried.
This PR adds EINTR retry l... | diff --git a/src/common/io.c b/src/common/io.c
index 2e2a5ad77c..622fe9d0bb 100644
--- a/src/common/io.c
+++ b/src/common/io.c
@@ -20,6 +20,7 @@
#include "config.h"
#include "common/io.h"
+#include <errno.h>
#include <unistd.h>
int guac_common_write(int fd, void* buffer, int length) {
@@ -29,7 +30,10 @@ int gua... | 3 | 2 | 0 | [{"id": "G0", "claim": "The do/while EINTR-retry pattern is repeated in many places; it should be pulled into reusable libguac functions/macros instead of being duplicated.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G5", "claim": "The WSAEINTR recv retry i... | null |
apache__hadoop__5273 | apache/hadoop | 5,273 | defect | 35ce60eadd1d890f00c516b57ebb853ce9c95b37 | e04011ca7ca13cb0ab3146ee54e5c9bbf7aefddb | HADOOP-17377: ABFS: MsiTokenProvider doesn't retry HTTP 429/410 from the Instance Metadata Service | [ABFS: MsiTokenProvider doesn't retry HTTP 429 from the Instance Metadata Service
](https://issues.apache.org/jira/browse/HADOOP-17377)
Resolution for the above mentioned issue where we should enable retries for HTTP error code 429 and HTTP error code 410 based on https://learn.microsoft.com/en-in/azure/virtual-mac... | diff --git a/hadoop-tools/hadoop-azure/pom.xml b/hadoop-tools/hadoop-azure/pom.xml
index c313fa28a3ab48..55599b05ea0250 100644
--- a/hadoop-tools/hadoop-azure/pom.xml
+++ b/hadoop-tools/hadoop-azure/pom.xml
@@ -308,8 +308,23 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</art... | 12 | 10 | 0 | [{"id": "G0", "claim": "The HTTP 429/410 retry qualification added to ExponentialRetryPolicy should instead live only in AzureADAuthenticator's token-fetch path, because with it in the centralized policy every ABFS API that receives a 429 or 410 response will be retried up to 30 times before completeExecute throws anyw... | null |
apache__hadoop__5460 | apache/hadoop | 5,460 | defect | 927401886ae5be5f3c8dd6d82f13363bba594396 | 15851db5be391e6f36c263739f55723ab2abb7af | HDFS-16942. Send error to datanode if FBR is rejected due to bad lease | ### Description of PR
When a datanode sends a FBR to the namenode, it requires a lease to send it. On a couple of busy clusters, we have seen an issue where the DN is somehow delayed in sending the FBR after requesting the least. Then the NN rejects the FBR and logs a message to that effect, but from the Datanodes p... | diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java
index e9f424604b4af2..b552fa277d049e 100755
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java... | 4 | 3 | 1 | [{"id": "G0", "claim": "The reset of fullBlockReportLeaseId should probably also set forceFullBlockReport to true, otherwise the datanode will send the block report only at the next 6-hour default interval.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"... | null |
apache__hadoop__7205 | apache/hadoop | 7,205 | defect | 464d7d97f9fa42c9189971b0d2c09f18f1448301 | 99f63ea4b02265915276723a5133b0f0b4f074bf | HADOOP-19352. Hadoop OSS Connector adds support for V4 signatures. | ### Description of PR
AliyunOSS is about to adjust its security policy: only V4 signature requests will be supported in the public cloud. Therefore, support for V4 signatures is also required in Hadoop, and V4 signatures will be the default.
Change 1: Upgraded the OSS SDK version to 3.18.1 to support V4 authenticat... | diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index e28ddff1921dcf..da9c5b8cb46766 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -1663,7 +1663,7 @@
<dependency>
<groupId>com.aliyun.oss</groupId>
<artifactId>aliyun-sdk-oss</artifactId>
- <version>3.13.... | 5 | 4 | 2 | [{"id": "G0", "claim": "When V4 is configured without a region, the store should throw IOException instead of IllegalArgumentException, which the reviewer asks to double-check as more appropriate.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "testV4With... | null |
apache__hadoop__7280 | apache/hadoop | 7,280 | defect | f0ab1e69723be706df2735e42426760d259d386a | 68234837143c34929de5c1dc0555fd11140d5cc3 | HDFS-17496. DataNode supports more fine-grained dataset lock based on blockid. | ### Description of PR
More detailed infomation please refer to https://github.com/apache/hadoop/pull/6764
Major differences from origin are below:
1、 Remove class ModDataSetSubLockStrategy and add a new class DataNodeLayoutSubLockStrategy
2、Add util methods in DatanodeUtil.
3、Add javadoc for method DatanodeUtil#id... | diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/DataNodeLockManager.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/DataNodeLockManager.java
index e7a3b38357ac97..cb22a0570627f4 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/mai... | 5 | 4 | 0 | [{"id": "G0", "claim": "The new subdir-name helper duplicates the blockId >> 16 / blockId >> 8 path computation of idToBlockDir, so idToBlockDir should be reimplemented to reuse the common method instead of duplicating it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}... | null |
apache__hadoop__7376 | apache/hadoop | 7,376 | defect | c5fdc3ba6c27d77be90a383ad596f939572f83bf | 6262ad8b1f8e25aeffd762fed8491b5ecc581768 | HADOOP-19446. ABFS: [FnsOverBlob][Tests] Add Tests For Negative Scenarios Identified for Delete Operation | ### Description of PR
JIRA: https://issues.apache.org/jira/browse/HADOOP-19446
We have identified a few scenarios worth adding integration or mocked behavior tests for while implementing FNS Support over Blob Endpoint. This PR adds tests for the negative scenarios identified for the delete operation particularly.
... | diff --git a/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsBlobClient.java b/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsBlobClient.java
index b54ce1a4dac7ef..7d04c332c2c73b 100644
--- a/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop... | 7 | 7 | 2 | [{"id": "G0", "claim": "The chained assertion calls in testDeleteIdempotency are misindented and the indentation should be fixed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The leftover 'To-discuss: If DFS service type, this if case can be r... | null |
apache__hadoop__7445 | apache/hadoop | 7,445 | defect | 32dad2039ad8db94b413de65f3b4ef44f9b7791c | 851ebf2df603ca03776a2b542bed34b9e00ea115 | HDFS-17744. [ARR] getEnclosingRoot RPC adapts to async rpc. | ### Description of PR
getEnclosingRoot RPC should also adapt to async rpc.
| diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/async/RouterAsyncClientProtocol.java b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/async/RouterAsyncClientProtocol.java
index f00ae63b902be1..c12249d16b431... | 2 | 1 | 1 | [{"id": "G0", "claim": "Add a unit test for the new getEnclosingRoot method.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Reviewer suggests using a single `Path mountPath` instead of a one-element Path array in getEnclosingRoot, asking whether there a... | null |
apache__hadoop__7837 | apache/hadoop | 7,837 | defect | 9d5e111237bdb34723418e56be90b27970c65466 | 224f712fee069bd839f8c27a979367e61cec8c17 | HADOOP-19645. [ABFS][ReadAheadV2] Improve Metrics for Read Calls to identify type of read done. | ### Description of PR
JIRA: https://issues.apache.org/jira/browse/HADOOP-19645
There are a number of ways in which ABFS driver can trigger a network call to read data. We need a way to identify what type of read call was made from client. Plan is to add an indication for this in already present ClientRequestId head... | diff --git a/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/constants/AbfsHttpConstants.java b/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/constants/AbfsHttpConstants.java
index 8bee2c72b6b653..b545c6248055db 100644
--- a/hadoop-tools/hadoop-azure/src/main/java/org/apach... | 13 | 8 | 0 | [{"id": "G0", "claim": "The tracing header construction hardcodes the TracingHeaderVersion.V1 constant in several places; use TracingHeaderVersion.getCurrentVersion() consistently to centralise version management.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": ... | null |
apache__hadoop__7868 | apache/hadoop | 7,868 | defect | 5bd8b2ad74cd089f54851dfef1f5981564801b39 | 64f15bfbb96b28d201067683e6e619496d0683da | HADOOP-19649. [ABFS] Fixing Test Failures and Assumptions Post Junit Upgrade | ### Description of PR
After https://issues.apache.org/jira/browse/HADOOP-19425
most of the integration tests are getting skipped. All tests need to be fixed with this PR
### How was this patch tested?
Test Suite ran. | diff --git a/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/AbstractAbfsIntegrationTest.java b/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/AbstractAbfsIntegrationTest.java
index 27585f9fa59863..c35b76e1a7368e 100644
--- a/hadoop-tools/hadoop-azure/src/test/java/org/apach... | 3 | 1 | 0 | [{"id": "G0", "claim": "The getIngressServiceType() assumption in testRecreateAppendAndFlush is placed after the assertThrows() call begins and should be checked before it.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The junit-vintage-engine test... | null |
apache__hadoop__7880 | apache/hadoop | 7,880 | defect | 5bd8b2ad74cd089f54851dfef1f5981564801b39 | 18fa0f27d00c849b858b19383a3c213a71a9aacb | HADOOP-19650. [ABFS] Fixing NPE when close() called on uninitialized filesystem | ### Description of PR
AzureBlobFileSystem.close() throws NPE when called before initialize().
Before initialize, store is null.
Fix is to avoid calling any stor method before initialize is complete.
### How was this patch tested?
New test added and existing tests were run. | diff --git a/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystem.java b/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystem.java
index 348444fd1f1cc8..f0f38b93f79b71 100644
--- a/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azur... | 3 | 2 | 0 | [{"id": "G0", "claim": "A javadoc should be added to the isClosed field stating that it really means the filesystem is closed or not initialized.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "close() should throw an exception when someone closes ... | null |
apache__hadoop__7980 | apache/hadoop | 7,980 | defect | 4647354367cc8ed3f583c08b41f9e5b43d4ca750 | 4c10b3efa588c0eb46c63efe76d2430d1da60c23 | HADOOP-19696. hadoop binary distribution to move cloud connectors to hadoop common/lib |
* new assembly for hadoop cloud storage
* hadoop-cloud-storage does the assembly on -Pdist
* layout stitching to move into share/hadoop/common/lib
* remove connectors from hadoop-tools-dist
* cut old jackson version from huawaei cloud dependency -even though it was being upgraded by our own artifacts, it was a co... | diff --git a/BUILDING.txt b/BUILDING.txt
index f87cc8d11ead2c..674bf01bf2a213 100644
--- a/BUILDING.txt
+++ b/BUILDING.txt
@@ -388,6 +388,58 @@ Create a local staging version of the website (in /tmp/hadoop-site)
Note that the site needs to be built in a second pass after other artifacts.
+-------------------------... | 6 | 5 | 2 | [{"id": "G0", "claim": "In the distribution built by this pull request, the gcs and obs filesystem providers fail to instantiate during service-loader enumeration because their dependency jars are missing from the classpath, and they should be registered in core-default.xml only instead of via META-INF/services.", "cat... | null |
apache__hadoop__8018 | apache/hadoop | 8,018 | defect | f49c49aa083b9324ae432902f94a7aaf98f543ea | 3cbd1117a07759104181be57cd5f656a68b84e6d | YARN-11877. Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x. | <!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g., 'HADOOP-17799. Your PR title ...'.
-->
### Description of PR
... | diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/timeline/reader/TimelineEntityReader.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/timeline/reader/TimelineEntityReader.java
new file mode 100644
index ... | 5 | 5 | 1 | [{"id": "G0", "claim": "Tez-specific test code cannot stay in the hadoop repository; the provided unit test should be adapted into a generic one.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "For consistency with how TimelineEntityWriter is registered, ... | null |
apache__hadoop__8048 | apache/hadoop | 8,048 | defect | 4f9efcb3bc10d11d6c81457bc51e59dfe0791041 | 249aef5213fa039d252e7f7ae03c060b6c87d94f | HADOOP-19733. S3A: load credentials providers using configured classloader | ### Description of PR
[HADOOP-19733](https://issues.apache.org/jira/browse/HADOOP-19733): With `fs.s3a.classloader.isolation` set to `false` in a Spark application, it was still impossible to load a credentials provider class from the Spark application jar.
`fs.s3a.classloader.isolation` works by saving a referen... | diff --git a/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AUtils.java b/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AUtils.java
index 63ad42dab7adb6..27d7363fbc3ad3 100644
--- a/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AUtils.java
+++ b/hadoop-tools/hadoo... | 5 | 5 | 2 | [{"id": "G0", "claim": "Put the Amazon SDK imports in the same import group as the JUnit ones instead of a separate block.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Restore the mapOf() helpers in place of Map.of(), because the code must sta... | null |
apache__hadoop__8064 | apache/hadoop | 8,064 | defect | e57306eb2af466bd17d31217a097942be7636554 | d64b0ca4adc9d0b865bb29bf79770370eb1416bf | HDFS-17853. Support to make dfs.namenode.fs-limits.max-directory-items reconfigurable | Sometimes, certain directories—such as temporary library directories—contain too many subdirectories and files, exceeding the limit defined by the dfs.namenode.fs-limits.max-directory-items configuration. This causes many jobs to fail.
To quickly restore job execution, we need to temporarily adjust this configuratio... | diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java
index dd6e021a80d312..4a3e1483232fe5 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/a... | 7 | 7 | 1 | [{"id": "G0", "claim": "The comment explaining why the limit is 6.4 million becomes orphaned now that the PR removed the local MAX_DIR_ITEMS constant it documented.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "setMaxDirItems should not use the f... | null |
apache__hadoop__8120 | apache/hadoop | 8,120 | defect | 8e4d83f4cbc877e7d9dbf5862046d08376b30bc1 | dee22a531676905e0966b843dcdab6f98217cc44 | HDFS-17861. The mis-behavior of commitBlockSynchronization may cause standby namenode and observer namenode crash. | ### Description of PR
Recently, our standby namenode and observer namenode crash suddenly. The error stack is as below :
```java
2025-11-18 17:47:51,092 ERROR org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader: Encountered exception on operation CloseOp [length=0, inodeId=0, path=/user/luca/data-pre/dc/Bee-Tr... | diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
index c4aa37782531b6..5938cd466846d0 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org... | 1 | 1 | 0 | [{"id": "G0", "claim": "Remove the extra blank line (extra spaces) left at the end of the new test's setup() method in TestBlockRecoveryCauseStandbyNameNodeCrash.java.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
apache__hadoop__8135 | apache/hadoop | 8,135 | defect | fabda82684e4586875ddb6d39b0c12411e92a7ec | d9c1ab3ab4965674c92dc8962a6b4b52fefaaa35 | HADOOP-19737: ABFS: [BugFix] Add metrics to identify improvements with read and write aggressiveness | This PR provides a fix for HADOOP-19737: ABFS – Add metrics to track improvements in read and write aggressiveness.
The changes address the following issues:
1. Java 8 Compatibility: Removed usage of the unsupported ProcessHandle class to ensure full compatibility with Java 8.
2. Accurate Metrics Updates: Enhanced... | diff --git a/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/JvmIdProvider.java b/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/JvmIdProvider.java
new file mode 100644
index 00000000000000..f4ea0d2a8f977f
--- /dev/null
+++ b/hadoop-tools/hadoop-azure/src/main/java/org/apach... | 4 | 3 | 0 | [{"id": "G0", "claim": "Use a timestamp-based UUID generator instead of a pure random 6-digit number for better uniqueness of the JVM identifier.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a unit test asserting the singleton behaviour of the... | null |
apache__hadoop__8152 | apache/hadoop | 8,152 | defect | e7cab8ae51385ce8025b282d8055b14d8aa9660b | c40d9e040bc1bcae87e321682d5dbe55d36266ef | HADOOP-19766: ABFS. Force Blob Instance for FNS Accounts | ### Description of PR
JIRA: https://issues.apache.org/jira/browse/HADOOP-19766
We have observed cases of ABFS driver being initialised with DFS for FNS accounts which is not a recommended endpoint by the service.
To prevent this, we’re normalizing endpoint to Blob for FNS accounts even if they were initialized wit... | diff --git a/hadoop-tools/hadoop-azure/dev-support/testrun-scripts/runtests.sh b/hadoop-tools/hadoop-azure/dev-support/testrun-scripts/runtests.sh
index a0039ced06d709..88c50173a860c0 100755
--- a/hadoop-tools/hadoop-azure/dev-support/testrun-scripts/runtests.sh
+++ b/hadoop-tools/hadoop-azure/dev-support/testrun-scrip... | 14 | 13 | 1 | [{"id": "G0", "claim": "A constant for the '.dfs.' domain indicator already exists, so the PR should use it instead of adding the new private DFS_DOMAIN_INDICATOR field.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In testFNSEndptConvertedIndi... | null |
apache__hadoop__8153 | apache/hadoop | 8,153 | defect | 4a82720b30839e570d74339f9f300763c30ed020 | 94d2336087bfeb09276c98ee5d49925f7c264694 | HADOOP-19767: [ABFS] Introduce Abfs Input Policy for detecting read patterns | ### Description of PR
Since the onset of ABFS Driver, there has been a single implementation of AbfsInputStream. Different kinds of workloads require different heuristics to give the best performance for that type of workload. For example:
Sequential Read Workloads like DFSIO and DistCP gain performance improvemen... | diff --git a/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AbfsConfiguration.java b/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AbfsConfiguration.java
index e7591292c919a4..70c5e5261259ab 100644
--- a/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs... | 14 | 14 | 1 | [{"id": "G0", "claim": "Inline comments are missing the space after '//' (e.g. '//If buffer is empty'), in AbfsAdaptiveInputStream and also in AbfsRandomInputStream and AbfsPrefetchInputStream, and the reviewer asks that all occurrences be corrected.", "category": "maintainability", "verdict": "supported", "priority": ... | null |
apache__hadoop__8164 | apache/hadoop | 8,164 | defect | c5285668110f6a0e46d218cd69b17f4f4019a977 | fb9e4dd31c0a1c75195ed1dc27f1884fd052877b | YARN-11916. FileSystemTimelineReaderImpl vulnerable to race conditions | * Move the class. It was never public API.
* Added the test artifact at test scope to yarn-client for its tests.
* Javadocs make really, really clear this isn't for production.
* General resilience hardening and tests while there.
### For code changes:
- [X] Does the title or this PR starts with the correspon... | diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/pom.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/pom.xml
index 6e7f9d243d26dd..904b76f452e073 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/pom.xml
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/pom.xml
@@ -158,6 +15... | 1 | 1 | 0 | [{"id": "G0", "claim": "Remove the extraneous word \"is\" from the new javadoc sentence so it reads \"This makes the update operation slower and slower the longer an application runs.\"", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
apache__hadoop__8196 | apache/hadoop | 8,196 | defect | 7f2f7149788005f1dd975ed427d5626abc5145e3 | 4c0d9ffb1e65f350893369be17aea4cb457e5a8c | HDFS-17874. Check NodePlan JSON | <!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g., 'HADOOP-17799. Your PR title ...'.
-->
### Description of PR
... | diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/diskbalancer/planner/NodePlan.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/diskbalancer/planner/NodePlan.java
index 39a7c57bca2cda..046ecc68d1e9e3 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/s... | 18 | 12 | 1 | [{"id": "G0", "claim": "The new checkNodes helper should get a proper javadoc that highlights its recursion through arrays and nested maps/objects.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add braces around the single-line `if (node == null)... | null |
apache__hadoop__8225 | apache/hadoop | 8,225 | defect | 0cc52d228e9daaf8c5ea050b61454e3a51a7e9d8 | dfa73c612447f6cbaccaca4f0f36305f5b6804d8 | HADOOP-19793. S3A: use long for file size in S3A content providers, data blocks | <!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g., 'HADOOP-17799. Your PR title ...'.
-->
### Description of PR
... | diff --git a/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3ADataBlocks.java b/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3ADataBlocks.java
index dff7493e08b366..35b415e32c94bb 100644
--- a/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3ADataBlocks.java
+++ b/had... | 2 | 2 | 0 | [{"id": "G0", "claim": "Fix the new spotbugs MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECT warning in SinglePendingCommit (or PendingSet) by addressing the overridable method call in readObject, or by suppressing it with a new entry in findbugs-exclude.xml.", "category": "correctness", "verdict": "supported", "priority": "... | null |
apache__hadoop__8229 | apache/hadoop | 8,229 | defect | 8222ac0f546911b387b6a141e06dd8bf5306d565 | bf9a4b88648fcd9000547bcccad5e7176775273e | HADOOP-19802. [ABFS] Removing azure storage dependency from hadoop-azure code. | This PR introduces ABFS REST implementations for ListContainers and DeleteContainer, eliminating the dependency on the Azure Storage SDK in the hadoop-azure module for these operations.
A separate PR addresses the removal of WASB support — https://github.com/apache/hadoop/pull/8207
. Once that change is merged, the... | diff --git a/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/constants/AbfsHttpConstants.java b/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/constants/AbfsHttpConstants.java
index e5db0653f3cf25..aa1d410298314d 100644
--- a/hadoop-tools/hadoop-azure/src/main/java/org/apach... | 14 | 14 | 1 | [{"id": "G0", "claim": "The lastModified() conversion in ContainerListEntrySchema can be written more cleanly (Objects.toString, or a ternary calling lastModified.toString() for type clarity).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The c... | null |
apache__hadoop__8247 | apache/hadoop | 8,247 | defect | 9dda9119fe3c7a89f39fd0a807a19f5e4f89ea12 | b82429dcc4df1c75436b3f021447aaecde7a2abe | MAPREDUCE-7530. MR AM REST API backward compatibility with Jersey1 | ### Description of PR
We can not get metrics for running MR job via proxy.
Example call:
http://{{RM}}:8088/proxy/application_1770709887971_0014/ws/v1/mapreduce/jobs/job_1770709887971_0014/counters
Results:
404
Seems like we have to use moxy here also
### How was this patch tested?
I manually tried s... | diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/pom.xml b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/pom.xml
index 198afa9c9a33f5..565af7691fb84d 100644
--- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/pom.xml
... | 2 | 1 | 0 | [{"id": "G0", "claim": "The LOG.trace statements added in ExcludeRootJSONProvider may be leftovers from testing and may not be needed in production.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Many of the import statements in JAXBContextResolve... | null |
apache__hadoop__8289 | apache/hadoop | 8,289 | defect | b25baff97692fb8a252adeede3ec1def0d4e145f | 9c1747583bf9b4c82c4b54fc937e1e2c756dec7f | HDFS-17888. Fix MiniCluster startup & HttpServer service's conf issues. | <!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g., 'HADOOP-17799. Your PR title ...'.
-->
### Description of PR
h... | diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/test/GenericTestUtils.java b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/test/GenericTestUtils.java
index ada8a9cdb29175..4fa5caa31095b5 100644
--- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hado... | 3 | 3 | 0 | [{"id": "G0", "claim": "The failure path in GenericTestUtils.getTestDir should throw IllegalStateException with the message \"Directory not created\" instead of IllegalArgumentException(\"File ... should exist\").", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": ... | null |
apache__hadoop__8345 | apache/hadoop | 8,345 | defect | a178eb780f5c983ab7e5c5a4add8a3027060c68d | 8d5f9192299f522321a92665f01414d42a36d41e | HDFS-17892 RBF: permit not released during invokeConcurrent if getOrderedNamenodes throws an exception | JIRA: [HDFS-17892](https://issues.apache.org/jira/browse/HDFS-17892)
### Description of PR
After [HDFS-17265](https://issues.apache.org/jira/browse/HDFS-17265), we either move acquirePermit after getOrderedNamenodes or wrap getOrderedNamenodes in a try-finally block so that the permit can be released if getOrderedN... | diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcClient.java b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcClient.java
index a0c67958b053ee..3caced2ae6cd94 100644
--- a/hadoop-hdfs-proje... | 1 | 1 | 1 | [{"id": "G0", "claim": "getRemoteResults releases the permit itself, so with the new try-finally in invokeConcurrent keeping the call inside the try block would release the permit a second time — getRemoteResults should be moved outside the try-finally block.", "category": "correctness", "verdict": "supported", "priori... | null |
apache__hadoop__8364 | apache/hadoop | 8,364 | defect | df15c5b3c5fcbf36f10649ede12f8acef026f2db | 75c940bed8c6dcef3550f9b1110b663e34facfe2 | [HDFS-17897] Handle InvalidEncryptionKeyException during striped file checksum | ### Description of PR
Jira: [HDFS-17897](https://issues.apache.org/jira/browse/HDFS-17897)
HDFS-12931 added handling for `InvalidEncryptionKeyException` in `ReplicatedFileChecksumComputer.checksumBlock()` but missed the parallel striped file path `StripedFileNonStripedChecksumComputer.checksumBlockGroup()`.... | diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/FileChecksumHelper.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/FileChecksumHelper.java
index 21bc8853580762..f5c69af8f57f71 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/or... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new striped-file checksum regression test in TestEncryptedTransfer still passes even when the fix is commented out, so it does not actually verify the fix.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The PR adds another sy... | null |
apache__hadoop__8378 | apache/hadoop | 8,378 | defect | e23df4c4b84fc4820d9593e2e0a205b5d7377261 | 834429bbce4f12409f6283774272b11e538c0d31 | MAPREDUCE-7523. MapReduce Task-Level Security Enforcement |
### Description of PR
The goal of this feature tp provide a configurable mechanism to control which users are allowed to execute specific MapReduce jobs. This feature aims to prevent unauthorized or potentially harmful mapper/reducer implementations from running within the Hadoop cluster.
In the standard Hadoop... | diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/MRAppMaster.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/MRAppMaster.java
index 703f0b1f58778... | 5 | 5 | 2 | [{"id": "G0", "claim": "The documentation should list the mapred.mapper.class key without surrounding quotes.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The validated user should come from UserGroupInformation.getCurrentUser() rather than from... | null |
apache__hadoop__8416 | apache/hadoop | 8,416 | defect | 25bd0dcfeac0dff144a2ccc19a902a021fcbcfd9 | bf7b676d020b8ced264f2b5373c63180093f6a15 | HDFS-17906. Fix issue that DataNodes get stuck in infinite loop when meet InvalidBlockReportLeaseException. | ### Description of PR
https://github.com/apache/hadoop/pull/5460#discussion_r3051817271
HDFS-16942 introduced `InvalidBlockReportLeaseException`, which the NameNode now throws back to the DataNode via RPC when a block report is rejected due to an invalid lease. On a DataNode that also includes HDFS-16942, the exc... | diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java
index 96226f45f6a489..d75087fb545876 100755
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigK... | 3 | 2 | 0 | [{"id": "G0", "claim": "When shouldRejectInvalidBlockReportLease() is false and the lease check fails, blockReport now falls through and can still execute bm.removeBRLeaseIfNeeded and update lastBlockReportTime for a report that was not processed; the reviewer asks to return early or guard those lease/state updates.", ... | null |
apache__hbase-operator-tools__11 | apache/hbase-operator-tools | 11 | defect | 1e8a7f20a20420a34e12c53f6f8e9faa111e1b5e | be17c4fcd916bfe0a7c37c5cff5461af017ca778 | HBASE-21322 Add a scheduleServerCrashProcedure() API to HbckService | Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org> | diff --git a/hbase-hbck2/README.md b/hbase-hbck2/README.md
index cbca367144..17f15a6d49 100644
--- a/hbase-hbck2/README.md
+++ b/hbase-hbck2/README.md
@@ -52,25 +52,28 @@ _HBCK2_ to generate the _HBCK2_ jar file, running the below will dump out the _H
~~~~
```
+usage: HBCK2 [OPTIONS] COMMAND <ARGS>
+
Options:
- -d... | 3 | 2 | 1 | [{"id": "G0", "claim": "The new command name `serverCrashProcedures` should be renamed to something shorter and verb-like, e.g. `scheduleSCP` (or a name like `scheduleRecovery`).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Running the new sch... | null |
apache__hbase-operator-tools__143 | apache/hbase-operator-tools | 143 | defect | 428623538a8b486762b83b098328510a53db54fe | d61f2b4224947fe807044f17a349ac5e60059440 | HBASE-28632 Make -h arg respected by hbck2 and exit if unrecognized arguments are passed | https://issues.apache.org/jira/browse/HBASE-28632
The commands in hbck2 do not accept `-h` in order to display the usage guide. Adding that functionality with this PR. Before the command is performed, the `-h` option is checked and if it exists, then the command specific usage guide is printed.
### Example c... | diff --git a/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java b/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java
index b9c7db3a3f..327f050566 100644
--- a/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java
+++ b/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java
@@ -1152,6 +1152,11 @@ private int doComm... | 6 | 3 | 0 | [{"id": "G0", "claim": "The new two-argument getCommandLine overload may be unused.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It would be nice to have usage docs for specific commands rather than just the single wall of text.", "category": "d... | null |
apache__hbase-operator-tools__45 | apache/hbase-operator-tools | 45 | defect | 8d75b1d9dbc8ac8ba59e30411079985491e1f6ec | 57c619a0342a65715a2fbc90c05a8b4539f35ed1 | HBASE-23371 [HBCK2] Provide client side method for removing ghost regions in meta. | Figured there were many similarities with the already existing _addFsRegionsMissingInMeta_ and _reportMissingRegionsInMeta_, so had worked on some refactoring in order to avoid code duplication. | diff --git a/hbase-hbck2/README.md b/hbase-hbck2/README.md
index 869e0acd67..f431423487 100644
--- a/hbase-hbck2/README.md
+++ b/hbase-hbck2/README.md
@@ -174,6 +174,20 @@ Command:
for how to generate new report.
SEE ALSO: reportMissingRegionsInMeta
+ removeExtraRegionsFromMeta <NAMESPACE|NAMESPACE:TABLENAME>... | 13 | 10 | 2 | [{"id": "G0", "claim": "Instead of separate remove/report commands, add one method with a -f/--fix flag for the case where the command should actually perform the fix, as the filesystem command does, to cut down the number of commands operators see.", "category": "design", "verdict": "supported", "priority": "P1", "sco... | null |
apache__hbase-operator-tools__55 | apache/hbase-operator-tools | 55 | defect | 1271fea67f71870763e89ccc402d5f290705dfc1 | a8f875d08b5373b34ea8f545dffe6e93b4aa453f | HBASE-24039 | HBCK2 feature negotiation to check what commands are supported | diff --git a/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java b/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java
index ead69c4158..c3bce1f5d7 100644
--- a/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java
+++ b/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java
@@ -21,8 +21,10 @@
import java.io.InputS... | 7 | 6 | 1 | [{"id": "G0", "claim": "The version-based compatibility check (checkHBCKSupport and MINIMUM_HBCK2_VERSION) should be removed now that the new function-based check exists; keeping both could end up in chaos.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A ... | null |
apache__hbase-operator-tools__62 | apache/hbase-operator-tools | 62 | defect | 7deeb9d34706255143af7e9891b24f4b3e1be50f | 45210cce544e8468bfc46767a121090f3e956c7b | HBASE-23927 HBCK takes one or more files for assigns | This is for https://issues.apache.org/jira/browse/HBASE-23927 | diff --git a/hbase-hbck2/README.md b/hbase-hbck2/README.md
index 39f3711054..e7c01ffce4 100644
--- a/hbase-hbck2/README.md
+++ b/hbase-hbck2/README.md
@@ -124,17 +124,20 @@ Command:
SEE ALSO: reportMissingRegionsInMeta
SEE ALSO: fixMeta
- assigns [OPTIONS] <ENCODED_REGIONNAME>...
+ assigns [OPTIONS] <ENCODED_... | 5 | 2 | 2 | [{"id": "G0", "claim": "Supporting multiple input files may be more than is needed; maybe one input file is good enough.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The README/help message advertises multiple input files while the code only handles one ... | null |
apache__hbase-operator-tools__65 | apache/hbase-operator-tools | 65 | defect | edf48e71fd3cd6a88d29a9f6cf95ebe83d963085 | b6f78ee187b3eb4a12986f2aa344c94f1154b61b | HBASE-24571 HBCK2 fix addFsRegionsMissingInMeta to add regions in CLO… | …SED state again
This PR fix implementation of HBCKMetaTableAccessor.addRegionToMeta to insert new regions with CLOSED state, and also adds extra checks for this behaviour on both TestHBCKMetaTableAccessor and TestFsRegionsMetaRecoverer UTs. | diff --git a/hbase-hbck2/src/main/java/org/apache/hbase/HBCKMetaTableAccessor.java b/hbase-hbck2/src/main/java/org/apache/hbase/HBCKMetaTableAccessor.java
index e5e4acccbc..20a34d9fa4 100644
--- a/hbase-hbck2/src/main/java/org/apache/hbase/HBCKMetaTableAccessor.java
+++ b/hbase-hbck2/src/main/java/org/apache/hbase/HBCK... | 1 | 1 | 0 | [{"id": "G0", "claim": "addRegionStateToPut could return void, since its return value is of no use as the method mutates the Put in place.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
apache__hbase-operator-tools__71 | apache/hbase-operator-tools | 71 | defect | 51fb5e856654e5cf042f0fad076470e2e668f498 | 9b53fd964d197b4b99576f5a2f17c04433f55818 | HBASE-24778 [hbase-operator-tools] Merging regions failed when the table is not default namespace | [HBASE-24778](https://issues.apache.org/jira/browse/HBASE-24778) | diff --git a/hbase-tools/src/main/java/org/apache/hbase/RegionsMerger.java b/hbase-tools/src/main/java/org/apache/hbase/RegionsMerger.java
index dd23abb391..6a3e1e81e5 100644
--- a/hbase-tools/src/main/java/org/apache/hbase/RegionsMerger.java
+++ b/hbase-tools/src/main/java/org/apache/hbase/RegionsMerger.java
@@ -90,7 ... | 2 | 2 | 1 | [{"id": "G0", "claim": "Add a unit test covering a table in a non-default namespace (reusing the logic of testMergeRegionsCanMergeToTarget) to shield the fix from regression.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "Avoid code duplication by movin... | null |
apache__hbase-operator-tools__75 | apache/hbase-operator-tools | 75 | defect | 87878aada3354514050f5a2df11f27b317efd42d | efba690c96a0cc88b3965390087260aab9ec464d | HBASE-24997 [hbase-operator-tools] NPE in RegionsMerger#mergeRegions | [HBASE-24997](https://issues.apache.org/jira/browse/HBASE-24997) | diff --git a/hbase-tools/src/main/java/org/apache/hbase/RegionsMerger.java b/hbase-tools/src/main/java/org/apache/hbase/RegionsMerger.java
index 6a3e1e81e5..abfc6c995b 100644
--- a/hbase-tools/src/main/java/org/apache/hbase/RegionsMerger.java
+++ b/hbase-tools/src/main/java/org/apache/hbase/RegionsMerger.java
@@ -114,6... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new test should not rely on enabling replication scope (a feature that seems not to work properly) to reproduce a region without info:state; it should be changed to manually produce a region with no state defined.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "i... | null |
apache__hbase-operator-tools__78 | apache/hbase-operator-tools | 78 | defect | 5cdc0e24cc09f63bd2ab1b058716552f339fed9f | a8dd972a3f167a5d023cecaab1284cc7ae9b067b | HBASE-25266 [hbase-operator-tools] Add a repair tool for moving stale… | … regions dir not present in meta away from table dir | diff --git a/hbase-hbck2/src/main/java/org/apache/hbase/HBCKFsUtils.java b/hbase-hbck2/src/main/java/org/apache/hbase/HBCKFsUtils.java
index c8785f8edb..b010b1fcf8 100644
--- a/hbase-hbck2/src/main/java/org/apache/hbase/HBCKFsUtils.java
+++ b/hbase-hbck2/src/main/java/org/apache/hbase/HBCKFsUtils.java
@@ -18,9 +18,17 @... | 5 | 3 | 2 | [{"id": "G0", "claim": "The README should be updated to explain the new tool: what it is for, when and how to use it, and how to tell that it was successful or had a problem.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Admin instance obtain... | null |
apache__hbase__6486 | apache/hbase | 6,486 | defect | 5c3e91cbeff37c82fb37c5882a40488f52f13b80 | 61927256b36d05813bac634b24504f1a5ddf4c02 | HBASE-28985 Fix memStoreSize metric for a table and add heap and off-heap size metrics | https://issues.apache.org/jira/browse/HBASE-28985
The "memStoreSize" metric for a table is incorrect as it reports the sum of the data size, the heap size, and the off-heap size, while "memStoreSize" metric for a region or a region server is just the data size.
https://github.com/apache/hbase/blob/e082405d8e7fa5c... | diff --git a/hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java b/hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java
index 391849cae66d..f9cafa124949 100644
--- a/hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/r... | 2 | 1 | 1 | [{"id": "G0", "claim": "Extend the region metrics test (e.g. TestMetricsRegion) to assert that the newly added region-level memstoreHeapSize and memstoreOffHeapSize gauges are exported with the expected values, so the new behaviour is covered and protected from regressions.", "category": "testing", "verdict": "supporte... | null |
apache__hbase__7577 | apache/hbase | 7,577 | defect | 1c2025cf073f3818a933c66ee2ced735eb53f43d | cae2efb8069d6bb6a5cdf96d0656c4d72bfb290c | HBASE-29796 Allow sleepForRetry replication config to be overridden by replication peers | Currently, sleepForRetries (the sleep time between retry attempts during replication) is only configurable globally via the replication.source.sleepforretries configuration property. This makes it impossible to tune behavior for individual replication peers that may have different requirements.
This change would add... | diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/replication/ReplicationPeerConfigUtil.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/replication/ReplicationPeerConfigUtil.java
index 57be558fb492..aa1e667837d4 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client... | 7 | 3 | 2 | [{"id": "G0", "claim": "Instead of dedicated sleepForRetries fields on ReplicationPeerConfig, build a combined Configuration (e.g. CompoundConfiguration) from the peer config when creating a ReplicationSource, so sleepForRetry can be changed through the peer configuration.", "category": "design", "verdict": "supported"... | null |
apache__hbase__7629 | apache/hbase | 7,629 | defect | 57ee054f29f78dc4a1179b5f1e7a3c54fec3cd0e | 9adf8a9826c56c356e3d76bb8c69fa24ee880801 | HBASE-29831: Fix for NPE in region replication | The RegionReplicaSinkWriter.append() method checks table descriptors to determine if a table has region replication enabled (to decide whether to bypass the location cache). When a table is dropped concurrently, tableDescriptors.get(tableName) returns null, and the subsequent call to getRegionReplication() throws a Nul... | diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/RegionReplicaReplicationEndpoint.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/RegionReplicaReplicationEndpoint.java
index 7dbb4f008f85..898c24c975ea 100644
--- a/hbase-server/src/main/java/org/... | 3 | 2 | 1 | [{"id": "G0", "claim": "The `retries <= 3` condition in the append() cache-miss branch is unnecessary and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "A unit test should be added to cover the NPE fix for a missing table de... | null |
apache__hbase__7664 | apache/hbase | 7,664 | defect | 6aa212f5abe3b1556740c3e7e80a4761d21a1c15 | 65b3453631bf61dc516f123a912915e676664a79 | HBASE-29826: Backup merge is failing because .backup.manifest cannot be found | https://issues.apache.org/jira/browse/HBASE-29826
This pull request makes a change that deletes the bulk load output directory when a continuous incremental backup is complete.
### Summary
Originally, a continuous incremental backup was creating a `backupRootDir/.tmp/backup_XXXX` directory for bulk load output... | diff --git a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/IncrementalTableBackupClient.java b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/IncrementalTableBackupClient.java
index b3027f09a4ac..28184656a890 100644
--- a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/In... | 3 | 1 | 0 | [{"id": "G0", "claim": "The check that the bulk load directory is empty right before it is deleted is verified only manually and is not covered by a unit test, and testing it would require code changes beyond the scope of this PR.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}... | null |
apache__hbase__7717 | apache/hbase | 7,717 | defect | 5c12752138f9ba4be938515e2e086e0693c4811c | 5863d06ced31f007e7d4ec5c0cbd5957a47b716a | HBASE-29800 WAL logs are unprotected during first full backup | The BackupLogCleaner prevents WAL files that are needed for future backups from being deleted. In the case where a backup root has a single running backup, there was a small timeframe where relevant files were unprotected because only completed backups were taken into consideration. This commit fixes this.
The old m... | diff --git a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupInfo.java b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupInfo.java
index 39f903185a68..edf5a2b517ff 100644
--- a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupInfo.java
+++ b/hbase-backup/src/main/java/org/... | 2 | 1 | 0 | [{"id": "G0", "claim": "If BackupSystemTable#getBackupHistory does not return backups sorted latest to oldest, the new overwrite condition may not grab the latest completed backup with the first entry for a backup root.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": ... | null |
apache__hbase__7932 | apache/hbase | 7,932 | defect | 9637f0d78e468c75e7d17ce7d0bde75da9695e60 | 48aa000a265f751c11bb8c9973dd5df1e402a3fa | HBASE-29933: update_all_config hangs indefinitely when balancing even… | …t is in progress.
This solves the problem of update config client call hangs indefinitely when balancing event is in progress.
If update config call comes during balance run then it will store the configuration as pending configuration and apply it post balance run.
I've manually tested the change and also add... | diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
index c225b11bbe55..96d29b20ac71 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
+++ b/hbase-server/src/main/java/org/apache/ha... | 4 | 3 | 1 | [{"id": "G0", "claim": "Capitalize the first character of the new log sentences in CacheAwareLoadBalancer.onBalancingStart() and onBalancingComplete().", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a comment on the wait(sleepTime) line explai... | null |
apache__hbase__7964 | apache/hbase | 7,964 | defect | 1dd61626c2544dc6750de16f4639bff99bfcbd94 | 4a94cb9e100fc2e59a3e783c3dbc16dec1cc1679 | HBASE-29965: Unable to dynamically change readonly flag | https://issues.apache.org/jira/browse/HBASE-29965
# Summary
This pull request fixes an issue where dynamic configuration for `hbase.global.readonly.enabled` was not working. If the user changed the boolean value for `hbase.global.readonly.enabled` in hbase-site.xml, saved the file, and then ran `update_all_confi... | diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
index 17355df9af1e..da5e1f1636a5 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
+++ b/hbase-server/src/main/java/org/apache/ha... | 1 | 1 | 0 | [{"id": "G0", "claim": "The change-management logic duplicated across HMaster, HRegion and HRegionServer should be generalized and put in a common place.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
apache__hbase__7995 | apache/hbase | 7,995 | defect | 3cce140a93195cfe22838a02810a5b98a16b568f | d29d068a8044e18c0d75782857ae8b2eec841eff | HBASE-30038: RefCnt Leak error when caching | JIRA: [HBASE-30038](https://issues.apache.org/jira/browse/HBASE-30038)
This bug is similar to [HBASE-28890](https://issues.apache.org/jira/browse/HBASE-28890)
HFileBlock.Writer.getBlockForCaching() creates a ref-counted HFileBlock, and the caller must release its own reference after the cache has taken the owners... | diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlockIndex.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlockIndex.java
index f7a41a3178aa..89460900e21d 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlockIndex.java
+++ b/hbase-serv... | 3 | 3 | 2 | [{"id": "G0", "claim": "The new leak-detection tests' single System.gc() plus a fixed 1-second sleep relies on timing luck and could make the tests flaky on slower systems; the assertion should instead be wrapped in a retry loop of up to 15 attempts with a small delay so it succeeds as soon as the leak detector has run... | null |
apache__hbase__8115 | apache/hbase | 8,115 | defect | eacf4d19eb28b6f48280cfcf9a9b622ecbcc6943 | 4899a4ef3560d020af462325e54767e549e0ee8d | Address comments in HBASE-29081 | This pull request addresses several comments in the review for PR #8044. This PR makes the following changes:
1. Re-introduced a log message indicating coprocessors are being updated due to a configuration change. This log message has been moved to `CoprocessorConfigurationUtil.maybeUpdateCoprocessors()`. The mes... | diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
index 4ed6d3dc9d58..21e892b69737 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/H... | 2 | 2 | 0 | [{"id": "G0", "claim": "syncReadOnlyConfigurations should call the (renamed) ConfigurationUtil.isReadOnlyModeEnabledInConf(conf) helper instead of inlining conf.getBoolean(HConstants.HBASE_GLOBAL_READONLY_ENABLED_KEY, ...).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"... | null |
apache__helix__1007 | apache/helix | 1,007 | defect | a5d5a9a8f3499a64fd5a3723e6a9652f81b57db6 | 8438bf23038a05bf422c8a5bf07e69da90d95d46 | Add more accurate error message for resetPartition | ### Issues
- [X] My PR addresses the following Helix issues and references them in the PR description:
Address #1003
### Description
- [X] Here are some details about my PR, including screenshots of any UI changes:
When user reset one or more particular partition(s) using resetPartition API, Helix will t... | diff --git a/helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixAdmin.java b/helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixAdmin.java
index f100fecc222..5f2c53fae93 100644
--- a/helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixAdmin.java
+++ b/helix-core/src/main/java/org/apache/helix/... | 15 | 14 | 1 | [{"id": "G0", "claim": "Use the diamond operator for the new HashSet and, better, assign partitions directly from the keySet() reference instead of copying it into a new HashSet.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The try/catch aroun... | null |
apache__helix__1053 | apache/helix | 1,053 | defect | 9ab4bb4777f006ecbf070a44ac71dac3764d988e | eb60cb0ff836b5c4e82a9db1b7b6d398db11f752 | Fix test testDropInstance | ### Issues
- [x] My PR addresses the following Helix issues and references them in the PR description:
Fixes #1051
### Description
- [x] Here are some details about my PR, including screenshots of any UI changes:
Test testDropInstance doesn't assert expected exception and ignores the unexpected behavior... | diff --git a/helix-core/src/main/java/org/apache/helix/manager/zk/GenericBaseDataAccessorBuilder.java b/helix-core/src/main/java/org/apache/helix/manager/zk/GenericBaseDataAccessorBuilder.java
index d19ebb1437..92a4df4eab 100644
--- a/helix-core/src/main/java/org/apache/helix/manager/zk/GenericBaseDataAccessorBuilder.j... | 2 | 1 | 0 | [{"id": "G0", "claim": "A TestHelper.verify() should be added after dropping the cluster so the test makes sure the cluster has been dropped.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Asks whether a user-constructed ZKHelixDataAccessor with a ZK-AD... | null |
apache__helix__1058 | apache/helix | 1,058 | defect | 6c62cd9b21b102c7effe646103f0c382570d70ed | c88fcb0e58508acaacdef4dcda9af46802480cb0 | Fix ReadOnlyWagedRebalancer so that it computes mapping from scratch | ### Issues
- [x] My PR addresses the following Helix issues and references them in the PR description:
Fixes #1057
### Description
- [x] Here are some details about my PR, including screenshots of any UI changes:
Previously, ReadOnlyWagedRebalancer would only read from the previously computed best possib... | diff --git a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/ReadOnlyWagedRebalancer.java b/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/ReadOnlyWagedRebalancer.java
index eccb1754c2..d9816c2aa7 100644
--- a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/w... | 4 | 4 | 2 | [{"id": "G0", "claim": "To avoid introducing unnecessary instability into the verifier, there should be two classes, one for the verifier and one for the simulate API, with the verifier class a child or anonymous class.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1... | null |
apache__helix__1064 | apache/helix | 1,064 | defect | b226eb9f916270238e6f08972eff5bf41027fdb7 | 20cde8a0cef9911f9d5c46c604a89f569ee553c3 | Avoid adding JobConfig if queue has reached its capacity limit | ### Issues
- [x] My PR addresses the following Helix issues and references them in the PR title:
Fixes #1062
### Description
- [x] Here are some details about my PR, including screenshots of any UI changes:
In this PR, the necessary check has been added in TaskDriver side
to fail creation of JobConfig if queue... | diff --git a/helix-core/src/main/java/org/apache/helix/task/TaskDriver.java b/helix-core/src/main/java/org/apache/helix/task/TaskDriver.java
index cbcaa7019d7..3ed21688f58 100644
--- a/helix-core/src/main/java/org/apache/helix/task/TaskDriver.java
+++ b/helix-core/src/main/java/org/apache/helix/task/TaskDriver.java
@@ ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The capacity check still allows a race condition when another thread submits jobs concurrently, so the operation should be made transactional by rolling back (removing) the already-created job configs when the capacity is exceeded.", "category": "correctness", "verdict": "supported", "priority":... | null |
apache__helix__1077 | apache/helix | 1,077 | defect | 00eb6786d3430fe31f313874dea96b78309c4f51 | f6e4c9564fca5d9a6039998186c87e4eb64cb7eb | Add close method to Helix lock | ### Issues
- [x] My PR addresses the following Helix issues and references them in the PR description:
Currently there is no close method to close the lock and the underlying zk client connection. It could result to zk client leak.
### Description
- [x] Here are some details about my PR, including screensho... | diff --git a/helix-lock/src/main/java/org/apache/helix/lock/DistributedLock.java b/helix-lock/src/main/java/org/apache/helix/lock/DistributedLock.java
index 87247c208d..9fd65448fe 100644
--- a/helix-lock/src/main/java/org/apache/helix/lock/DistributedLock.java
+++ b/helix-lock/src/main/java/org/apache/helix/lock/Distri... | 5 | 3 | 2 | [{"id": "G0", "claim": "The DistributedLock interface should be made AutoCloseable so that close() is implemented naturally.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "close() closes the underlying ZooKeeper connection without calling unlock(), so it c... | null |
apache__helix__1083 | apache/helix | 1,083 | defect | 1c15d04efa65955e2b273515a655b77b79478790 | ddc52b290acb67c3986299fd953303d52136756d | Fix waitToStop method in TaskDriver | ### Issues
- [x] My PR addresses the following Helix issues and references them in the PR title:
Fixes #1082
### Description
- [x] Here are some details about my PR, including screenshots of any UI changes:
In this PR, waitToStop has been changed to make sure workflow/queue is in stopped state if waitToStop ret... | diff --git a/helix-core/src/main/java/org/apache/helix/task/TaskDriver.java b/helix-core/src/main/java/org/apache/helix/task/TaskDriver.java
index 73e23e2505..325caf4f6b 100644
--- a/helix-core/src/main/java/org/apache/helix/task/TaskDriver.java
+++ b/helix-core/src/main/java/org/apache/helix/task/TaskDriver.java
@@ -6... | 5 | 4 | 0 | [{"id": "G0", "claim": "The PR description should explicitly explain that STOPPING is the state of tasks that have not finished stopping.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The newly added HelixDataAccessor _accessor field in TestStopp... | null |
apache__helix__1101 | apache/helix | 1,101 | defect | f85cbd14702ada941709d0db00ce69a78bdf52e3 | e2606680f59d667b969d91765cf567cb2df758dc | Add metrics for expired session count | ### Issues
- [X] My PR addresses the following Helix issues and references them in the PR description:
#1100
### Description
- [x] Here are some details about my PR, including screenshots of any UI changes:
Having a metric for number of expired session in zk client side will help user debugging cases that... | diff --git a/helix-core/src/test/java/org/apache/helix/monitoring/mbeans/TestZkClientMonitor.java b/helix-core/src/test/java/org/apache/helix/monitoring/mbeans/TestZkClientMonitor.java
index 2695ee46f31..ffceb4a8f73 100644
--- a/helix-core/src/test/java/org/apache/helix/monitoring/mbeans/TestZkClientMonitor.java
+++ b/... | 2 | 2 | 0 | [{"id": "G0", "claim": "recordStateChange should not nest the sessionExpired check inside stateChanged; the caller already tracks the dependencies, so the method should simply do if (stateChanged) {}, if (dataChanged) {}, if (sessionExpired) {} as independent checks.", "category": "design", "verdict": "supported", "pri... | null |
apache__helix__1123 | apache/helix | 1,123 | defect | 88766c2221530cdc52a354d784a922ed7c10b7b1 | 0e04a577e219e665eeaad0aabdad45c92b7af7aa | Cleanup the persisted assignment state if no resource is on WAGED rebalancer. | ### Issues
- [x] My PR addresses the following Helix issues and references them in the PR description:
#1120
### Description
- [x] Here are some details about my PR, including screenshots of any UI changes:
This is to prevent the WAGED rebalancer reads stale assignment records from the previous rebalance... | diff --git a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/AssignmentMetadataStore.java b/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/AssignmentMetadataStore.java
index 381b61241a..fffa0ba607 100644
--- a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/w... | 7 | 1 | 0 | [{"id": "G0", "claim": "The reviewer suggests getExistingVersionNumbers need not execute the following remove operations and could just return the empty list when children is null.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test's assertio... | null |
apache__helix__1127 | apache/helix | 1,127 | defect | 88766c2221530cdc52a354d784a922ed7c10b7b1 | 6123ca7d25b0dcc654862cf52cb8b4ffd13c5784 | Fix validation logic in GenericApiBuilders and add usage tests | ### Issues
- [x] My PR addresses the following Helix issues and references them in the PR description:
Fixes #1121
### Description
- [x] Here are some details about my PR, including screenshots of any UI changes:
Some of the validation logic in GenericBaseDataAccessorBuilder and GenericZkHelixApiBuilder... | diff --git a/helix-core/src/main/java/org/apache/helix/manager/zk/GenericBaseDataAccessorBuilder.java b/helix-core/src/main/java/org/apache/helix/manager/zk/GenericBaseDataAccessorBuilder.java
index 92a4df4eab..cc7bddefd6 100644
--- a/helix-core/src/main/java/org/apache/helix/manager/zk/GenericBaseDataAccessorBuilder.j... | 3 | 2 | 0 | [{"id": "G0", "claim": "validateZkClientType() throws when realmMode is null; the reviewer asks whether there is a default realm mode and whether single-realm should be made the default behavior instead.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Mer... | null |
apache__helix__1295 | apache/helix | 1,295 | defect | 631fc4c630d02ae44623e62da97bc27ca748181e | e50fcea9d4d74cb5ba4fade88356757c5599b53d | fix TestRawZkClient unstableness |
### Issues
- [x] My PR addresses the following Helix issues and references them in the PR description:
Fix #1294
### Description
- [x] Here are some details about my PR, including screenshots of any UI changes:
ZkClient connect to ZooKeeper client first before monitor bean
initialization. If the mo... | diff --git a/zookeeper-api/src/main/java/org/apache/helix/zookeeper/zkclient/ZkClient.java b/zookeeper-api/src/main/java/org/apache/helix/zookeeper/zkclient/ZkClient.java
index a926a8df32..9e351d8941 100644
--- a/zookeeper-api/src/main/java/org/apache/helix/zookeeper/zkclient/ZkClient.java
+++ b/zookeeper-api/src/main/... | 10 | 7 | 1 | [{"id": "G0", "claim": "WAIT_DURATION was tripled to 60s while the inline comment still says '20 seconds', and the reviewer asks whether the test really needs 60s (would it fail with 20s?).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The _monit... | null |
apache__helix__1307 | apache/helix | 1,307 | defect | 786d597ad6f8abca5af77f7ebdccbbc8d0ea0845 | 3d93799208a5117168735d53f5c94f62ccd6e810 | Add TrieClusterTopology for retrieving hierarchical topology | ### Issues
- [X] My PR addresses the following Helix issues and references them in the PR description:
Fixed #1306
### Description
- [X] Here are some details about my PR, including screenshots of any UI changes:
This PR implements a cluster topology using a trie. The trie is constructed in a way that e... | diff --git a/helix-core/src/main/java/org/apache/helix/model/TrieClusterTopology.java b/helix-core/src/main/java/org/apache/helix/model/TrieClusterTopology.java
new file mode 100644
index 00000000000..7b0706a5ca6
--- /dev/null
+++ b/helix-core/src/main/java/org/apache/helix/model/TrieClusterTopology.java
@@ -0,0 +1,244... | 12 | 8 | 2 | [{"id": "G0", "claim": "The PR should reuse the existing Topology.java (adding missing methods there or reading the tree it already builds) rather than introducing a new TrieClusterTopology class that duplicates its construction and validation logic.", "category": "design", "verdict": "opposed", "priority": "P2", "scop... | null |
apache__helix__1357 | apache/helix | 1,357 | defect | 97fd6d4bb977e02f8d3e91c3adac65a3fce1e2b4 | 5343c88c91713b39600eba7e0ab23db287f04574 | Add HelixRestObjectNameFactory to create namespaced ObjectName | ### Issues
- [x] My PR addresses the following Helix issues and references them in the PR description:
Resolves #1356
### Description
- [x] Here are some details about my PR, including screenshots of any UI changes:
We need helix rest service metrics for each namespace. To achieve this, the namespace in... | diff --git a/helix-core/helix-core-1.0.2-SNAPSHOT.ivy b/helix-core/helix-core-1.0.2-SNAPSHOT.ivy
index ac369a2ac9a..9ff0531c54b 100644
--- a/helix-core/helix-core-1.0.2-SNAPSHOT.ivy
+++ b/helix-core/helix-core-1.0.2-SNAPSHOT.ivy
@@ -62,7 +62,7 @@ under the License.
<dependency org="com.google.guava" name="guava" r... | 7 | 2 | 1 | [{"id": "G0", "claim": "The metrics-core version added by this PR should be 4.1.12 as discussed offline instead of 4.1.11.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new dropwizard metrics dependencies should not be needed in modules other t... | null |
apache__helix__1413 | apache/helix | 1,413 | defect | a28a31ebacadc5a6af7afd5e5ea06e9ecc6ce53b | ca409d40d1709a0f300c1e4fb09ac4112fbafafc | Feature: Offline Node Timeout During Maintenance Mode | ### Issues
- [x] My PR addresses the following Helix issues and references them in the PR description:
Fixes #1412
### Description
- [x] Here are some details about my PR, including screenshots of any UI changes:
As described in the issue, we would like to avoid the scenario where nodes that have been of... | diff --git a/helix-core/src/main/java/org/apache/helix/controller/dataproviders/BaseControllerDataProvider.java b/helix-core/src/main/java/org/apache/helix/controller/dataproviders/BaseControllerDataProvider.java
index fa154b5af2b..ca9f8820207 100644
--- a/helix-core/src/main/java/org/apache/helix/controller/dataprovid... | 13 | 9 | 3 | [{"id": "G0", "claim": "The timeout filtering should not run inside refreshLiveInstances; it should be done after the cache refresh fully completes (or in the maintenance recovery stage), since the current placement may cause a race condition that lets old machines start bootstrapping.", "category": "design", "verdict"... | null |
apache__helix__1494 | apache/helix | 1,494 | defect | e391119f82b1fe4e182c753fc48782224389bebc | 4c85ed5595bade663965f91fbb9f750823c6103f | Add admin and Rest API to purge instances that have been offline more than specified period of time | ### Issues
- [X] My PR addresses the following Helix issues and references them in the PR description:
Fixed #1493
### Description
- [X] Here are some details about my PR, including screenshots of any UI changes:
Helix plan to have the function to allow users to purge offline participants that have been... | diff --git a/helix-core/src/main/java/org/apache/helix/HelixAdmin.java b/helix-core/src/main/java/org/apache/helix/HelixAdmin.java
index 3618b12b866..f9d57af62a2 100644
--- a/helix-core/src/main/java/org/apache/helix/HelixAdmin.java
+++ b/helix-core/src/main/java/org/apache/helix/HelixAdmin.java
@@ -228,6 +228,13 @@ vo... | 14 | 12 | 5 | [{"id": "G0", "claim": "The purge API should take a single timeout value instead of a free-form Map<String, String> whose only meaningful entry is the timeout (and on the REST layer a timeout QueryParam instead of JSON body content).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced... | null |
apache__helix__1526 | apache/helix | 1,526 | defect | 204f034e4f8e5f49127b702b7a129892240c945c | bc151d92e5ace92b01c26ba90af5c65b7eba80d5 | Leverage zk paginated getChildren API for ZkClient to fetch a large number of children | ### Issues
- [x] My PR addresses the following Helix issues and references them in the PR description:
Resolves #1525
### Description
- [x] Here are some details about my PR, including screenshots of any UI changes:
If a node has many children and the packet length exceeds the network buffer limit, the ... | diff --git a/zookeeper-api/src/main/java/org/apache/helix/zookeeper/zkclient/ZkClient.java b/zookeeper-api/src/main/java/org/apache/helix/zookeeper/zkclient/ZkClient.java
index c85f87b7b3a..9e6ca441719 100644
--- a/zookeeper-api/src/main/java/org/apache/helix/zookeeper/zkclient/ZkClient.java
+++ b/zookeeper-api/src/mai... | 10 | 6 | 3 | [{"id": "G0", "claim": "The reflection-based ternary invocation in getChildren is confusing and should be rewritten as an explicit if/else that calls the functions directly.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR's checklist says ... | null |
apache__helix__1652 | apache/helix | 1,652 | defect | b1b194c1bffa68a53f1a81ba307452474c71a016 | bc9cb7bf546b4f5ae889b1aaf11a33d6f78cd2a9 | Add TopStateUsage constraint to Waged | ### Issues
- [x] My PR addresses the following Helix issues and references them in the PR description:
fix #1651
### Description
- [x] Here are some details about my PR, including screenshots of any UI changes:
In current Waged implementation, TopStateAntiAffinityConstraint is in charge of spreading out ... | diff --git a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/constraints/ConstraintBasedAlgorithmFactory.java b/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/constraints/ConstraintBasedAlgorithmFactory.java
index 934bfa7088..366c374795 100644
--- a/helix-core/src/main/java/... | 5 | 4 | 2 | [{"id": "G0", "claim": "Remove the ResourceTopStateAntiAffinityConstraint from the factory's constraint list, where this change leaves it registered with weight 0.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Using boolean parameters to switch branches... | null |
apache__helix__1701 | apache/helix | 1,701 | defect | 0a5682fdd27832e8039f7134a53d817c15b7b452 | 84209c0b74346904fe7f22c54fe3cab31b7a8836 | Improve WAGED simulation API by throwing exception on FAILED_TO_CALCULATE | ### Issues
- [x] My PR addresses the following Helix issues and references them in the PR description:
Resolves #1700
### Description
- [x] Here are some details about my PR, including screenshots of any UI changes:
When WAGED encounters a "FAILED_TO_CALCULATE" exception, the exception is processed by t... | diff --git a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/ReadOnlyWagedRebalancer.java b/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/ReadOnlyWagedRebalancer.java
index 6808389bcf9..317e9e5069c 100644
--- a/helix-core/src/main/java/org/apache/helix/controller/rebalancer... | 3 | 3 | 1 | [{"id": "G0", "claim": "ReadOnlyWagedRebalancer's failureTypesToPropagate() should call super.failureTypesToPropagate() and add FAILED_TO_CALCULATE instead of declaring a separate list, so it always covers all the failure types of the regular rebalancer.", "category": "maintainability", "verdict": "supported", "priorit... | null |
apache__helix__1718 | apache/helix | 1,718 | defect | 541d093c2f65f0b0ad1f0d30be2783bf55ba0562 | 9ef150ba85fca1a3a25ae29deb1809c0f29d50ce | Clarify error for ZkSessionMismatchedException in ZkAsyncCallbacks | ### Issues
- [x] My PR addresses the following Helix issues and references them in the PR description:
Fixes #1717
### Description
- [x] Here are some details about my PR, including screenshots of any UI changes:
When there is a ZK session mismatch for async operations in ZkClient, passing UNKNOWN_RET_C... | diff --git a/zookeeper-api/src/main/java/org/apache/helix/zookeeper/zkclient/ZkClient.java b/zookeeper-api/src/main/java/org/apache/helix/zookeeper/zkclient/ZkClient.java
index 268910b961..e0a6626b7b 100644
--- a/zookeeper-api/src/main/java/org/apache/helix/zookeeper/zkclient/ZkClient.java
+++ b/zookeeper-api/src/main/... | 6 | 5 | 0 | [{"id": "G0", "claim": "Nit: the added line `if(rc == ZK_SESSION_MISMATCHED_CODE) {` is missing a space after `if` and should be reformatted.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The magic constant 127 for ZK_SESSION_MISMATCHED_CODE is arbitrary... | null |
apache__helix__1732 | apache/helix | 1,732 | defect | edb60451b01c33b8aff0b78ec4d992a513e2c7e1 | aa14bd0e929a63e2e9002bcca6e5293885bc2203 | Change Workflow monitor and PerInstanceResource monitor from static m… | …etrics to dynamic metrics
### Issues
- [X] My PR addresses the following Helix issues and references them in the PR description:
Fixed #1683
### Description
- [X] Here are some details about my PR, including screenshots of any UI changes:
These PR continues to change some legacy metrics that use static ... | diff --git a/helix-core/src/main/java/org/apache/helix/monitoring/mbeans/ClusterStatusMonitor.java b/helix-core/src/main/java/org/apache/helix/monitoring/mbeans/ClusterStatusMonitor.java
index 1ffd7ec0d5..1a978b12e2 100644
--- a/helix-core/src/main/java/org/apache/helix/monitoring/mbeans/ClusterStatusMonitor.java
+++ b... | 8 | 6 | 2 | [{"id": "G0", "claim": "Use the same incrementSimpleDynamicMetric helper for updating _maximumWorkflowLatencyGauge instead of calling updateValue(Math.max(...)) directly.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new catch blocks around... | null |
apache__helix__1747 | apache/helix | 1,747 | defect | 481d548e389fbb5aa816af155a526497525bced5 | afc1e0b98c0f6e07bb3cb8b308617d114664c969 | New REST api partitionAssignment -- return potential assignment given cluster change | ### Issues
- [X] My PR addresses the following Helix issues and references them in the PR description:
#1746
### Description
- [X] Here are some details about my PR, including screenshots of any UI changes:
This API integrates our different rebalance tools and serves to provide a single access point that r... | diff --git a/helix-core/src/main/java/org/apache/helix/util/HelixUtil.java b/helix-core/src/main/java/org/apache/helix/util/HelixUtil.java
index 413305cdac1..449015ff066 100644
--- a/helix-core/src/main/java/org/apache/helix/util/HelixUtil.java
+++ b/helix-core/src/main/java/org/apache/helix/util/HelixUtil.java
@@ -58,... | 15 | 9 | 2 | [{"id": "G0", "claim": "The new REST resource class should be named with the \"*Accessor\" suffix to follow the convention for REST classes.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The logger is created with ClusterAccessor's class name instead of... | null |
apache__helix__1764 | apache/helix | 1,764 | defect | bab58b26047a1dd85c28eadba9ec554c3517e552 | 80820b1859280a048363185582bb1e5ef7b789ce | Remove unused field in ZKHelixDataAccessor - code clean with no logic change | ### Issues
- [X] My PR addresses the following Helix issues and references them in the PR description:
#1755
### Description
- [X] Here are some details about my PR, including screenshots of any UI changes:
` _instanceType` is never used in ZKHelixDataAccessor.
### Tests
- [X] The following test... | diff --git a/helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixDataAccessor.java b/helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixDataAccessor.java
index 203c6c70ac..a7f0d2a9ee 100644
--- a/helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixDataAccessor.java
+++ b/helix-core/src/main/jav... | 1 | 1 | 1 | [{"id": "G0", "claim": "Removing the public ZKHelixDataAccessor constructor that takes InstanceType is a non-backward-compatible change that might break some users, so the PR should be noted as non-backward-compatible and discussed with the team.", "category": "design", "verdict": "supported", "priority": "P1", "scope"... | null |
apache__helix__1787 | apache/helix | 1,787 | defect | 95f4ed3ae1ce41ff0b0800695d8472bc6edf60af | 78da8348750e08372535d2684cfebb5ad055e8a6 | Support currentState format for partitionAssignment | ### Issues
- [X] My PR addresses the following Helix issues and references them in the PR description:
#1746
### Description
- [X] Here are some details about my PR, including screenshots of any UI changes:
Rest API `partitionAssignment`returns optimal replica assignments of a current cluster or given fu... | diff --git a/helix-rest/src/main/java/org/apache/helix/rest/server/resources/helix/ResourceAssignmentOptimizerAccessor.java b/helix-rest/src/main/java/org/apache/helix/rest/server/resources/helix/ResourceAssignmentOptimizerAccessor.java
index f6b9b823ba..69a4e526df 100644
--- a/helix-rest/src/main/java/org/apache/helix... | 4 | 4 | 1 | [{"id": "G0", "claim": "The return-format options should be defined as an enum instead of String constants.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Validating the return format with a chain of string comparisons would be hard to maintain if more f... | null |
apache__helix__1792 | apache/helix | 1,792 | defect | cebc221a1e0f131e532d79104dcf586ca03ae764 | 5c43f9c2148ee2b167dcdb58731a9183873d7a91 | Fix MaintenanceRecoveryStage Hanging | ### Issues
- [ ] My PR addresses the following Helix issues and references them in the PR description:
### Description
- [X] Here are some details about my PR, including screenshots of any UI changes:
The mainteance recovery stage should be in the order after IntermediateStage since it requires the output f... | diff --git a/helix-core/src/main/java/org/apache/helix/controller/GenericHelixController.java b/helix-core/src/main/java/org/apache/helix/controller/GenericHelixController.java
index b8fac9267c7..92dda859a52 100644
--- a/helix-core/src/main/java/org/apache/helix/controller/GenericHelixController.java
+++ b/helix-core/s... | 3 | 2 | 0 | [{"id": "G0", "claim": "The new hand-rolled verifyMaintenanceSignal polling helper duplicates existing machinery; the test should leverage TestHelper.verify() instead.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Reviewer asks why MaintenanceRecoveryS... | null |
apache__helix__1796 | apache/helix | 1,796 | defect | 57180c420239d192b7559e4fb4b0d9b70c6f70f9 | d9c9698ba0b82f3f8dfddaeadb92d9f3cbb3324e | Add message util to create messages | ### Issues
- [x] My PR addresses the following Helix issues and references them in the PR description:
Resolves #1795
### Description
- [x] Here are some details about my PR, including screenshots of any UI changes:
Message creation methods are private in message generation phase. Management mode stage ... | diff --git a/helix-core/src/main/java/org/apache/helix/controller/stages/MessageGenerationPhase.java b/helix-core/src/main/java/org/apache/helix/controller/stages/MessageGenerationPhase.java
index 3112327fe3..58e12d4373 100644
--- a/helix-core/src/main/java/org/apache/helix/controller/stages/MessageGenerationPhase.java... | 3 | 2 | 2 | [{"id": "G0", "claim": "Adding the extra TO_STATUS field to Message could make the message logic more complicated; use the existing message type (e.g. from state \"NORMAL\" to \"FREEZE\") to differentiate a freeze message instead of an extra field.", "category": "design", "verdict": "supported", "priority": "P1", "scop... | null |
apache__helix__1797 | apache/helix | 1,797 | defect | 8911f7ef3ae3df4252f3fa07fcb9c0e0b6f245a4 | 5bf4a7979cb64a19accc55d271a6a7c46f161986 | Add response metadata to response header for partitionAssignment | ### Issues
- [X] My PR addresses the following Helix issues and references them in the PR description:
#1746
### Description
- [X] Here are some details about my PR, including screenshots of any UI changes:
User may call this API asynchronously. We should return some metadata of the response to user as w... | diff --git a/helix-rest/src/main/java/org/apache/helix/rest/server/resources/AbstractResource.java b/helix-rest/src/main/java/org/apache/helix/rest/server/resources/AbstractResource.java
index f95f20ef03c..c501f4e2785 100644
--- a/helix-rest/src/main/java/org/apache/helix/rest/server/resources/AbstractResource.java
+++... | 3 | 3 | 0 | [{"id": "G0", "claim": "The new JSONRepresentation(entity, headerName, headerValue) method should reuse the existing JSONRepresentation(Object entity) method instead of duplicating its serialization logic.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c... | null |
apache__helix__1803 | apache/helix | 1,803 | defect | b8f2331e91a984c372e747b44aecd1cc2d23347c | 2986d22011c2fdb90379dc374d724ba497137eab | Add message generation logic for management pipeline | ### Issues
- [x] My PR addresses the following Helix issues and references them in the PR description:
Resolves #1774
### Description
- [x] Here are some details about my PR, including screenshots of any UI changes:
In cluster freeze mode, controller sends freeze/unfreeze and pending ST cancellation mes... | diff --git a/helix-core/src/main/java/org/apache/helix/api/status/ClusterManagementMode.java b/helix-core/src/main/java/org/apache/helix/api/status/ClusterManagementMode.java
index d7a1637774e..0583a52ebcb 100644
--- a/helix-core/src/main/java/org/apache/helix/api/status/ClusterManagementMode.java
+++ b/helix-core/src/... | 9 | 2 | 0 | [{"id": "G0", "claim": "Class members should use the \"_\" prefix per the project naming convention.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The management pipeline's data-preprocess stage may need ResourceValidationStage, which seemed ... | null |
apache__helix__1816 | apache/helix | 1,816 | defect | c464832bb9c3e418f6c0cfae4e046d0c74fa05fa | 78a82efb49a5da44512d99b562b1831350dcbc18 | Add integration tests for cluster freeze mode | ### Issues
- [x] My PR addresses the following Helix issues and references them in the PR description:
Resolves #1815
### Description
- [x] Here are some details about my PR, including screenshots of any UI changes:
This PR adds integration tests for cluster freeze mode:
a. freeze cluster when there ar... | diff --git a/helix-core/src/main/java/org/apache/helix/controller/stages/ManagementMessageGenerationPhase.java b/helix-core/src/main/java/org/apache/helix/controller/stages/ManagementMessageGenerationPhase.java
index 4479d501a3c..c795deb0a65 100644
--- a/helix-core/src/main/java/org/apache/helix/controller/stages/Manag... | 6 | 6 | 5 | [{"id": "G0", "claim": "The test should cover the intermediate in-progress state by blocking one participant with a pending state transition and checking that the overall cluster status is IN_PROGRESS toward frozen before the freeze completes.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": ... | null |
apache__helix__1846 | apache/helix | 1,846 | defect | 788869c001e2e41ae24e08981d9ab35274934ff9 | e7b303efe0c5a96bbecd7ec88884dcb7315f5572 | Fix management mode history duplicate recording | ### Issues
- [x] My PR addresses the following Helix issues and references them in the PR description:
Fixed #1845
### Description
- [x] Here are some details about my PR, including screenshots of any UI changes:
The management mode history has duplicate entries. It does not impact the normal function, b... | diff --git a/helix-core/src/main/java/org/apache/helix/controller/stages/ManagementModeStage.java b/helix-core/src/main/java/org/apache/helix/controller/stages/ManagementModeStage.java
index 3329d8c500..efd59cee5e 100644
--- a/helix-core/src/main/java/org/apache/helix/controller/stages/ManagementModeStage.java
+++ b/he... | 3 | 2 | 1 | [{"id": "G0", "claim": "When the recorded cluster status is fully frozen but the newly computed status differs (e.g. FREEZE COMPLETED to FREEZE IN_PROGRESS), the stage returns without recording the status change or the history; the reviewers say this is probably not what is wanted, and recording should skip only when t... | null |
apache__helix__1850 | apache/helix | 1,850 | defect | 0e71d20c5cb7ec4b432ff05f3eb48dfbcb7875f4 | 02f7f5519b60ef83a79597dbd1b36ec27e783f63 | Use activate/DeactivateInstances as keyword in PartitionAssignment API | ### Issues
- [X] My PR addresses the following Helix issues and references them in the PR description:
#1849
### Description
- [X] Here are some details about my PR, including screenshots of any UI changes:
This PR changes the keyword add/remove instances to activate/deactivateInstances in partitionAssi... | diff --git a/helix-rest/src/main/java/org/apache/helix/rest/server/resources/helix/ResourceAssignmentOptimizerAccessor.java b/helix-rest/src/main/java/org/apache/helix/rest/server/resources/helix/ResourceAssignmentOptimizerAccessor.java
index 1e35d5f0cc..20e5192236 100644
--- a/helix-rest/src/main/java/org/apache/helix... | 4 | 4 | 1 | [{"id": "G0", "claim": "Use a temporary hashset to check whether an instance is mentioned more than once across all the change lists, so the duplicate check stays generic as more lists are added (or simplify the check with stream()).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced... | null |
apache__helix__1852 | apache/helix | 1,852 | defect | c24b32f0cf989ff1d67dcf3d572ae13a50272b45 | 2e681e81b9f823dbb860c9dcf1963a16ead01cb3 | Disable delayed rebalance as default for partitionAssignment | ### Issues
- [X] My PR addresses the following Helix issues and references them in the PR description:
#1851
### Description
- [X] Here are some details about my PR, including screenshots of any UI changes:
Helix has 2 functions to return potential cluster partition assignment for any cluster state chang... | diff --git a/helix-rest/src/main/java/org/apache/helix/rest/server/resources/helix/ResourceAssignmentOptimizerAccessor.java b/helix-rest/src/main/java/org/apache/helix/rest/server/resources/helix/ResourceAssignmentOptimizerAccessor.java
index 6fab112bb2..112a184d35 100644
--- a/helix-rest/src/main/java/org/apache/helix... | 1 | 1 | 1 | [{"id": "G0", "claim": "A test case should be added covering the scenario where the accessor disables delayed rebalance before computing the assignment.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
apache__helix__1855 | apache/helix | 1,855 | defect | c24b32f0cf989ff1d67dcf3d572ae13a50272b45 | ca07474fecaac6d1b0d4ef125baba0ff81273082 | Throw exception when query partition assignment in Maintenance mode | ### Issues
- [X] My PR addresses the following Helix issues and references them in the PR description:
#1854
### Description
- [X] Here are some details about my PR, including screenshots of any UI changes:
API GetIdealAssignmentForFullAuto will return the potential partition assignment regardless of the... | diff --git a/helix-rest/src/main/java/org/apache/helix/rest/server/resources/helix/ResourceAssignmentOptimizerAccessor.java b/helix-rest/src/main/java/org/apache/helix/rest/server/resources/helix/ResourceAssignmentOptimizerAccessor.java
index 6fab112bb2..8273eb7b89 100644
--- a/helix-rest/src/main/java/org/apache/helix... | 1 | 1 | 0 | [{"id": "G0", "claim": "The code comment uses the unofficial abbreviation 'M mode', which may be misunderstood; please use the full name 'Maintenance mode'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
apache__helix__1867 | apache/helix | 1,867 | defect | 41f785c2e33607c83bbd4d3fcef77c1aa0681034 | 6e49faa925d704c93f3e934d2ec6d0fa9f14c4c6 | Fix error partition blocks load rebalance | ### Issues
- [X] My PR addresses the following Helix issues and references them in the PR description:
Fixes #1866
### Description
- [X] Here are some details about my PR, including screenshots of any UI changes:
There are three things fixed:
1. State priority is higher priority with smaller number.
2... | diff --git a/helix-core/src/main/java/org/apache/helix/controller/stages/IntermediateStateCalcStage.java b/helix-core/src/main/java/org/apache/helix/controller/stages/IntermediateStateCalcStage.java
index 1d2ed025361..21fc863ef6e 100644
--- a/helix-core/src/main/java/org/apache/helix/controller/stages/IntermediateState... | 1 | 1 | 0 | [{"id": "G0", "claim": "The onlyDownwardLoadBalance special-case logic should live in the throttling class instead of the stage; propose refactoring when deprecating IntermediateStateCalcStage and add a TODO here if that makes sense.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced... | null |
apache__helix__1870 | apache/helix | 1,870 | defect | b8ed7685b5fc0efb162fe8c97cd56f995718d5af | 03fda3a924b87830e110fe0a177e3d18d652c692 | Improve Purge Offline Instances API | ### Issues
- [x] My PR addresses the following Helix issues and references them in the PR description:
Fixes #1869
### Description
- [x] Here are some details about my PR, including screenshots of any UI changes:
The `purgeOfflineInstances` API is used to clean up the instance metadata in ZK that is left... | diff --git a/helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixAdmin.java b/helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixAdmin.java
index 05bef0801b..667bef464e 100644
--- a/helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixAdmin.java
+++ b/helix-core/src/main/java/org/apache/helix/ma... | 4 | 3 | 2 | [{"id": "G0", "claim": "The loop iterates timeoutOfflineInstanceNames while calling remove() on the same set, so a ConcurrentModificationException may be thrown.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "After this change, purge may delete the ... | null |
apache__helix__1875 | apache/helix | 1,875 | defect | 1174926e423b427d4fe31d0edfad0dd953e5ace0 | 3098498cca859358bf2411463f4f1167d1ae1b4a | Fix adding a task to a job after deleting old tasks | ### Issues
- [X] My PR addresses the following Helix issues and references them in the PR description:
Fixes #1874
### Description
- [x] Here are some details about my PR, including screenshots of any UI changes:
In this PR, the issue of dynamically adding a task to a job which some of its tasks has been ... | diff --git a/helix-core/src/main/java/org/apache/helix/task/GenericTaskAssignmentCalculator.java b/helix-core/src/main/java/org/apache/helix/task/GenericTaskAssignmentCalculator.java
index 987f2a4e83..2983583ba9 100644
--- a/helix-core/src/main/java/org/apache/helix/task/GenericTaskAssignmentCalculator.java
+++ b/helix... | 4 | 1 | 0 | [{"id": "G0", "claim": "The gap-check partition-assignment logic is duplicated verbatim between GenericTaskAssignmentCalculator and ThreadCountBasedTaskAssignmentCalculator and should be wrapped in a shared function in TaskAssignmentCalculator so both calculators just call it.", "category": "maintainability", "verdict"... | null |
apache__helix__1917 | apache/helix | 1,917 | defect | ad985acc5f8a958f829c69efbfadc4c7398be75e | 13e49252d6394990f716799c01e860354a16882b | Add rest API for take/free instance | ### Issues
- [X] My PR addresses the following Helix issues and references them in the PR description:
#1896
### Description
- [X] Here are some details about my PR, including screenshots of any UI changes:
This change adds take/free instance rest API endpoint and JSON parser.
### Tests
- [X] The f... | diff --git a/helix-rest/src/main/java/org/apache/helix/rest/clusterMaintenanceService/MaintenanceManagementInstanceInfo.java b/helix-rest/src/main/java/org/apache/helix/rest/clusterMaintenanceService/MaintenanceManagementInstanceInfo.java
index d50ad0d09cc..8914173ba43 100644
--- a/helix-rest/src/main/java/org/apache/h... | 6 | 6 | 2 | [{"id": "G0", "claim": "getListFromJsonPayload should return Collections.emptyList() instead of a new ArrayList for the null-input case.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks whether these JSON-payload conversion methods would ... | null |
apache__helix__1918 | apache/helix | 1,918 | defect | bf04419940855b78cacdffc01b2cf1392d38a5cd | 3b7e37116cc84567ffcfefaf96240b53cfa02f00 | Add take/free instance implementation and test | ### Issues
- [X] My PR addresses the following Helix issues and references them in the PR description:
#1896
### Description
- [X] Here are some details about my PR, including screenshots of any UI changes:
This change add take and free single instance implementation and corresponding tests.
### Tes... | diff --git a/helix-rest/src/main/java/org/apache/helix/rest/clusterMaintenanceService/MaintenanceManagementInstanceInfo.java b/helix-rest/src/main/java/org/apache/helix/rest/clusterMaintenanceService/MaintenanceManagementInstanceInfo.java
index 8914173ba4..4c75b6d55d 100644
--- a/helix-rest/src/main/java/org/apache/hel... | 4 | 4 | 2 | [{"id": "G0", "claim": "The two existing stoppable-check methods in InstanceService should not be annotated @Deprecated because they can still be leveraged as module functions just for checks.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "takeFreeSingle... | null |
apache__helix__1935 | apache/helix | 1,935 | defect | 0d28d726c829d816cc232b6852d07d5a50394b27 | 3813039761911a66f712669ebc8fc08e661463ab | Implement java API and utils for virtual topology group | ### Description
- [x] Here are some details about my PR, including screenshots of any UI changes:
Implement the java endpoint for adding virtual topology group for a cluster. The entry point is `VirtualTopologyGroupService#addVirtualTopologyGroup`.
This provides a virtualization layer on top of physical fault zo... | diff --git a/helix-core/src/main/java/org/apache/helix/common/VirtualTopologyGroupConstants.java b/helix-core/src/main/java/org/apache/helix/common/VirtualTopologyGroupConstants.java
new file mode 100644
index 00000000000..63dec58592e
--- /dev/null
+++ b/helix-core/src/main/java/org/apache/helix/common/VirtualTopologyG... | 18 | 13 | 6 | [{"id": "G0", "claim": "The loop that checks updateChildren results could be replaced with a stream anyMatch that throws on the first failed update.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new constants class should not use a static wil... | null |
apache__helix__1945 | apache/helix | 1,945 | defect | 0d28d726c829d816cc232b6852d07d5a50394b27 | 8a21468be5542bfd2b4d4b7ba1143b3c2fb97ffc | Refactor and move ClusterTopologyConfig from nested class to a separate one. | ### Issues
- [x] My PR addresses the following Helix issues and references them in the PR description:
https://github.com/apache/helix/issues/1946
Any of the following keywords can be used: close, closes, closed, fix, fixes, fixed, resolve, resolves, resolved)
### Description
- [x] Here are some details abou... | diff --git a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/topology/Topology.java b/helix-core/src/main/java/org/apache/helix/controller/rebalancer/topology/Topology.java
index 3d2a8785514..6689021540c 100644
--- a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/topology/Topology.java
... | 5 | 4 | 1 | [{"id": "G0", "claim": "The factory method name fromClusterConfig does not comply with the naming standard and should be renamed to something like createFromClusterConfig.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The check via Precondition... | null |
apache__helix__1961 | apache/helix | 1,961 | defect | f8933114dead95dca554673a0b504848e4148138 | 20c16b02299fe9ab546d30da513d26158285a4c8 | Use final remaining capacity when computing weighted score | ### Issues
- [X] My PR addresses the following Helix issues and references them in the PR description:
#1960
### Description
- [X] Here are some details about my PR, including screenshots of any UI changes:
Use the final cluster's remaining capacity when computing weight for replicas.
### Tests
- [... | diff --git a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/constraints/ConstraintBasedAlgorithm.java b/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/constraints/ConstraintBasedAlgorithm.java
index bb5df33bbd..283efb5f2a 100644
--- a/helix-core/src/main/java/org/apache/hel... | 6 | 4 | 0 | [{"id": "G0", "claim": "The meaning of \"final\" in computeFinalClusterRemainingCapacity is ambiguous and should be clarified.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "computeFinalClusterRemainingCapacity may compute the current state of a... | null |
apache__helix__1967 | apache/helix | 1,967 | defect | de572a6192f4186cc1cabe8ee8ceb38a7d3dc615 | 4e5cfab1e2b605eb0dc135409732f5e6a1344d88 | Add Authorization Components to helix-rest | ### Issues
- [x] My PR addresses the following Helix issues and references them in the PR description:
Fixes #1966
### Description
- [x] Here are some details about my PR, including screenshots of any UI changes:
As the first step of protecting Helix REST endpoints, we're adding authorization components... | diff --git a/helix-rest/src/main/java/org/apache/helix/rest/server/HelixRestServer.java b/helix-rest/src/main/java/org/apache/helix/rest/server/HelixRestServer.java
index 813773978a..b8c1062573 100644
--- a/helix-rest/src/main/java/org/apache/helix/rest/server/HelixRestServer.java
+++ b/helix-rest/src/main/java/org/apa... | 3 | 2 | 0 | [{"id": "G0", "claim": "The standalone DefaultAuthValidator class is a confusing noop — rename it (e.g. to NoopAuthValidator) or drop it in favour of a default method on the AuthValidator interface.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new ... | null |
apache__helix__1984 | apache/helix | 1,984 | defect | cbf35baa22a90a75470921726eb2e0417a6e0123 | 345d81a0d3caece07e11e01f3819d2387b519c7b | add new error message for customized partition check host connection error | ### Issues
- [X] My PR addresses the following Helix issues and references them in the PR description:
#1983
### Description
- [X] Here are some details about my PR, including screenshots of any UI changes:
Helix user will get "UNHEALTHY_PARTITION:PARTITION_XX" error for customized partition health chec... | diff --git a/helix-core/src/main/java/org/apache/helix/util/InstanceValidationUtil.java b/helix-core/src/main/java/org/apache/helix/util/InstanceValidationUtil.java
index 5939e19948..3bc2cbe931 100644
--- a/helix-core/src/main/java/org/apache/helix/util/InstanceValidationUtil.java
+++ b/helix-core/src/main/java/org/apa... | 3 | 2 | 0 | [{"id": "G0", "claim": "The new comment misspells \"instance\" as \"nstance\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The null-partition check could be written more cleanly with globalPartitionHealthStatus.get(siblingInstance).getOrDefault... | null |
apache__helix__1986 | apache/helix | 1,986 | defect | cbf35baa22a90a75470921726eb2e0417a6e0123 | d3ab1b161693874d895722ed68b0ddb3185fcc5a | Read cloud config from zk and propagate to HelixManagerProperty in ZkHelixManager constructor | ### Issues
- [X] My PR addresses the following Helix issues and references them in the PR description:
#1985
### Description
- [X] Here are some details about my PR, including screenshots of any UI changes:
Helix user notice that when ZooScalability is enabled, property configured helix cloud participan... | diff --git a/helix-core/src/main/java/org/apache/helix/HelixManagerProperty.java b/helix-core/src/main/java/org/apache/helix/HelixManagerProperty.java
index f566b99545f..59886c09e8f 100644
--- a/helix-core/src/main/java/org/apache/helix/HelixManagerProperty.java
+++ b/helix-core/src/main/java/org/apache/helix/HelixMana... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a simple unit test (a mocked zkclient would suffice) to make sure the cloud config is read through zkclient.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
apache__helix__1993 | apache/helix | 1,993 | defect | 04d8df733973e1884fd47d0c5cdd251379df4024 | d8801cf74388d92696ec964710f9bf8417269517 | Add instance disable reason | ### Issues
- [X] My PR addresses the following Helix issues and references them in the PR description:
#1992
### Description
- [X] Here are some details about my PR, including screenshots of any UI changes:
This change adds an API for Disabling instance with optional disabling type and reason.
Added a new ... | diff --git a/helix-common/src/main/java/org/apache/helix/constants/InstanceConstants.java b/helix-common/src/main/java/org/apache/helix/constants/InstanceConstants.java
new file mode 100644
index 00000000000..8be18c54513
--- /dev/null
+++ b/helix-common/src/main/java/org/apache/helix/constants/InstanceConstants.java
@@... | 4 | 1 | 1 | [{"id": "G0", "claim": "The pull request should provide a default instance disabled type instead of leaving no type (or null) behind, so the feature stays backward compatible; the getter should return that default value, and the author confirmed the default should apply to disabled instances with no type provided but n... | null |
apache__helix__1995 | apache/helix | 1,995 | defect | 04d8df733973e1884fd47d0c5cdd251379df4024 | 5bd98b5d28061ca0df1a6702aecab3da0a4c2c68 | Implement DefaultCloudEventCallbackImpl | ### Issues
- [x] My PR addresses the following Helix issues and references them in the PR description:
Fixes #1994
### Description
- [x] Here are some details about my PR, including screenshots of any UI changes:
Implement a default callback implementation for Helix cloud event listeners.
### Tests
-... | diff --git a/helix-core/src/main/java/org/apache/helix/HelixCloudProperty.java b/helix-core/src/main/java/org/apache/helix/HelixCloudProperty.java
index 6cbc2e15412..9af71757fc6 100644
--- a/helix-core/src/main/java/org/apache/helix/HelixCloudProperty.java
+++ b/helix-core/src/main/java/org/apache/helix/HelixCloudPrope... | 3 | 3 | 1 | [{"id": "G0", "claim": "The maintenance-mode enable/exit and instance disable calls should carry a detailed reason instead of the bare \"CloudEvent\" constant, so the maintenance-mode and instance-disable reason says what actually happened.", "category": "maintainability", "verdict": "supported", "priority": "P2", "sco... | null |
apache__helix__2005 | apache/helix | 2,005 | defect | 1e5aa3cf53f55c3d79b5b59f44a7efadd4b5d14a | aab35cdcc22f885d45b5dba3d074cc051dc06295 | Populate helix cloud property using cloud config | ### Issues
- [x] My PR addresses the following Helix issues and references them in the PR description:
Fixes #1985
### Description
- [x] Here are some details about my PR, including screenshots of any UI changes:
This is a fix based on a previous [PR](https://github.com/apache/helix/pull/1986). The previ... | diff --git a/helix-core/src/main/java/org/apache/helix/HelixCloudProperty.java b/helix-core/src/main/java/org/apache/helix/HelixCloudProperty.java
index 6cbc2e1541..c18d846a64 100644
--- a/helix-core/src/main/java/org/apache/helix/HelixCloudProperty.java
+++ b/helix-core/src/main/java/org/apache/helix/HelixCloudPropert... | 3 | 2 | 0 | [{"id": "G0", "claim": "Pre-populate the default value of _helixCloudProperty (or do the null check at assignment time) so the field is always non-null, instead of returning an empty instance from the getter when it is null.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": ... | null |
apache__helix__2006 | apache/helix | 2,006 | defect | abcb37d822499094e3e0dab0f56393a1d0878b60 | 2a3e0b86e2dc8d31c9d0a314812df9337b27d636 | Add type and reason for batch disable/enable | ### Issues
- [X] My PR addresses the following Helix issues and references them in the PR description:
#2000
### Description
- [X] Here are some details about my PR, including screenshots of any UI changes:
Having a batching enable/disable would reduce number of ZK write. It is also helps user to solve ... | diff --git a/helix-common/src/main/java/org/apache/helix/StringProcessUtil.java b/helix-common/src/main/java/org/apache/helix/StringProcessUtil.java
new file mode 100644
index 00000000000..01749db6a6f
--- /dev/null
+++ b/helix-common/src/main/java/org/apache/helix/StringProcessUtil.java
@@ -0,0 +1,38 @@
+package org.ap... | 13 | 8 | 0 | [{"id": "G0", "claim": "The hard-coded \",\" splitter and \"=\" joiner may not fit future use cases, and the reviewer suggests making them configurable.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The concatenatedConfigParser util method lacks javadoc, ... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.