From aa1bcdbc185aad81fdb31cc64fa035d69c19a89d Mon Sep 17 00:00:00 2001 From: HappenLee Date: Fri, 22 Jul 2022 20:55:35 +0800 Subject: [PATCH] [Bug] Show create table null pointer of storage policy and error htttp path of tablet info (#10950) Co-authored-by: lihaopeng --- .../src/main/java/org/apache/doris/catalog/TableProperty.java | 3 ++- webroot/be/tablets_page.mustache | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/TableProperty.java b/fe/fe-core/src/main/java/org/apache/doris/catalog/TableProperty.java index 1e48c00694..2875c041d7 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/catalog/TableProperty.java +++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/TableProperty.java @@ -285,7 +285,8 @@ public class TableProperty implements Writable { .buildStorageFormat() .buildDataSortInfo() .buildRemoteStoragePolicy() - .buildCompressionType(); + .buildCompressionType() + .buildStoragePolicy(); if (Catalog.getCurrentCatalogJournalVersion() < FeMetaVersion.VERSION_105) { // get replica num from property map and create replica allocation String repNum = tableProperty.properties.remove(PropertyAnalyzer.PROPERTIES_REPLICATION_NUM); diff --git a/webroot/be/tablets_page.mustache b/webroot/be/tablets_page.mustache index 9879c2d3eb..d60371c2da 100644 --- a/webroot/be/tablets_page.mustache +++ b/webroot/be/tablets_page.mustache @@ -30,8 +30,8 @@ under the License. {{#data}} {{#tablets}} - {{tablet_id}} - {{schema_hash}} + {{tablet_id}} + {{schema_hash}} {{/tablets}} {{/data}}