This is an automated email from the ASF dual-hosted git repository.
casion pushed a commit to branch dev-1.3.2
in repository https://gitbox.apache.org/repos/asf/linkis.git
The following commit(s) were added to refs/heads/dev-1.3.2 by this push:
new cf0a16daa isModuleOperate should give the default false return (#4423)
cf0a16daa is described below
commit cf0a16daa05a79734cabcc12122d8c661dfec5d8
Author: peacewong <[email protected]>
AuthorDate: Tue Mar 28 22:04:32 2023 +0800
isModuleOperate should give the default false return (#4423)
---
.../linkis/manager/common/entity/resource/Resource.scala | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git
a/linkis-computation-governance/linkis-manager/linkis-manager-common/src/main/scala/org/apache/linkis/manager/common/entity/resource/Resource.scala
b/linkis-computation-governance/linkis-manager/linkis-manager-common/src/main/scala/org/apache/linkis/manager/common/entity/resource/Resource.scala
index 47b651584..d1244a9f5 100644
---
a/linkis-computation-governance/linkis-manager/linkis-manager-common/src/main/scala/org/apache/linkis/manager/common/entity/resource/Resource.scala
+++
b/linkis-computation-governance/linkis-manager/linkis-manager-common/src/main/scala/org/apache/linkis/manager/common/entity/resource/Resource.scala
@@ -436,14 +436,8 @@ class DriverAndYarnResource(
}
def isModuleOperate(r: Resource): Boolean = {
- if (this.isModuleOperate || r.isModuleOperate) {
- true
- } else if (this.yarnResource.queueName.equals(r.yarnResource.queueName)) {
- logger.debug(s"Not module operate this:$this other:$r")
- false
- } else {
- true
- }
+ // TODO This method needs to return false by default, and this method
needs to be removed later
+ false
}
def isModuleOperate: Boolean = {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]