Grokbase Groups Pig dev July 2010
FAQ
[ https://issues.apache.org/jira/browse/PIG-1495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887851#action_12887851 ]

Richard Ding commented on PIG-1495:
-----------------------------------


Pig trunk now utilizes Hadoop GenericOptionsParser which supports generic options:

{code}
-conf <configuration file> specify a configuration file
-D <property=value> use value for given property
-fs <local|namenode:port> specify a namenode
-jt <local|jobtracker:port> specify a job tracker
-files <comma separated list of files> specify comma separated
files to be copied to the map reduce cluster
-libjars <comma separated list of jars> specify comma separated
jar files to include in the classpath.
-archives <comma separated list of archives> specify comma
separated archives to be unarchived on the compute machines.
{code}

So you can use option -Dmapred.job.queue.name=<queue name>.
Add -q command line option to set queue name for Pig jobs from command line
---------------------------------------------------------------------------

Key: PIG-1495
URL: https://issues.apache.org/jira/browse/PIG-1495
Project: Pig
Issue Type: New Feature
Components: impl
Affects Versions: 0.7.0
Reporter: Russell Jurney
Fix For: 0.8.0

Attachments: set_queue.patch


rjurney$ pig -q default
This sets the mapred.job.queue.name property in the execution engine from the pig properties for MAPRED type jobs.
Patch attached.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 6 of 9 | next ›
Discussion Overview
groupdev @
categoriespig, hadoop
postedJul 12, '10 at 9:45p
activeJul 27, '10 at 12:42a
posts9
users1
websitepig.apache.org

1 user in discussion

Olga Natkovich (JIRA): 9 posts

People

Translate

site design / logo © 2023 Grokbase