PIG – general stuff

By | November 15, 2017
  • Adding jar

    REGISTER /local/path/to/myjar_name.jar
  • Set queue name

    Specify below in the pig script
    SET mapreduce.job.queuename 'my_queuename';
    
    (or) specify while running the PIG script
    $ pig -Dmapreduce.job.queuename=my_queuename -f my_script.pig
    
  • Set job name

    Specify below in the pig script
    SET mapreduce.job.name 'Testing HCatalog';
    (or) specify while running the PIG script
    $ pig -Dmapreduce.job.name="Testing HCatalog" -f my_script.pig
    
Category: Pig

Leave a Reply

Your email address will not be published. Required fields are marked *