You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2020/02/04 02:44:02 UTC
[hbase] branch branch-2 updated: HBASE-23782 Addendum fix error
prone warning
This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2 by this push:
new 36824bb HBASE-23782 Addendum fix error prone warning
36824bb is described below
commit 36824bb504b045475077fcfb3929cce6946ca99d
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Tue Feb 4 10:14:27 2020 +0800
HBASE-23782 Addendum fix error prone warning
---
.../src/main/java/org/apache/hadoop/hbase/util/FSTableDescriptors.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSTableDescriptors.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSTableDescriptors.java
index 56fa883..585ebf9 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSTableDescriptors.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSTableDescriptors.java
@@ -144,7 +144,7 @@ public class FSTableDescriptors implements TableDescriptors {
} catch (TableInfoMissingException e) {
TableDescriptorBuilder builder = createMetaTableDescriptorBuilder(conf);
if (metaObserver != null) {
- metaObserver.apply(builder);
+ builder = metaObserver.apply(builder);
}
TableDescriptor td = builder.build();
LOG.info("Creating new hbase:meta table default descriptor/schema {}", td);