You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2016/01/19 02:18:39 UTC

[jira] [Updated] (PIG-4763) Insufficient check for the number of arguments in runpigmix.pl

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

Rohini Palaniswamy updated PIG-4763:
------------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 0.16.0
           Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks for the patch [~sekikn]

> Insufficient check for the number of arguments in runpigmix.pl
> --------------------------------------------------------------
>
>                 Key: PIG-4763
>                 URL: https://issues.apache.org/jira/browse/PIG-4763
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Kengo Seki
>            Assignee: Kengo Seki
>            Priority: Trivial
>             Fix For: 0.16.0
>
>         Attachments: PIG-4763.1.patch, PIG-4763.2.patch
>
>
> runpigmix.pl first checks the number of arguments as follows:
> {code}
>   3 if(scalar(@ARGV) < 6 )
>   4 {
>   5     print STDERR "Usage: $0 <pig_home> <pig_bin> <pigmix_jar> <hadoop_home> <hadoop_bin> <pig mix scripts dir> <hdfs_root> <pigmix_output> [parallel] [numruns] [runmapreduce] [cleanup_after_test]\n";
>   6     exit(-1);
>   7 }
> {code}
> but the number of the required parameters is 8, so this check seems insufficient.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)