Apache Kudu 1.18.2 Release Notes

Apache Kudu 1.18.2 is a maintenance release which fixes several bugs, security issues, and build issues seen in Kudu 1.18.1.

Upgrade Notes

  • Range-aware rebalancing is now enabled by default in the kudu cluster rebalance CLI tool. To restore the prior behavior, run the tool with --enable_range_rebalancing=false (see KUDU-3738).

  • The names of the published kudu-binary JAR artifacts now include the OS distribution and its major version, e.g. kudu-binary-1.18.2-rhel9-x86_64.jar instead of kudu-binary-1.18.2-linux-x86_64.jar. Update build files that reference these artifacts by their classifier.

Fixed Issues

  • Fixed a crash (SIGSEGV) of Kudu servers in the codegen module when running on RHEL 9.7 and other platforms with libgcc 11.5.0-10 and newer installed (see KUDU-3736).

  • Fixed a race condition when registering and deregistering EH frames for code generated by the codegen module (see KUDU-3545).

  • Fixed an issue where a table could become unusable after adding a range partition with the table-wide hash schema specified using the per-range hash schema notation (see KUDU-3723).

  • Fixed a crash of Kudu tablet servers when processing scan requests with an empty or small projection, such as COUNT(*) queries (see KUDU-3782).

  • Fixed a NullPointerException in the Kudu Spark integration which could kill Spark executors (see KUDU-3790).

  • Fixed a buffer overflow in the communication channel between Kudu master and its subprocesses (such as the Ranger client) when discarding oversized messages.

  • Kudu tablet servers now validate key columns in write requests and column types of the deprecated range predicates in scan requests, preventing out-of-bounds memory access when processing malformed requests.

  • The Kudu C++ client now validates responses received from Kudu servers more thoroughly, preventing crashes when receiving malformed responses.

  • The Kudu Spark KuduSink now honors the kudu.requireAuthentication and kudu.encryptionPolicy options. Previously, these options were silently ignored for streaming writes.

  • Fixed an issue where a new master added to an existing cluster could get stuck catching up with the leader master (see KUDU-3762).

  • Kudu CLI tools no longer fail flag validation when run with a server’s flagfile containing a --tablet_transaction_memory_limit_mb setting below 2 GiB (see KUDU-3785).

  • Kudu’s embedded webserver now responds with HTTP 401 instead of HTTP 500 when a request with a malformed or unsupported Authorization header is received while SPNEGO authentication is required (see KUDU-3777).

  • Fixed hex encoding of range keys in the output of kudu cluster ksck and the rebalancer CLI tool (see KUDU-3749).

  • The kudu table add_column CLI tool can now add DECIMAL and VARCHAR columns, using the newly introduced --column_precision, --column_scale, and --column_length flags.

  • An interrupted move of a leader replica, e.g. by the kudu tablet change_config move_replica or kudu cluster rebalance CLI tools, no longer leaves the tablet over-replicated with a leader replica that cannot be evicted. Kudu masters now make such a leader step down so the move can complete (controlled by the --catalog_manager_step_down_leader_for_replacement flag, enabled by default), and re-running kudu tablet change_config move_replica resumes the move.

  • The "Opening container files" progress on the /startup page of Kudu servers' embedded webserver now reflects the actual progress of loading log block containers.

  • Newly elected tablet leaders now replicate their NO_OP operation to followers right away, so tablet replicas can serve scans after leader election without waiting for the next Raft heartbeat (see KUDU-3816).

  • Fixed initialization of the TLS trust store in the Kudu Java client when running with certain FIPS-compliant security providers.

  • Fixed missing service provider registrations in the kudu-subprocess JAR (see KUDU-3768).

  • Fixed accounting of deleted blocks when only some of the blocks are deleted with the experimental RocksDB-based log block manager metadata.

  • The effective value of --rpc_acceptor_listen_backlog (capped by the system-wide limit) is now used when setting up the listen backlog for RPC sockets.

  • Connection reset errors are now properly reported as ECONNRESET instead of ENOTCONN.

  • Kudu can now be built with GCC 15 (see KUDU-3803).

  • Kudu can now be built on RedHat 10 and on macOS Tahoe with Xcode 26 (x86_64).

  • Kudu can now be built with GCC 13 on SLES 15 SP6.

  • Fixed sporadic build failures of the 3rd-party gperftools library (see KUDU-3776).

  • Fixed linker detection: the LLD linker from Kudu’s 3rd-party toolchain is now properly detected and used. Symbols of the 3rd-party libraries linked into the Kudu C++ client library are kept hidden when linking with LLD (see KUDU-3804).

