Skip to content

Conversation

@houhang1005
Copy link

@houhang1005 houhang1005 commented Jan 23, 2026

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.

…us paragraph ,it returns java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
@houhang1005 houhang1005 changed the title Fix GET job/{noteId} api, when target notebook id contains ERROR status paragraph ,it returns java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils [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 Jan 23, 2026
Copy link
Contributor

@Reamer Reamer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The import looks good. The old commons-lang version is a transitive dependency of apacheds-kerberos-codec, which should also be updated at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants