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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to