diff --git a/CHANGES.txt b/CHANGES.txt index 7d06e7d6642..ac7eac4b02e 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -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 diff --git a/src/main/java/org/apache/hadoop/hbase/rest/SchemaResource.java b/src/main/java/org/apache/hadoop/hbase/rest/SchemaResource.java index fcfadb809ee..7262229cc17 100644 --- a/src/main/java/org/apache/hadoop/hbase/rest/SchemaResource.java +++ b/src/main/java/org/apache/hadoop/hbase/rest/SchemaResource.java @@ -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) {