Unverified Commit dcf5041e authored by aiwenmo's avatar aiwenmo Committed by GitHub

[Fix-1503][executor] Fix use yarn application mode to submit job reported null…

[Fix-1503][executor] Fix use yarn application mode to submit job reported null pointer exception (#1559) * [Fix-1053][executor] Fix use yarn application mode to submit job reported null pointer exception * [Fix-1503][executor] Fix use yarn application mode to submit job reported null pointer exception * spotless apply Co-authored-by: 's avatarwenmo <32723967+wenmo@users.noreply.github.com>
parent a1df9234
...@@ -146,8 +146,11 @@ public class ExecutorSetting { ...@@ -146,8 +146,11 @@ public class ExecutorSetting {
Map<String, String> config = new HashMap<>(); Map<String, String> config = new HashMap<>();
for (Map<String, String> item : configList) { for (Map<String, String> item : configList) {
if (Asserts.isNotNull(item)
&& Asserts.isAllNotNullString(item.get("key"), item.get("value"))) {
config.put(item.get("key"), item.get("value")); config.put(item.get("key"), item.get("value"));
} }
}
return new ExecutorSetting( return new ExecutorSetting(
checkpoint, checkpoint,
parallelism, parallelism,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment