Affects Version/s: None
Fix Version/s: 4.3.0
We noticed that setting of job sharelib was slow and one prime reason was lot of thread was blocked on "java.util.zip.ZipFile.getEntry"
<0x00000005c0afda68> (a java.util.jar.JarFile): 0 Thread(s) sleeping, 178 Thread(s) waiting, 1 Thread(s) locking
There are lot of places we do new Configuration()/new jobConf() unnecessarily. This can be easily removed to enhance performance.
Configuration defaultConf = new Configuration(); is called for every file we add to classpath.
sharelib setup also calls new Configuration(), which is not needed.
3.CoordActionInputCheckXCommand.checkPath also creates jobConf every time.