Description
ISSUE:
hdfs-rbf-site.xml can't be loaded automatically
WHY:
Currently the code is
RBFConfigKeys.java
static {
Configuration.addDefaultResource(HDFS_RBF_SITE_XML);
}
But it will never be executed unless we explicitly load the class.
HOW TO FIX:
Reference to class HdfsConfiguration, make a method
RBFConfigKeys.java
public static void init() { }
and call it in other class.