Closed Ritakang0451 closed 2 years ago
Answer: Method 1: Documentation: temporary fixes for JDBC problems note Link: http://note.youdao.com/noteshare?id=0816q3f429dd2e226a13877eba8bad1e3&sub=4ADEE86F433B4A59BBB20621A1C4B2AE
Method 2: compare and modify this file https://github.com/apache/incubator-linkis/blob/319213793881b0329022cf4137ee8d4c502395c7/linkis-engineconn-plugins/engineconn-plugins/jdbc/src/main/scala/com/webank/wedatasphere/linkis/manager/engineplugin/jdbc/executer/JDBCEngineConnExecutor.scala
Search before asking
Linkis Component
linkis-commons
What happened + What you expected to happen
2021-10-31 05:16:54.016 ERROR Task is Failed,errorMsg: NullPointerException: jdbc.username cannot be null.
Source code: com.webank.wedatasphere.linkis.manager.engineplugin.jdbc.executer.JDBCEngineConnExecutor received val properties = engineExecutorContext.getProperties.asInstanceOf[util.Map[String, String]] No,jdbc.username parameter
Relevent platform
。
Reproduction script
。
Anything else
This question comes from the QA documentation of the Linkis community
Are you willing to submit a PR?