The thing is a have the log4j.properties in the jar file. The structure of jar file is:
META-INF/MANIFEST.MF
.project
.classpath
WordCount$IntSumReducer.class
WordCount$TokenizerMapper.class
WordCount.class
container-log4j.properties
log4j.properties
And I’m not sure what do you mean by ‘classpath’. Is it client side classpath? Or server-side classpath? hadoop classpath or yarn classpath or just java program classpath?