Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
new Configuration() is called from several static blocks across Hadoop.
This is incredibly inefficient, since each one of those involves primarily XML parsing at a point where the JIT won't be triggered & interpreter mode is essentially forced on the JVM.
The alternate solution would be to offer a Configuration::getDefault() alternative which disallows any modifications.
At the very least, such a method would need to be called from
- org.apache.hadoop.io.nativeio.NativeIO::<clinit>()
- org.apache.hadoop.security.SecurityUtil::<clinit>()
- org.apache.hadoop.yarn.factory.providers.RecordFactoryProvider::<clinit>
Attachments
Attachments
Issue Links
- links to