[ 
https://issues.apache.org/jira/browse/PIG-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pradeep Kamath updated PIG-236:
-------------------------------

        Fix Version/s: 0.1.0
    Affects Version/s: 0.0.0
               Status: Patch Available  (was: In Progress)

In the code, there were several changes made:
1) In Main the earlier code was setting JOBTRACKER_LOCATION prematurely to 
"local" in the properties - this has been removed since this should be 
determined from hadoop-site.xml and then overriden by pig.properties - see the 
3) below

2) Changed PropertiesUtil.java to also include properties from System including 
command line overrides

3) In HEexecutionEngine.java, for the non HOD case, the earlier code was only 
reading "properties" object (built from pig.properties/.pigrc and 
System.getProperties() which includes command line overrides). Now it first 
reads hadoop-site.xml and then adds on (over-writing existing keys) properties 
from the "properties" object. Towards this also added a utility function in 
ConfigurationUtil.java


> properties specified on the command line are ignored
> ----------------------------------------------------
>
>                 Key: PIG-236
>                 URL: https://issues.apache.org/jira/browse/PIG-236
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.0.0
>            Reporter: Olga Natkovich
>            Assignee: Pradeep Kamath
>             Fix For: 0.1.0
>
>
> Looks like code in src/org/apache/pig/impl/util/PropertiesUtil.java does not 
> take system properties into account.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to