apache / incubator-streampark

Make stream processing easier! Easy-to-use streaming application development framework and operation platform.
https://streampark.apache.org/
Apache License 2.0
3.86k stars 996 forks source link

[Bug] Install By docker compose miss table structure #2279

Open medivh666 opened 1 year ago

medivh666 commented 1 year ago

Search before asking

What happened

研究了三天,问题很多 1,按以下文档安装,基于已有的mysql, 那个.env文件下载不存在。使用了h2中的.env配置的。然后报异常提示表不存在,现在主要看这个问题。 https://streampark.apache.org/zh-CN/docs/user-guide/docker-deployment

2,h2方式安装后 flink任务启动不了。一直在init阶段然后就报了资源不足。但是我独立安装的flink就能瞬间启动。 3,安装后里面默认的演示示例无法运行。

StreamPark Version

2.0

Java Version

No response

Flink Version

1.16

Scala Version of Flink

1.12

Error Exception

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2023-02-01 11:01:18 | ERROR | main | org.springframework.boot.SpringApplication:824] Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webMvcObjectMapperConfigurer' defined in class path resource [springfox/documentation/spring/web/SpringfoxWebMvcConfiguration.class]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authorizationAttributeSourceAdvisor' defined in class path resource [org/apache/streampark/console/system/authentication/ShiroConfig.class]: Unsatisfied dependency expressed through method 'authorizationAttributeSourceAdvisor' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityManager' defined in class path resource [org/apache/streampark/console/system/authentication/ShiroConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.shiro.mgt.SecurityManager]: Factory method 'securityManager' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'shiroRealm': Unsatisfied dependency expressed through field 'userService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userServiceImpl': Unsatisfied dependency expressed through field 'memberService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'memberServiceImpl': Unsatisfied dependency expressed through field 'teamService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'teamServiceImpl': Unsatisfied dependency expressed through field 'applicationService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'applicationServiceImpl': Unsatisfied dependency expressed through field 'k8SFlinkTrackMonitor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'registerFlinkK8sWatcher' defined in class path resource [org/apache/streampark/console/core/task/FlinkK8sWatcherWrapper.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.streampark.flink.kubernetes.FlinkK8sWatcher]: Factory method 'registerFlinkK8sWatcher' threw exception; nested exception is org.springframework.jdbc.BadSqlGrammarException: 
### Error querying database.  Cause: java.sql.SQLSyntaxErrorException: Table 'streampark.t_flink_app' doesn't exist
### The error may exist in org/apache/streampark/console/core/mapper/ApplicationMapper.java (best guess)

Screenshots

image

Are you willing to submit PR?

Code of Conduct

IxaKylin commented 1 year ago

说英文, 不说英文要被劝退的