You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampark.apache.org by "medivh666 (via GitHub)" <gi...@apache.org> on 2023/02/01 03:09:20 UTC

[GitHub] [incubator-streampark] medivh666 opened a new issue, #2279: [Bug] DockerCompose安装没有表结构

medivh666 opened a new issue, #2279:
URL: https://github.com/apache/incubator-streampark/issues/2279

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-streampark/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
   
   
   ### 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
   
   ```log
   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 in
 stantiate [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 be
 an 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
   
   <img width="1328" alt="image" src="https://user-images.githubusercontent.com/103971996/215935736-0a55e754-db3f-4240-8930-f945a022518c.png">
   
   
   ### Are you willing to submit PR?
   
   - [X] 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: issues-unsubscribe@streampark.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-streampark] IxaKylin commented on issue #2279: [Bug] DockerCompose安装没有表结构

Posted by "IxaKylin (via GitHub)" <gi...@apache.org>.
IxaKylin commented on issue #2279:
URL: https://github.com/apache/incubator-streampark/issues/2279#issuecomment-1434381151

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


-- 
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: issues-unsubscribe@streampark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org