Dannila commented on PR #3894:
URL: https://github.com/apache/seatunnel/pull/3894#issuecomment-1651373009
Please help me to see if there is something wrong with my configuration
file, the configuration file is as follows:
```
{
env {
execution.parallelism = 1
job.mode = "BATCH"
}
source {
Maxcompute {
parallelism = 3
accessId = "LxxxxxxxxxxxxxxxxxxxxxxxK"
accesskey = "9xxxxxxxxxxxxxxxxxxxxxxxj"
endpoint = "http://service.cn-shanghai.maxcompute.aliyun.com/api"
project = "maxcompute_test_1"
table_name = "ods_xxxxxxxxx_month_dailyupdate"
}
}
sink {
Jdbc {
url = "jdbc:mysql://172.xx.x.xxx:xxxx"
driver = "com.mysql.cj.jdbc.Driver"
connection_check_timeout_sec = 100
user = "root"
password = "xxxxxxx"
query = "insert into `ods`.`ods_repo_month_dailyupdate_maxc`
(repo_id, repo_name, stars, commits, pushes, pr_creators, pr_reviews,
pr_reviewers, total_issues, forks, month) values (?,?,?,?,?,?,?,?,?,?,?,?);"
}
}
}
```
My execution command is as follows:
```
${SEATUNNEL_HOME}/bin/start-seatunnel-flink-15-connector-v2.sh --config
/opt/apache-seatunnel-2.3.2/script/ods_repo.conf -e run
```
But the task error log is as follows:
```
Caused by:
org.apache.flink.runtime.resourcemanager.exceptions.ResourceManagerException:
Cannot initialize resource provider.
at
org.apache.flink.runtime.resourcemanager.active.ActiveResourceManager.initialize(ActiveResourceManager.java:158)
~[flink-dist-1.15.3.jar:1.15.3]
at
org.apache.flink.runtime.resourcemanager.ResourceManager.startResourceManagerServices(ResourceManager.java:241)
~[flink-dist-1.15.3.jar:1.15.3]
at
org.apache.flink.runtime.resourcemanager.ResourceManager.onStart(ResourceManager.java:218)
~[flink-dist-1.15.3.jar:1.15.3]
... 24 more
Caused by:
org.apache.flink.runtime.resourcemanager.exceptions.ResourceManagerException:
Could not start resource manager client.
at
org.apache.flink.yarn.YarnResourceManagerDriver.initializeInternal(YarnResourceManagerDriver.java:191)
~[flink-dist-1.15.3.jar:1.15.3]
at
org.apache.flink.runtime.resourcemanager.active.AbstractResourceManagerDriver.initialize(AbstractResourceManagerDriver.java:81)
~[flink-dist-1.15.3.jar:1.15.3]
at
org.apache.flink.runtime.resourcemanager.active.ActiveResourceManager.initialize(ActiveResourceManager.java:156)
~[flink-dist-1.15.3.jar:1.15.3]
at
org.apache.flink.runtime.resourcemanager.ResourceManager.startResourceManagerServices(ResourceManager.java:241)
~[flink-dist-1.15.3.jar:1.15.3]
at
org.apache.flink.runtime.resourcemanager.ResourceManager.onStart(ResourceManager.java:218)
~[flink-dist-1.15.3.jar:1.15.3]
... 24 more
Caused by: org.apache.hadoop.yarn.exceptions.YarnRuntimeException:
java.lang.reflect.InvocationTargetException
at
org.apache.hadoop.yarn.factories.impl.pb.RpcClientFactoryPBImpl.getClient(RpcClientFactoryPBImpl.java:81)
~[seatunnel-hadoop3-3.1.4-uber.jar:2.3.2]
...
```
--
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]