dairui2 opened a new issue, #17098:
URL: https://github.com/apache/dolphinscheduler/issues/17098

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   1. dolphinscheduler/tools/bin/upgrade-schema.sh' returned 1. Java 
HotSpot(TM) 64-Bit Server VM warning: Cannot open file gc.log due to Permission 
denied
   
   2. Error creating bean with name 'dolphinSchedulerManager' defined in URL 
[jar:file:/usr/hdp/3.3.2.0-011/dolphinscheduler/tools/libs/dolphinscheduler-tools-3.2.2.jar!/org/apache/dolphinscheduler/tools/datasource/DolphinSchedulerManager.class]:
 Unsatisfied dependency expressed through constructor parameter 0; nested 
exception is org.springframework.beans.factory.UnsatisfiedDependencyException: 
Error creating bean with name 'v130DolphinSchedulerUpgrader': Unsatisfied 
dependency expressed through field 'dataSource'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'dataSource' defined in class path resource 
[org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]:
 Bean instantiation via factory method failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Failed to instantiate 
[com.zaxxer.hikari.HikariDataSource]: Factory method 'dataSource' threw 
exception; nested exception
  is java.lang.IllegalStateException: Cannot load driver class: 
com.mysql.cj.jdbc.Driver
   
   ### What you expected to happen
   
   dolphinscheduler-master-server-JD3.out 2>&1 < /dev/null &
   End start master-server.
   
   ### How to reproduce
   
   - Java 1.8.0_111 on HDP
   - DolphinScheduler v3.2.2
   - mysql 5.7.44-log
   - mysql-connector-java-8.0.28.jar(The mysql driver exists in all four 
folders: alert-server/libs, api-server/libs,  master-server/libs and  
worker-server/libs)
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.2.x
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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