I am submitting java jar using spark-submit to spark standalone cluster manager. But I am not able to provide custom log4j.xml file to it. If i used --files option then i need to copy that log4j file to all machines at that same position or if I give it using hdfs:// path then it is not taking that file as log4j and switch to default log4j file.
I also used -Dlog4j.configuration with both local and hdfs path but same issue is happening as using --files.
Please help me if someone know the solution
Thanks in advance.