Affects Version/s: 0.11.1
Fix Version/s: None
Pig currently ignores parameters from configuration files added statically to Configuration objects as Configuration.addDefaultResource(filename.xml).
Consider the following scenario -
In a hadoop FileSystem driver for a non-HDFS filesystem you load properties specific to that FileSystem in a static initializer block in the class that extends org.apache.hadoop.fs.Filesystem for your FileSystem like below -
Interfaces like the Hadoop CLI, Hive, Hadoop M/R can find configuration parameters defined in these configuration files as long as they are on the classpath.
However, Pig cannot find parameters from these files, because it ignores configuration files added statically.
Pig should allow users to specify if they would like pig to read parameters from resources loaded statically.
|Status||Patch Available [ 10002 ]||Open [ 1 ]|
|Assignee||Daniel Dai [ daijy ]|
|Status||Open [ 1 ]||Patch Available [ 10002 ]|
|Attachment||PIG-3441.patch_1 [ 12600329 ]|