Optimizations and improvements

  • Upgraded Netty to 4.1.140.Final and log4j to 2.25.3 to address several CVEs.

  • Upgraded the 3rd-party Apache Thrift library, used by the Hive Metastore client, to 0.23.0 with recent security-related patches to address several CVEs (see KUDU-3781).

  • Reduced memory allocations and copying when processing RPC requests and responses with multiple sidecars (see KUDU-3758).

  • Reduced lock contention in the Raft consensus implementation.

  • Improved logging and diagnostics to help troubleshoot WAL corruption issues, invalid table and partition schemas sent to tablet servers, and non-monotonic HMS notification event IDs (see KUDU-3481).

Apache Kudu 1.18.1 Release Notes

Apache Kudu 1.18.1 is a bug-fix release that addresses one critical Java client dependency issue introduced in Kudu 1.18.0 along with other fixes/improvements listed below.

Fixed Issues

  • The Kudu Java dependencies published in compileUnshaded dependency scope are no longer marked optional (see KUDU-3677).

  • Kudu CLI tools no longer crash on exit, as the global state of the OpenSSL library is cleaned up explicitly (see KUDU-3635).

  • Fixed NPE in Kudu Java client introduced in Kudu 1.17.0 (see KUDU-3698).

  • Fixed kudu-backup and kudu-spark-tools jars to include the dependent kudu-spark classes (see KUDU-3697).

  • Patched Breakpad to fix minidump stack generation for 64KB page systems

  • Fixed Kudu C++ client crash introduced by KUDU-3461 (see KUDU-3704).

  • Fixed Spark integration issues by restoring DefaultSource and required META-INF/services entries to prevent ClassNotFoundException and ensure proper data source discovery. KUDU-3718 should help catch such issues in future.

  • Fixed CSR signing failures on OpenSSL 3.4+ by setting the version field in certificate signing requests (see KUDU-3716).

  • Fixed NoClassDefFoundError in kudu-backup when backing up tables with BINARY columns that have default values or are used in range partition bounds.

  • Fixes a unit mismatch in memory-pressure checks that caused ProceedWithFlush() to always trigger flushes when under memory pressure (see KUDU-3722).

Optimizations and improvements

  • Kudu’s embedded webserver now supports setting the minimum required TLS version up to TLSv1.3.

  • It is now possible to control TLSv1.3-specific cipher suites used by Kudu’s embedded webserver via the newly introduced --webserver_tls_ciphersuites flag.

  • Upgraded the Apache Spark dependency from 3.2.4 to 3.5.

  • Updated in-line help for the 'kudu master add' CLI tool to reflect on its obsolescence since Kudu 1.16.0 release.

Apache Kudu 1.18.0 Release Notes

Deprecations

Support for Python versions 3.0 to 3.5 (inclusive) has been discontinued.

New features

  • Kudu now supports a new experimental cache eviction policy named Segmented LRU (SLRU). This eviction policy helps the block cache better resist large scans that would otherwise evict frequently accessed data. (see KUDU-613).

  • A new experimental feature has been introduced to store LBM metadata in embedded RocksDB (see KUDU-3371).

