This is an automated email from the ASF dual-hosted git repository.

tbonelee pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/master by this push:
     new ee44170d46 [ZEPPELIN-6393] Fix GET job/{noteId} api, when target 
notebook id contains ERROR status paragraph ,it returns 
java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
ee44170d46 is described below

commit ee44170d46b6f5841bdafb4f7163cd0eda482741
Author: Stan <[email protected]>
AuthorDate: Thu Aug 6 10:04:40 2026 +0800

    [ZEPPELIN-6393] Fix GET job/{noteId} api, when target notebook id contains 
ERROR status paragraph ,it returns java.lang.NoClassDefFoundError: 
org/apache/commons/lang/StringUtils
    
    ### What is this PR for?
    use this api /api/notebook/job/{noteid} ,to get every paragraph status.
    when some status is ERROR, this api will always return:
    java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
    and this exception come from 
org.apache.zeppelin.rest.message.ParagraphJobStatus
    
    ### What type of PR is it?
    Bug Fix
    
    
    ### Todos
    
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/browse/ZEPPELIN-6393
    
    
    ### How should this be tested?
    * Strongly recommended: add automated unit tests for any new or changed 
behavior
    * Outline any manual steps to test the PR here.
    
    ### Screenshots (if appropriate)
    
    ### Questions:
    I found some history pr and they are the same situation with this. I guess 
ParagraphJobStatus.java also need change from 
org.apache.commons.lang.StringUtils to org.apache.commons.lang3.StringUtils to 
solve ERROR status of paragraph.
    
    
    Closes #5143 from houhang1005/master.
    
    Signed-off-by: ChanHo Lee <[email protected]>
---
 .../main/java/org/apache/zeppelin/rest/message/ParagraphJobStatus.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/zeppelin-server/src/main/java/org/apache/zeppelin/rest/message/ParagraphJobStatus.java
 
b/zeppelin-server/src/main/java/org/apache/zeppelin/rest/message/ParagraphJobStatus.java
index 3d8d447283..e43d996f4a 100644
--- 
a/zeppelin-server/src/main/java/org/apache/zeppelin/rest/message/ParagraphJobStatus.java
+++ 
b/zeppelin-server/src/main/java/org/apache/zeppelin/rest/message/ParagraphJobStatus.java
@@ -17,7 +17,7 @@
 
 package org.apache.zeppelin.rest.message;
 
-import org.apache.commons.lang.StringUtils;
+import org.apache.commons.lang3.StringUtils;
 import org.apache.zeppelin.notebook.Paragraph;
 import org.apache.zeppelin.scheduler.Job;
 

Reply via email to