Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file.
- Use `--file-log-max-files` (or `FILE_LOG_MAX_FILES`) to limit the number of log files kept.
- Use `--file-log-rotation-period` (or `FILE_LOG_ROTATION_PERIOD`) to configure the frequency of rotation.
- Use `--console-log-format` (or `CONSOLE_LOG_FORMAT`) to set the format to `plain` (default) or `json`.
- The operator now sets defaults for `dfs.encrypt.data.transfer.cipher.suite` (`AES/CTR/NoPadding`) and `dfs.encrypt.data.transfer.cipher.key.bitlength` (`128`) to improve security and performance ([#693]).

### Changed

Expand Down Expand Up @@ -46,6 +47,7 @@ All notable changes to this project will be documented in this file.
[#677]: https://github.com/stackabletech/hdfs-operator/pull/677
[#683]: https://github.com/stackabletech/hdfs-operator/pull/683
[#684]: https://github.com/stackabletech/hdfs-operator/pull/684
[#693]: https://github.com/stackabletech/hdfs-operator/pull/693

## [25.3.0] - 2025-03-21

Expand Down
1 change: 1 addition & 0 deletions docs/modules/hdfs/pages/usage-guide/security.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ The `kerberos.secretClass` is used to give HDFS the possibility to request keyta

The `tlsSecretClass` is needed to request TLS certificates, used e.g. for the Web UIs.

NOTE: The hdfs-operator uses the cipher suite `AES/CTR/NoPadding` with a 128 Bit key per default. This can be changed using config overrides.

=== 4. Verify that Kerberos authentication is required
Use `stackablectl stacklet list` to get the endpoints where the HDFS namenodes are reachable.
Expand Down
5 changes: 5 additions & 0 deletions rust/operator-binary/src/security/kerberos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ impl HdfsSiteConfigBuilder {
fn add_wire_encryption_settings(&mut self) -> &mut Self {
self.add("dfs.data.transfer.protection", "privacy");
self.add("dfs.encrypt.data.transfer", "true");
self.add(
"dfs.encrypt.data.transfer.cipher.suite",
"AES/CTR/NoPadding",
);
self.add("dfs.encrypt.data.transfer.cipher.key.bitlength", "128");
Comment thread
maltesander marked this conversation as resolved.
Outdated
self
}
}
Expand Down