You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@zeppelin.apache.org by "seung-00 (via GitHub)" <gi...@apache.org> on 2024/09/28 12:25:11 UTC

[PR] [ZEPPELIN-6104] Fix NPE when some MongoDB Interpreter configs are missing [zeppelin]

seung-00 opened a new pull request, #4844:
URL: https://github.com/apache/zeppelin/pull/4844

   ### What is this PR for?
   This PR avoids an NPE when some MongoDB Interpreter configs are missing by replacing them with empty strings.
   
   If certain MongoDB Interpreter configs, such as the username, password, or authenticationDatabase, are not entered, it throws an NPE. MongoDB allows logins without authentication when authentication is not enabled, so these configs are not always required. Since authentication is off by default in MongoDB, and these configs are also empty by default in Apache Zeppelin, this could be confusing for users.
   
   
   ### What type of PR is it?
   Improvement
   
   ### Todos
   
   ### What is the Jira issue?
   [ZEPPELIN-6104]
   
   ### How should this be tested?
   * run the MongoDB notebook
   
   ### Questions:
   * Does the license files need to update? N
   * Is there breaking changes for older versions? N
   * Does this needs documentation? N
   


-- 
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-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org