I am trying to run the storm starter project locally. I am following the instructions from-
https://github.com/apache/storm/tree/master/examples/storm-starter
but when I try to execute the storm jar command, I get
ERROR StatusLogger Invalid URL C:/Users/xyzabc/apache-storm-0.10.0-beta/log4j2/cluster.xml java.net.MalformedURLException: unknown protocol: c
I think it has something to do with the following piece defined in the cluster.xml and worker.xml
<RollingFile name="METRICS"
fileName="${sys:storm.log.dir}/metrics.log"
filePattern="${sys:storm.log.dir}/metrics.log.%i">
so apparently the filename needs to be like
file:///C:/Users/xyzabc/apache-storm-0.10.0-beta/log4j2/cluster.xml
but when I try to do that by setting
<RollingFile name="METRICS"
fileName="file:///${sys:storm.log.dir}/metrics.log"
filePattern="file:///${sys:storm.log.dir}/metrics.log.%i">
I get this error
ERROR Unable to create file file:///C:\Users\xyzabc\apache-storm-0.10.0-beta\logs/metrics.log java.io.IOException: The filename, directory name, or volume label syntax is incorrect
as you can see, it totally messes up the filepath somehow.
is there a way that i can properly render "file:///" in the xml property ?