From 340cf43e092509fb6e9ceb836af5f96c91e1d33b Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Wed, 21 Oct 2009 23:37:22 +0000 Subject: [PATCH] HBASE-1777 column length is not checked before saved to memstore git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@828256 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 1 + src/java/org/apache/hadoop/hbase/io/hfile/HFile.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.txt b/CHANGES.txt index 159a974991f..1f18b0368fb 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -75,6 +75,7 @@ Release 0.21.0 - Unreleased HBASE-1908 ROOT not reassigned if only one regionserver left HBASE-1915 HLog.sync is called way too often, needs to be only called 1x per RPC + HBASE-1777 column length is not checked before saved to memstore IMPROVEMENTS HBASE-1760 Cleanup TODOs in HTable diff --git a/src/java/org/apache/hadoop/hbase/io/hfile/HFile.java b/src/java/org/apache/hadoop/hbase/io/hfile/HFile.java index a7392ab7271..e212cf745f4 100644 --- a/src/java/org/apache/hadoop/hbase/io/hfile/HFile.java +++ b/src/java/org/apache/hadoop/hbase/io/hfile/HFile.java @@ -138,7 +138,7 @@ public class HFile { /** * Maximum length of key in HFile. */ - public final static int MAXIMUM_KEY_LENGTH = 64 * 1024; + public final static int MAXIMUM_KEY_LENGTH = Integer.MAX_VALUE; /** * Default blocksize for hfile.