Optimizations and improvements

  • Several minor improvements to the performance of Kudu masters and tablet servers.

  • The internal server-side counter for the Auto-Incrementing column is now updated during the server’s bootstrap process (see KUDU-1945).

  • Tables with Auto-Incrementing column can now be backed up and restored (see KUDU-1945).

  • Added /ipki-ca-cert, /ipki-ca-cert-pem, and /ipki-ca-cert-der endpoints for the embedded webserver of Kudu master to fetch the IPKI CA certificate used by a Kudu cluster.

  • Added client API to import JWT for client authentication (see KUDU-3472).

  • Added logic to detect unexpected jumps in the local/wall clock. This is enabled by default when running at Azure VM instances which are known to be prone to such events. Otherwise, this logic is disabled. For details, refer to the online documentation for --wall_clock_jump_detection and --wall_clock_jump_threshold_sec flags.

  • Kudu can now be built with the default system gcc/g++-7 compiler on SLES15.

  • Kudu can now be built on macOS 14.x (Sonoma) with XCode 15 and newer.

  • Added validator for the --trusted_certificate_file flag to catch misconfigurations (such as pointing to a non-existing file) early (see KUDU-3392).

  • Added a new metric to track per-RPC timeouts. This helps in identifying if requests to a particular RPC method timed out while being processed (see KUDU-3514).

  • Added a new metric for AcceptorPool’s dispatch timing. See the online documentation for the acceptor_dispatch_times metric.

  • Unified logging on write requests rejected by tablet servers. This helps in troubleshooting and post-mortem analysis.

  • Increased the backlog of listened RPC sockets up to 512. This helps in a very busy Kudu cluster when many clients attempt to connect to the cluster concurrently.

  • Added Cache-Control, X-Content-Type-Options, and HSTS HTTP headers into Kudu embedded webserver’s responses. For details, see the online documentation for --webserver_hsts_max_age_seconds and --webserver_hsts_include_sub_domains flags.

  • Introduced rpc_listened_socket_rx_queue_size and rpc_pending_connections metrics for Kudu master and tablet servers. For details, see the online documentation for the newly introduced metrics.

  • Updated the severity level of a few tablet-level metrics to bring them on-par with the rest of metrics having similar semantics. See changelist 35716499d for details.

  • Removed unnecessary memory allocation for ancient UNDO mutations. See changelist 3bdaf50b5 for details.

  • Apache Ranger client now accepts JVM arguments via --ranger_java_extra_args and a colon-separated list of classpaths via --ranger_jar_path (see KUDU-3503 and KUDU-3359).

  • Key materials for over-the-wire encryption can now be encrypted on disk without data-at-rest encryption or file-system level encryption using --tsk_private_key_password_cmd and --ipki_private_key_password_cmd (see KUDU-3448).

  • Maintenance operations other than DRS or MRS flush could be scheduled now even if the server is under memory pressure. Set run_non_memory_ops_prob to a value greater than 0 to enable it (see KUDU-3407).

  • Introduced new metrics for slow scans in tablet servers.

  • Buffer space limit in the Kudu Java client (KuduSession) is now configurable.

  • Compaction for soft-deleted tables is now disabled by default.

  • Several metrics have been introduced to track operations such as table creation, table deletion, alter table schema, tablet scans, tablet copy, tablet replica election, and tablet replication.

  • Enhanced the robustness of key retrieval from Ranger.

  • Kudu now runs on AArch64 Ubuntu and RedHat.

  • Installation of the Kudu Python package has been simplified, removing the need for a manual Cython installation; compatible versions are now automatically handled. Dependencies have been updated to support Python 2.7 and 3.6-3.10, and test files are now excluded from the final package.

  • Per-session write operation metrics have been added to the Kudu Python client.

  • Support for UPSERT IGNORE has been added to the Kudu Python client (see KUDU-3353).

  • The Kudu C++ and Python client examples have been added to demonstrate the utilization of the non-unique primary key feature.

  • Support for soft table deletion has been added to the Kudu Python client (see KUDU-3326).

  • Support for adding comments in ColumnSchema has been added to the Kudu Python client.

  • Support for immutable columns has been added to the Kudu Python client.

  • Kudu now supports dedicated SPNEGO keytab (see KUDU-3496).

  • Kudu now supports creating under-replicated tables (when the number of requested replicas is greater than the number of tablet servers) as long as consensus can be achieved (see KUDU-3452).

  • Tablet copying speed can now be limited (see KUDU-3447).

  • The maximum size of RPC messages is now configurable via the Kudu C++ client (see KUDU-3595).

  • Tablet-level metrics are now available in Prometheus format as well. Previously, only server-level Kudu metrics were available in Prometheus format (see KUDU-3563).

  • Range aware cluster rebalancer can now be run for multiple tables and against the whole Kudu cluster.

  • The example Kudu C++ client application now works with HMS-enabled Kudu clusters.

  • Addressed several CVE’s from thirdparty dependencies by upgrading them (see KUDU-3626, KUDU-3629)

  • Upgraded Gradle to version 7.6.4 (see KUDU-3551).

  • Kudu now uses x509_get_signature_info() (OpenSSL 1.1.1+) to correctly detect hash algorithms for RSASSA-PSS certificate signatures, fixing a limitation in the previous approach. (see KUDU-3663).

