hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pradeep Kamath (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-236) properties specified on the command line are ignored
Date Mon, 12 May 2008 22:35:55 GMT

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

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

    Attachment: pig-236.patch

The issue with the earlier patch was that the following code was moved up only into the non-HOD
case in the "if-else"
{code}
configuration = ConfigurationUtil.toConfiguration(properties);
{code}

Now this call is made again after the if-else in the snippet below - the comment
explains the code in the snippet:
{code}

        ds = new HDataStorage(properties);
                
        // The above HDataStorage constructor sets DEFAULT_REPLICATION_FACTOR_KEY in properties.
        // So we need to reconstruct the configuration object for the non HOD case
        // In the HOD case, this is the first time the configuration object will be created
        configuration = ConfigurationUtil.toConfiguration(properties);	

{code} 


> 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
>
>         Attachments: pig-236.patch
>
>
> 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.


Mime
View raw message