HBASE-3140 Rest schema modification throw null pointer exception

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1026154 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2010-10-21 21:57:14 +00:00
parent 3a7d12ce2c
commit 4b3fc6b14b
2 changed files with 3 additions and 1 deletions

View File

@ -601,6 +601,8 @@ Release 0.21.0 - Unreleased
HBASE-3031 CopyTable MR job named "Copy Table" in Driver
HBASE-2658 REST (stargate) TableRegionModel Regions need to be updated to
work w/ new region naming convention from HBASE-2531
HBASE-3140 Rest schema modification throw null pointer exception
(David Worms via Stack)
IMPROVEMENTS

View File

@ -150,7 +150,7 @@ public class SchemaResource extends ResourceBase {
if (htd.hasFamily(hcd.getName())) {
admin.modifyColumn(name, hcd);
} else {
admin.addColumn(model.getName(), hcd);
admin.addColumn(name, hcd);
}
}
} catch (IOException e) {