Fixed issues

  • Fixed issue where UPDATE privilege granted by Ranger is not honored by Kudu. (see KUDU-3661).

  • Fixed scan issues where an unexpected predicate was introduced (see KUDU-3518).

  • Fixed a bug in the range-aware replica placement code where the master would crash (see KUDU-3532).

  • The ‘kudu table copy’ CLI tool now exits gracefully and prints information on errors instead of crashing when encountering errors while writing data to the destination table.

  • Fixed handling of oversized messages exchanged between kudu-master process and Ranger client. This fixes fine-grained authorization issues when working with a cluster having thousands of tables (see KUDU-3450 and KUDU-3489).

  • Fixed at-rest encryption/decryption when using OpenSSL 3.

  • Fixed incompatibility introduced with KUDU-2671 (see KUDU-3515).

  • Fixed master and tablet server crash when the system clock is synchronized by PTPd (see KUDU-3521).

  • Fixed NPE that might be thrown during RPC connection negotiation by Kudu Java client. The thrown exception would make the connection to the corresponding tablet server unusable, where the only remedy for the issue was a restart of the Kudu Java client application (see KUDU-3576).

  • Do not expose string gauges as Prometheus metrics (see KUDU-3549).

  • Fixed integer overflow in available space metrics (see KUDU-3562).

  • Don’t spam servers’ logs with “Entity is not relevant to Prometheus” (see KUDU-3561).

  • Fixed summary metrics in Prometheus format (see KUDU-3566).

  • Fixed a race condition that might lead to unexpected behavior when processing AlterTable or a scan request containing IN-list predicates with concurrently running major delta compaction (see KUDU-3569).

  • Fixed a heap-use-after-free bug in MajorDeltaCompactionOp. The bug might lead to unexpected behavior when processing an AlterTable request along with concurrently running major delta compaction (see KUDU-3570).

  • Fixed altering tables with custom per-range hash schemas (see KUDU-3577).

  • Disable KUDU-3367 behavior by default. This fixes major delta compaction failure that manifests itself in certain workloads with copious number of DELETE operations (see KUDU-3619).

  • Fixed Impala daemon crash caused due to improper handling of a no-longer-existing tablet (see KUDU-3461).

  • The Kudu CLI’s can now accommodate response payloads up to 2GByte in size with the increased maximum RPC message size limit.

  • Fixed incorrect memory budgeting condition in compaction that could cause budgeting logic to not kick in when required.

  • Fixed Ranger client issue to avoid spawning of Ranger subprocess if keytab file is not available (see KUDU-3558).

  • Fixed a bug where the Ranger client could silently crash leaving the Kudu masters running, but not being able to serve requests (see KUDU-3504).

  • Fixed a bug that the table could stay in ALTERING state forever if its replication factor changes when it does not have any tablets.

  • Fixed a bug in Kudu Java client that might lead to a Scanner not found exception (see KUDU-3526).

  • Fixed a bug where the result of UPSERT might not be correct when the client schema and server schema do not match (see KUDU-3495).

  • Fixed a bug where the log cache of the tombstoned tablet might not be cleared (see KUDU-3535).

  • Fixed a bug where the maintenance manager might schedule fewer operations even if there are idle threads and pending operations. (see KUDU-3516).

  • Fixed a bug when a new master with empty local directories tries to connect to an existing cluster (see KUDU-3437).

  • Fixed a bug in multi-master cluster with non-default Kerberos principal name.

  • Fixed a bug in multi-master cluster when MiniDumps enabled (see KUDU-3491).

  • Content-Type headers have been corrected for various HTTP/HTTPS endpoints, ensuring accurate response formats, including support for JSON and binary data where applicable (see KUDU-3543).

  • SSE2 and AVX code now uses native NEON instructions on ARM64/AArch64 (see KUDU-3475).

  • Fixed IN list predicate pruning for tables with range specific hash schema (see KUDU-3564).

  • Kudu Java client now properly handles concurrent table schema updates between consecutive write operations within the same KuduSession (see KUDU-3483).

  • Fixed heap-use-after-free issue in OpDriver (see KUDU-3620).

  • Fixed handling of unexpected input for --predicates flag in kudu table scan and other CLI tools, so the tools wouldn’t crash on incorrect user input, but report on problems with actionable error messages. For details, see KUDU-3623.

  • Fixed zlib-related errors when processing HMS notification events (see KUDU-3648.

  • Fixed the issue where DnsResolver threads were not shutdown causing retrying of RPCs that failed due to server shutdown process (see KUDU-3633).

  • Fixed crash of Kudu CLI tool namely kudu table copy in cases of invalid inputs (see KUDU-3623).

Wire Protocol compatibility

Kudu 1.18.0 is wire-compatible with previous versions of Kudu:

  • Kudu 1.18 clients may connect to servers running Kudu 1.0 or later. If the client uses features that are not available on the target server, an error will be returned.

  • Rolling upgrade between Kudu 1.17 and Kudu 1.18 servers is believed to be possible though has not been sufficiently tested. Users are encouraged to shut down all nodes in the cluster, upgrade the software, and then restart the daemons on the new version.

  • Kudu 1.0 clients may connect to servers running Kudu 1.18 with the exception of the below-mentioned restrictions regarding secure clusters.

The authentication features introduced in Kudu 1.3 place the following limitations on wire compatibility between Kudu 1.18 and versions earlier than 1.3:

  • If a Kudu 1.18 cluster is configured with authentication or encryption set to "required", clients older than Kudu 1.3 will be unable to connect.

  • If a Kudu 1.18 cluster is configured with authentication and encryption set to "optional" or "disabled", older clients will still be able to connect.

Incompatible Changes in Kudu 1.18.0

Client Library Compatibility

  • The Kudu 1.18 Java client library is API- and ABI-compatible with Kudu 1.17. Applications written against Kudu 1.17 will compile and run against the Kudu 1.18 client library and vice-versa. NOTE: As part of the Gradle upgrade to version 7.6.4, additional runtime dependencies have been introduced in the published artifacts. These dependencies were optional in earlier versions and, therefore, were not included in the corresponding POM files of those artifacts.

  • The Kudu 1.18 C++ client is API- and ABI-forward-compatible with Kudu 1.17. Applications written and compiled against the Kudu 1.17 client library will run without modification against the Kudu 1.18 client library. Applications written and compiled against the Kudu 1.18 client library will run without modification against the Kudu 1.17 client library.

  • The Kudu 1.18 Python client is API-compatible with Kudu 1.17, as no breaking changes have been introduced. However, support for Python versions 3.0 through 3.5 (inclusive) has been dropped. Users on these versions should upgrade to a supported Python version. Applications written against Kudu 1.17 will continue to work with the Kudu 1.18 client, and vice versa, as long as a supported Python version is used.

Known Issues and Limitations

  • The Kudu CLI tool sometimes crashes on exit with SIGSEGV in OPENSSL_cleanup (see KUDU-3635).

Please refer to the Known Issues and Limitations section of the documentation.

Contributors

Kudu 1.18.0 includes contributions from 26 people, including 3 first-time contributors:

  • halim.kim

  • qhsong

  • Sebastian Pop

  • Vladyslav Lyutenko

  • 0xderek

Installation Options

For full installation details, see Kudu Installation.