DTStack / DTStack/chunjun

[bug][local doc] 本地运行没有日志

Aperta
#1,503 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
Java
Stelle
4.1k
Fork
1.7k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Search before asking

- [X] I had searched in the [issues](https://github.com/DTStack/chunjun/issues) and found no similar question.

- [X] I had googled my question but i didn't get any help.

- [X] I had read the documentation: [ChunJun doc](https://dtstack.github.io/chunjun) but it didn't help me.

### Description

下载的包编译完之后在根目录 {chunjun_home} 下执行
```
sh bin/chunjun-local.sh -job chunjun-examples/json/stream/stream.json
```
结果报错:
```
Reference site: https://dtstack.github.io/chunjun

chunjun is starting ...
CHUNJUN_HOME is auto set /Users/xiehang/Desktop/git-project/chunjun/chunjun-dist
FLINK_HOME is empty!
HADOOP_HOME is empty!

start command: /Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/bin/java -cp /Users/xiehang/Desktop/git-project/chunjun/chunjun-dist/../lib/chunjun-clients.jar:/Users/xiehang/Desktop/git-project/chunjun/chunjun-dist/../lib/* com.dtstack.chunjun.client.Launcher -job chunjun-examples/json/stream/stream.json -mode local -jobType sync -chunjunDistDir /Users/xiehang/Desktop/git-project/chunjun/chunjun-dist

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
```
请问下如何解决上述问题。
还有我看官方指导视频,他是在 chunjun-dist 内执行 `sh bin/chunjun-local.sh -job chunjun-examples/json/stream/stream.json
` 但是我这个目录下并没有 bin 包
```
chunjun-core.jar connector ddl-plugins dirty-data-collector docker-build formats metrics restore-plugins
```

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start with bin/chunjun-local.sh, the chunjun-dist directory layout, and the local launch command shown in the report. Reproduce the run and inspect how the distribution assembles its Java classpath and logging dependencies; done means the documented local-run location and expected logging behavior match the packaged files.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java, shell
Ambito
build-system, documentation
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.