ParkGyeongTae opened a new pull request, #4936: URL: https://github.com/apache/zeppelin/pull/4936
### What is this PR for? - Improved Javadoc structure using `<p>` tags and consistent indentation. - Refined class and method-level documentation for better developer experience. - Made `sparkHome` a final field to reflect its immutable nature. - Enhanced error message when `SPARK_HOME` is missing. - Removed unused import `EnvironmentUtils`. - Reformatted string concatenation for better clarity. - Standardized formatting and styling across methods and comments. ### What type of PR is it? Refactoring ### Todos * [x] Ensure %spark-submit command still works correctly after the refactor * [x] Validate that Spark UI link is extracted and shown in Zeppelin frontend ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN/ZEPPELIN-6193 ### How should this be tested? 1. Launch Zeppelin with the updated interpreter. 2. Configure the interpreter setting with a valid SPARK_HOME. 3. Run a sample %spark-submit paragraph with a valid Spark job (e.g., SparkPi). 4. (Verify) The job executes successfully. 5. (Verify) The Spark UI link appears in the Zeppelin frontend. 6. (Verify) No regressions in paragraph output or error handling ### Screenshots (if appropriate) <img width="774" alt="image" src="https://github.com/user-attachments/assets/d68c1c29-9905-43bd-bf2c-d29635c42751" /> ### Questions: * Does the license files need to update? No. * Is there breaking changes for older versions? No. * Does this needs documentation? No. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@zeppelin.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org