HBASE-717 alter table broke with new shell returns InvalidColumnNameException
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@673000 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3d579b7beb
commit
070112eef2
|
@ -3,6 +3,7 @@ Hbase Change Log
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
HBASE-718 hbase shell help info
|
HBASE-718 hbase shell help info
|
||||||
|
HBASE-717 alter table broke with new shell returns InvalidColumnNameException
|
||||||
|
|
||||||
Release 0.1.3 - 07/25/2008
|
Release 0.1.3 - 07/25/2008
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ class ModifyColumn extends ColumnOperation {
|
||||||
protected void postProcessMeta(MetaRegion m, HRegionInterface server)
|
protected void postProcessMeta(MetaRegion m, HRegionInterface server)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
for (HRegionInfo i: unservedRegions) {
|
for (HRegionInfo i: unservedRegions) {
|
||||||
if (!i.getTableDesc().hasFamily(columnName)) {
|
if (i.getTableDesc().hasFamily(columnName)) {
|
||||||
i.getTableDesc().addFamily(descriptor);
|
i.getTableDesc().addFamily(descriptor);
|
||||||
updateRegionInfo(server, m.getRegionName(), i);
|
updateRegionInfo(server, m.getRegionName(), i);
|
||||||
} else { // otherwise, we have an error.
|
} else { // otherwise, we have an error.
|
||||||
|
|
Loading…
Reference in New Issue