You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Olga Natkovich (JIRA)" <ji...@apache.org> on 2011/01/06 02:02:45 UTC

[jira] Created: (PIG-1789) document pig properties

document pig properties
-----------------------

                 Key: PIG-1789
                 URL: https://issues.apache.org/jira/browse/PIG-1789
             Project: Pig
          Issue Type: Improvement
            Reporter: Olga Natkovich
            Assignee: Olga Natkovich
             Fix For: 0.9.0


We need to document 2 things:

(1) How pig get hold of properties and what is the precedence
(2) What properties pig supports

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


[jira] [Resolved] (PIG-1789) document pig properties

Posted by "Corinne Chandel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Corinne Chandel resolved PIG-1789.
----------------------------------

    Resolution: Fixed

Docs updated. See PIG-1772 and patch pig-1772-beta2-1.patch

> document pig properties
> -----------------------
>
>                 Key: PIG-1789
>                 URL: https://issues.apache.org/jira/browse/PIG-1789
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>            Assignee: Corinne Chandel
>             Fix For: 0.9.0
>
>
> We need to document 2 things:
> (1) How pig get hold of properties and what is the precedence
> (2) What properties pig supports

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (PIG-1789) document pig properties

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich reassigned PIG-1789:
-----------------------------------

    Assignee: Corinne Chandel  (was: Olga Natkovich)

> document pig properties
> -----------------------
>
>                 Key: PIG-1789
>                 URL: https://issues.apache.org/jira/browse/PIG-1789
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>            Assignee: Corinne Chandel
>             Fix For: 0.9.0
>
>
> We need to document 2 things:
> (1) How pig get hold of properties and what is the precedence
> (2) What properties pig supports

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PIG-1789) document pig properties

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich updated PIG-1789:
--------------------------------


We actually need to document 2 things - both going into the Getting Started section (somewhere around Running Pig)

The first one is command line options. Corinne, you can get this information just by running pig - help

The second is passing properties to Pig which I will post in a separate comment

> document pig properties
> -----------------------
>
>                 Key: PIG-1789
>                 URL: https://issues.apache.org/jira/browse/PIG-1789
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>            Assignee: Olga Natkovich
>             Fix For: 0.9.0
>
>
> We need to document 2 things:
> (1) How pig get hold of properties and what is the precedence
> (2) What properties pig supports

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PIG-1789) document pig properties

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich updated PIG-1789:
--------------------------------


Additional information regarding properties:

Pig supports a number of java properties to help customize its behavior. None of the properties a required. For the list of supported properties you can run pig -help properties.
 
Pig supports several mechanism to specify properties:
 
- via -D option on the command line (pig -Dpig.tmpfilecompression=true)
- by supplying pig.properties on the classpath (Put the directory that contains pig.properties file into the claspath)
- by providing properties file via -P command line option (pig -P mypig.properties)
 
Note that properties file uses standard Java property file format.  The following precedence order is supported: pig.properties -> system properties -> -P property files. This means that if the same property is provided from command line via -D and in the property file specified with -P, the property from the file will take the precedence.
 
In addition to the pig properties, the same mechanism can be used to specify hadoop properties. Additionally, hadoop properties can be specified by placing directory containing hadoop-site.xml file onto the classpath. Hadoop properties are not interpreted by Pig but passed directly to Hadoop. Any hadoop property can be passed this way.
 
All properties that Pig collects (including Hadoop ones) are available to any UDF via the UDFContext. To get access to the properties, you can call getJobConf method.


> document pig properties
> -----------------------
>
>                 Key: PIG-1789
>                 URL: https://issues.apache.org/jira/browse/PIG-1789
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>            Assignee: Olga Natkovich
>             Fix For: 0.9.0
>
>
> We need to document 2 things:
> (1) How pig get hold of properties and what is the precedence
> (2) What properties pig supports

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PIG-1789) document pig properties

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich updated PIG-1789:
--------------------------------


Looks like we already have properties section under Getting started - just need to merge the information in

> document pig properties
> -----------------------
>
>                 Key: PIG-1789
>                 URL: https://issues.apache.org/jira/browse/PIG-1789
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>            Assignee: Corinne Chandel
>             Fix For: 0.9.0
>
>
> We need to document 2 things:
> (1) How pig get hold of properties and what is the precedence
> (2) What properties pig supports

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira