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

monasca-docker_thresh container keep restarting. #543

Open
cybercoder opened this issue Nov 8, 2021 · 0 comments
Open

monasca-docker_thresh container keep restarting. #543

cybercoder opened this issue Nov 8, 2021 · 0 comments

Comments

@cybercoder
Copy link

cybercoder commented Nov 8, 2021

Has been deployed using docker-compose in ubuntu 20.04

sudo docker logs -f monasca-docker_thresh_1

Start script: waiting for needed services
/start.sh: 156: python3: not found
/start.sh: 157: python3: not found
Using Thresh Config file /etc/m
onasca/thresh-config.yml. Contents:
grep: /etc/monasca/thresh-config.yml: No such file or directory
Submitting storm topology as local cluster using JAVAOPTS of -XX:MaxRAM=784m -XX:+UseSerialGC -Xss1024k -Dlog4j.configurationFile=/storm/log4j2/cluster.xml
Running: /usr/lib/jvm/java-8-openjdk-amd64/bin/java -client -Ddaemon.name= -Dstorm.options= -Dstorm.home=/apache-storm-1.2.3 -Dstorm.log.dir=/apache-storm-1.2.3/logs -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib -Dstorm.conf.file= -cp /apache-storm-1.2.3/*:/apache-storm-1.2.3/lib/*:/apache-storm-1.2.3/extlib/*:/monasca-thresh.jar:/conf:/apache-storm-1.2.3/bin -XX:MaxRAM=784m -XX:+UseSerialGC -Xss1024k -Dlog4j.configurationFile=/storm/log4j2/cluster.xml -Dstorm.jar=/monasca-thresh.jar -Dstorm.dependency.jars= -Dstorm.dependency.artifacts={} monasca.thresh.ThresholdingEngine /etc/monasca/thresh-config.yml thresh-cluster local
ERROR StatusLogger File not found in file system or classpath: /storm/log4j2/cluster.xml
ERROR StatusLogger Reconfiguration failed: No configuration found for '4d7e1886' at 'null' in 'null'
Exception in thread "main" java.io.FileNotFoundException: /etc/monasca/thresh-config.yml (No such file or directory)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at com.fasterxml.jackson.dataformat.yaml.YAMLFactory.createParser(YAMLFactory.java:294)
	at com.fasterxml.jackson.dataformat.yaml.YAMLFactory.createParser(YAMLFactory.java:14)
	at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:1796)
	at monasca.common.util.config.ConfigurationFactory.build(ConfigurationFactory.java:48)
	at monasca.thresh.ThresholdingEngine.configFor(ThresholdingEngine.java:52)
	at monasca.thresh.ThresholdingEngine.main(ThresholdingEngine.java:80)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant