Skip to content

Commit ce5422f

Browse files
committed
HADOOP-19667: Clarify constraints for hadoop.security.crypto.buffer.size (min=512; floor to cipher block size)
1 parent 0244dbd commit ce5422f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/TransparentEncryption.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ The JCE provider name used in CryptoCodec.
133133

134134
Default: `8192`
135135

136-
The buffer size used by CryptoInputStream and CryptoOutputStream.
136+
The buffer size used by CryptoInputStream and CryptoOutputStream. Minimum is 512 bytes; the effective value is floored to the nearest multiple of the cipher algorithm block size.
137137

138138
### Namenode configuration
139139

0 commit comments

Comments
 (0)