[Bug] Show create table null pointer of storage policy and error htttp path of tablet info (#10950)

Co-authored-by: lihaopeng <lihaopeng@baidu.com>
This commit is contained in:
HappenLee
2022-07-22 20:55:35 +08:00
committed by GitHub
parent 49a17bea99
commit aa1bcdbc18
2 changed files with 4 additions and 3 deletions

View File

@ -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);

View File

@ -30,8 +30,8 @@ under the License.
{{#data}}
{{#tablets}}
<tr>
<td><a href="/api/meta/header/{{tablet_id}}/{{schema_hash}}" target="_blank">{{tablet_id}}</a></td>
<td><a href="/api/meta/header/{{tablet_id}}/{{schema_hash}}" target="_blank">{{schema_hash}}</a></td>
<td><a href="/api/meta/header/{{tablet_id}}" target="_blank">{{tablet_id}}</a></td>
<td><a href="/api/meta/header/{{tablet_id}}" target="_blank">{{schema_hash}}</a></td>
</tr>
{{/tablets}}
{{/data}}