You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by yt...@apache.org on 2021/09/16 10:31:49 UTC
[incubator-datalab] 01/01: [DATALAB-2547] fixed bug with
master/slave values for Spark cluster
This is an automated email from the ASF dual-hosted git repository.
ytykhun pushed a commit to branch DATALAB-2547
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit beeabee77ed54c2b1fc3623c5572e8cf6a12d562
Author: Yurii Tykhun <ty...@gmail.com>
AuthorDate: Thu Sep 16 13:30:51 2021 +0300
[DATALAB-2547] fixed bug with master/slave values for Spark cluster
---
.../computational/cluster-details/cluster-details.component.html | 2 +-
.../src/main/resources/webapp/src/dictionary/azure.dictionary.ts | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/computational/cluster-details/cluster-details.component.html b/services/self-service/src/main/resources/webapp/src/app/resources/computational/cluster-details/cluster-details.component.html
index be41219..b0d1eb6 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/computational/cluster-details/cluster-details.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/computational/cluster-details/cluster-details.component.html
@@ -73,7 +73,7 @@
<span *ngIf="DICTIONARY[PROVIDER].cloud_provider === 'aws'">
{{ resource.totalInstanceCount > 0 ? resource.totalInstanceCount : resource.dataengine_instance_count}}
</span>
- <span *ngIf="DICTIONARY[PROVIDER].cloud_provider === 'azure'">{{resource.dataengine_instance_count}}</span>
+ <span *ngIf="DICTIONARY[PROVIDER].cloud_provider === 'azure'">{{resource?.totalInstanceCount}}</span>
<span *ngIf="DICTIONARY[PROVIDER].cloud_provider === 'gcp'">1</span>
</div>
</div>
diff --git a/services/self-service/src/main/resources/webapp/src/dictionary/azure.dictionary.ts b/services/self-service/src/main/resources/webapp/src/dictionary/azure.dictionary.ts
index 15b0ec0..1619ffd 100644
--- a/services/self-service/src/main/resources/webapp/src/dictionary/azure.dictionary.ts
+++ b/services/self-service/src/main/resources/webapp/src/dictionary/azure.dictionary.ts
@@ -69,7 +69,8 @@ export const NAMING_CONVENTION_AZURE = {
'total_instance_number_min': 'min_spark_instance_count',
'total_instance_number_max': 'max_spark_instance_count',
'data_engine_master_instance_size': 'Node size',
- 'master_node_shape': 'dataengine_instance_shape',
+ 'master_node_shape': 'master_node_shape',
+ 'slave_node_shape': 'slave_node_shape',
'total_instance_number': 'dataengine_instance_count'
},
};
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org