Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What args should be input when Starting scaleph in IDEA #576

Open
3 tasks done
Sigal0 opened this issue Jul 18, 2023 · 3 comments
Open
3 tasks done

What args should be input when Starting scaleph in IDEA #576

Sigal0 opened this issue Jul 18, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@Sigal0
Copy link

Sigal0 commented Jul 18, 2023

Already searched before asking?

  • I had searched in the issues and found no similar issues.

Scaleph Version or Branch

scaleph version: dev

What happened

When I start Scaleph in IDEA, some error occurs like below, and it started failed.

Error Exception

2023-07-18 09:08:56.273  WARN 29972 [main] o.a.hadoop.metrics2.impl.MetricsConfig   136  行: Cannot locate configuration: tried hadoop-metrics2-s3a-file-system.properties,hadoop-metrics2.properties
2023-07-18 09:08:56.289  INFO 29972 [main] o.a.h.metrics2.impl.MetricsSystemImpl    378  行: Scheduled Metric snapshot period at 10 second(s).
2023-07-18 09:08:56.289  INFO 29972 [main] o.a.h.metrics2.impl.MetricsSystemImpl    191  行: s3a-file-system metrics system started
log4j:WARN No appenders could be found for logger (com.amazonaws.AmazonWebServiceClient).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
2023-07-18 09:08:57.511  INFO 29972 [main] cn.sliew.scaleph.Application             61   行: Started Application in 3.665 seconds (JVM running for 4.595)
2023-07-18 09:08:57.526  INFO 29972 [main] c.s.s.f.f.executor.FetcherExecutor       46   行: 命令行参数: []
2023-07-18 09:08:57.542 ERROR 29972 [main] c.s.s.f.f.executor.FetcherExecutor       52   行: 下载文件异常! 参数: []

cn.sliew.scaleph.file.fetcher.cli.CliArgsException: Missing required options: uri, path
	at cn.sliew.scaleph.file.fetcher.cli.OptionsParser.parse(OptionsParser.java:104)
	at cn.sliew.scaleph.file.fetcher.executor.FetcherExecutor.run(FetcherExecutor.java:47)
	at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:762)
	at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:752)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1295)
	at cn.sliew.scaleph.Application.main(Application.java:28)

Screenshots

No response

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

@Sigal0 Sigal0 added the bug Something isn't working label Jul 18, 2023
@kalencaya
Copy link
Collaborator

@Sigal0
Copy link
Author

Sigal0 commented Jul 18, 2023

https://flowerfine.github.io/scaleph-website/zh/docs/contribute/develop

I have followed the instructions ,but still failed with the same errors. I found there are two same class "cn.sliew.scaleph.Application", one in scaleph-api, another in scaleph-file-fetcher

@kalencaya
Copy link
Collaborator

image

bootstrap cn.sliew.scaleph.Application on scaleph-api module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants