HBASE-3079 Shell displaying uninformative exceptions

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1033979 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2010-11-11 16:14:46 +00:00
parent 6e80c35a98
commit b508678106
2 changed files with 4 additions and 1 deletions

View File

@ -1148,6 +1148,7 @@ Release 0.90.0 - Unreleased
HBASE-3161 Provide option for Stargate to only serve GET requests
(Bennett Neale via Stack)
HBASE-3218 Shell help cleanup/cosmetics/edit
HBASE-3079 Shell displaying uninformative exceptions
NEW FEATURES

View File

@ -1420,8 +1420,10 @@ public class HRegion implements HeapSize { // , Writable{
lastIndexExclusive++;
numReadyToWrite++;
}
// Nothing to put -- an exception in the above such as NoSuchColumnFamily?
if (numReadyToWrite <= 0) return 0L;
// We've now grabbed as many puts off the list as we can
assert numReadyToWrite > 0;
// ------------------------------------
// STEP 2. Update any LATEST_TIMESTAMP timestamps