You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ya...@apache.org on 2021/01/26 01:13:05 UTC
[incubator-doris] branch master updated: [bug] fix bug of
getBrokerDesc object is null (#5295)
This is an automated email from the ASF dual-hosted git repository.
yangzhg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new 067abac [bug] fix bug of getBrokerDesc object is null (#5295)
067abac is described below
commit 067abac34218cc3bbc0fedb2e8481a191a4b916a
Author: XIAO WANG <wa...@gmail.com>
AuthorDate: Tue Jan 26 09:12:44 2021 +0800
[bug] fix bug of getBrokerDesc object is null (#5295)
Co-authored-by: wangxiaobaidu11 <32...@qq.com>
---
fe/fe-core/src/main/java/org/apache/doris/load/loadv2/LoadManager.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/load/loadv2/LoadManager.java b/fe/fe-core/src/main/java/org/apache/doris/load/loadv2/LoadManager.java
index cf1e029..0554952 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/load/loadv2/LoadManager.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/load/loadv2/LoadManager.java
@@ -102,7 +102,7 @@ public class LoadManager implements Writable{
LoadJob loadJob = null;
writeLock();
try {
- if (stmt.getBrokerDesc().isMultiLoadBroker()) {
+ if (stmt.getBrokerDesc() != null && stmt.getBrokerDesc().isMultiLoadBroker()) {
if (!Catalog.getCurrentCatalog().getLoadInstance()
.isUncommittedLabel(dbId, stmt.getLabel().getLabelName())) {
throw new DdlException("label: " + stmt.getLabel().getLabelName() + " not found!") ;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org