imyoubo commented on issue #4185:
URL:
https://github.com/apache/incubator-dolphinscheduler/issues/4185#issuecomment-742413123
I have solved the problem, but I find it very strange
> Can you provide a complete log, preferably not using pictures
Oh, I've solved this problem, but I find it puzzling, and it goes like this:
Based on the stable version 1.3.3, I added LDAP authentication.In the
"org.apache.dolphinscheduler.api.security.SecurityConfig" this class, I've
added a configuration item (by `@ Value (" ${ldap. Url} ")` way to read the
"application-api.properties" in the configuration file is the Value), as shown
in the figure below



The problem was with this configuration, when I changed the name of the
configuration to `ldap.addr`, the problem was solved.😂😂😂

I am very surprised what is the relationship between the configuration of
`ldap.url` and the Master node, why this configuration causes the Master node
to report an error, and this problem does not appear when I do not click to
execute the task, the user can log in through LDAP normally Authentication,
only when I click on an online task and run it, the Master node will report an
error frantically and log, which makes it difficult for me to understand.
I guess the program treats this configuration as a database connection
string?
---
这个问题我已经解决了,但是对这个问题我很费解,它是这样的
基于1.3.3稳定版本,我增加了基于LDAP认证的功能。在"org.apache.dolphinscheduler.api.security.SecurityConfig"这个类中,我增加了一个配置项(通过`@
Value (" ${ldap. Url} ")`的方式读取"application-api.properties"这个配置文件中的值),如下图所示。
问题就出在这个配置上,当我把这个配置的名称改为`ldap.addr`,问题就解决了。😂😂😂
我很好奇这个配置和Master节点有什么关系,为什么这个配置会导致Master节点报错,而且,这个问题在我不点击执行任务的时候是没有问题的,用户可以正常登陆通过LDAP身份认证,只有当我点击某个在线的任务并运行它,Master节点就会疯狂的报错,输入日志,这让我很费解。。。
我猜想是程序把这个配置当成了一个数据库连接串吗?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]