You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@linkis.apache.org by "guoshupei (via GitHub)" <gi...@apache.org> on 2023/09/19 10:22:19 UTC
[GitHub] [linkis] guoshupei commented on a diff in pull request #4906: feat: support submit pyspark once job on k8s and add clusterlabel to combinedlabel
guoshupei commented on code in PR #4906:
URL: https://github.com/apache/linkis/pull/4906#discussion_r1329899651
##########
linkis-computation-governance/linkis-manager/linkis-application-manager/src/main/java/org/apache/linkis/manager/label/conf/LabelManagerConf.java:
##########
@@ -23,4 +23,7 @@ public class LabelManagerConf {
public static final String LONG_LIVED_LABEL =
CommonVars.apply("wds.linkis.label.node.long.lived.label.keys", "tenant").getValue();
+
+ public static final boolean COMBINED_WITHOUT_YARN_DEFAULT =
+ CommonVars.apply("wds.linkis.combined.without.yarn.default", true).getValue();
Review Comment:
remove prefix of `wds`
##########
linkis-computation-governance/linkis-manager/linkis-application-manager/src/main/java/org/apache/linkis/manager/rm/service/impl/DefaultResourceManager.java:
##########
@@ -247,8 +247,7 @@ public ResultResource requestResource(List<Label<?>> labels, NodeResource resour
List<PersistenceLock> persistenceLocks = new ArrayList<>();
EMInstanceLabel emInstanceLabel = labelContainer.getEMInstanceLabel();
- CombinedLabel userCreatorEngineTypeLabel =
- labelContainer.getCombinedUserCreatorEngineTypeLabel();
+ CombinedLabel userCreatorEngineTypeLabel = labelContainer.getCombinedResourceLabel();
Review Comment:
rename userCreatorEngineTypeLabel is better
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org