From 2632d49282a5c1f5e49ac53918e6ad4c69ebce83 Mon Sep 17 00:00:00 2001
From: liever18 <47295183+liever18@users.noreply.github.com>
Date: Wed, 27 Apr 2022 02:53:11 +0800
Subject: [PATCH] HADOOP-18216. io.file.buffer.size must be positive (#4220)
Documents that the buffer size must be > 0
Contributed by Jingxuan Fu.
---
.../hadoop-common/src/main/resources/core-default.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hadoop-common-project/hadoop-common/src/main/resources/core-default.xml b/hadoop-common-project/hadoop-common/src/main/resources/core-default.xml
index a93f7fa273..85138611c3 100644
--- a/hadoop-common-project/hadoop-common/src/main/resources/core-default.xml
+++ b/hadoop-common-project/hadoop-common/src/main/resources/core-default.xml
@@ -793,7 +793,8 @@
The size of buffer for use in sequence files.
The size of this buffer should probably be a multiple of hardware
page size (4096 on Intel x86), and it determines how much data is
- buffered during read and write operations.
+ buffered during read and write operations. Must be greater than zero.
+