hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1026154 - in /hbase/trunk: CHANGES.txt src/main/java/org/apache/hadoop/hbase/rest/SchemaResource.java
Date Thu, 21 Oct 2010 21:57:14 GMT
Author: stack
Date: Thu Oct 21 21:57:14 2010
New Revision: 1026154

URL: http://svn.apache.org/viewvc?rev=1026154&view=rev
Log:
HBASE-3140 Rest schema modification throw null pointer exception

Modified:
    hbase/trunk/CHANGES.txt
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/rest/SchemaResource.java

Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1026154&r1=1026153&r2=1026154&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Thu Oct 21 21:57:14 2010
@@ -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

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/rest/SchemaResource.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/rest/SchemaResource.java?rev=1026154&r1=1026153&r2=1026154&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/rest/SchemaResource.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/rest/SchemaResource.java Thu Oct 21
21:57:14 2010
@@ -150,7 +150,7 @@ public class SchemaResource extends Reso
           if (htd.hasFamily(hcd.getName())) {
             admin.modifyColumn(name, hcd);
           } else {
-            admin.addColumn(model.getName(), hcd);            
+            admin.addColumn(name, hcd);            
           }
         }
       } catch (IOException e) {



Mime
View raw message