[Bug][TaskPlugin] Task execution error occurs when the Zeppelin task zeppelinNoteId parameter value is an empty string (#13162)
* [Bug] [TaskPlugin-Zeppelin] Task execution error occurs when the Zeppelin task zeppelinNoteId parameter value is an empty string. #13161
This commit is contained in:
parent
ba0a253f09
commit
a1f5675012
|
|
@ -107,7 +107,7 @@ public class ZeppelinTask extends AbstractRemoteTask {
|
|||
noteId = this.zClient.cloneNote(noteId, cloneNotePath);
|
||||
}
|
||||
|
||||
if (paragraphId == null) {
|
||||
if (paragraphId == null || paragraphId.trim().length() == 0) {
|
||||
final NoteResult noteResult = this.zClient.executeNote(noteId, zeppelinParamsMap);
|
||||
final List<ParagraphResult> paragraphResultList = noteResult.getParagraphResultList();
|
||||
StringBuilder resultContentBuilder = new StringBuilder();
|
||||
|
|
|
|||
Loading…
Reference in New Issue