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:
parent
3a7d12ce2c
commit
4b3fc6b14b
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue