You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Ian Athanasakis (JIRA)" <ji...@apache.org> on 2008/07/03 19:55:45 UTC

[jira] Created: (PIG-291) hod.param parameters not passed properly

hod.param parameters not passed properly
----------------------------------------

                 Key: PIG-291
                 URL: https://issues.apache.org/jira/browse/PIG-291
             Project: Pig
          Issue Type: Bug
          Components: impl
         Environment: Linux hostname 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
Apache Pig version 0.1.0-dev (r8087) 
Hadoop 0.17.1 Subversion http://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.17 -r 669344
hod --version: 0.17.1
            Reporter: Ian Athanasakis


pig -Dhod.param='-N hodclustername' script.pig

fails with the following error:

2008-07-03 17:53:18,236 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to HOD...
org.apache.pig.backend.executionengine.ExecException: Could not connect to HOD
        at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.doHod(HExecutionEngine.java:428)
        at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:121)
        at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:108)
        at org.apache.pig.impl.PigContext.connect(PigContext.java:177)
        at org.apache.pig.PigServer.<init>(PigServer.java:149)
        at org.apache.pig.tools.grunt.Grunt.<init>(Grunt.java:43)
        at org.apache.pig.Main.main(Main.java:293)
Caused by: org.apache.pig.backend.executionengine.ExecException: org.apache.pig.backend.executionengine.ExecException: Failed to run command hod allocate -d /tmp/PigHod.hostname.thatha.304309240344558 -n 15 -N hodclustername   on server local; return code: 4; error: CRITICAL - qsub Failure : qsub: illegal -N value 
        at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.runCommand(HExecutionEngine.java:541)
        at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.doHod(HExecutionEngine.java:373)
        ... 6 more
Caused by: org.apache.pig.backend.executionengine.ExecException: Failed to run command hod allocate -d /tmp/PigHod.hostname.thatha.304309240344558 -n 15 -N hodclustername   on server local; return code: 4; error: CRITICAL - qsub Failure : qsub: illegal -N value 
        at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.runCommand(HExecutionEngine.java:538)
        ... 7 more

It appears that the problem is in the parsing of hod.param, located in org/apache/pig/backend/hadoop/executionengine/HExecutionEngine.java, in doHod(...).

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


[jira] Updated: (PIG-291) hod.param parameters not passed properly

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

Ian Athanasakis updated PIG-291:
--------------------------------

    Status: Patch Available  (was: Open)

> hod.param parameters not passed properly
> ----------------------------------------
>
>                 Key: PIG-291
>                 URL: https://issues.apache.org/jira/browse/PIG-291
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>         Environment: Linux hostname 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
> Apache Pig version 0.1.0-dev (r8087) 
> Hadoop 0.17.1 Subversion http://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.17 -r 669344
> hod --version: 0.17.1
>            Reporter: Ian Athanasakis
>         Attachments: pig-291.diff
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> pig -Dhod.param='-N hodclustername' script.pig
> fails with the following error:
> 2008-07-03 17:53:18,236 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to HOD...
> org.apache.pig.backend.executionengine.ExecException: Could not connect to HOD
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.doHod(HExecutionEngine.java:428)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:121)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:108)
>         at org.apache.pig.impl.PigContext.connect(PigContext.java:177)
>         at org.apache.pig.PigServer.<init>(PigServer.java:149)
>         at org.apache.pig.tools.grunt.Grunt.<init>(Grunt.java:43)
>         at org.apache.pig.Main.main(Main.java:293)
> Caused by: org.apache.pig.backend.executionengine.ExecException: org.apache.pig.backend.executionengine.ExecException: Failed to run command hod allocate -d /tmp/PigHod.hostname.thatha.304309240344558 -n 15 -N hodclustername   on server local; return code: 4; error: CRITICAL - qsub Failure : qsub: illegal -N value 
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.runCommand(HExecutionEngine.java:541)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.doHod(HExecutionEngine.java:373)
>         ... 6 more
> Caused by: org.apache.pig.backend.executionengine.ExecException: Failed to run command hod allocate -d /tmp/PigHod.hostname.thatha.304309240344558 -n 15 -N hodclustername   on server local; return code: 4; error: CRITICAL - qsub Failure : qsub: illegal -N value 
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.runCommand(HExecutionEngine.java:538)
>         ... 7 more
> It appears that the problem is in the parsing of hod.param, located in org/apache/pig/backend/hadoop/executionengine/HExecutionEngine.java, in doHod(...).

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


[jira] Updated: (PIG-291) hod.param parameters not passed properly

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

Olga Natkovich updated PIG-291:
-------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I have tested and committed the patch. Thanks Ian for contributing!

> hod.param parameters not passed properly
> ----------------------------------------
>
>                 Key: PIG-291
>                 URL: https://issues.apache.org/jira/browse/PIG-291
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>         Environment: Linux hostname 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
> Apache Pig version 0.1.0-dev (r8087) 
> Hadoop 0.17.1 Subversion http://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.17 -r 669344
> hod --version: 0.17.1
>            Reporter: Ian Athanasakis
>         Attachments: pig-291.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> pig -Dhod.param='-N hodclustername' script.pig
> fails with the following error:
> 2008-07-03 17:53:18,236 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to HOD...
> org.apache.pig.backend.executionengine.ExecException: Could not connect to HOD
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.doHod(HExecutionEngine.java:428)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:121)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:108)
>         at org.apache.pig.impl.PigContext.connect(PigContext.java:177)
>         at org.apache.pig.PigServer.<init>(PigServer.java:149)
>         at org.apache.pig.tools.grunt.Grunt.<init>(Grunt.java:43)
>         at org.apache.pig.Main.main(Main.java:293)
> Caused by: org.apache.pig.backend.executionengine.ExecException: org.apache.pig.backend.executionengine.ExecException: Failed to run command hod allocate -d /tmp/PigHod.hostname.thatha.304309240344558 -n 15 -N hodclustername   on server local; return code: 4; error: CRITICAL - qsub Failure : qsub: illegal -N value 
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.runCommand(HExecutionEngine.java:541)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.doHod(HExecutionEngine.java:373)
>         ... 6 more
> Caused by: org.apache.pig.backend.executionengine.ExecException: Failed to run command hod allocate -d /tmp/PigHod.hostname.thatha.304309240344558 -n 15 -N hodclustername   on server local; return code: 4; error: CRITICAL - qsub Failure : qsub: illegal -N value 
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.runCommand(HExecutionEngine.java:538)
>         ... 7 more
> It appears that the problem is in the parsing of hod.param, located in org/apache/pig/backend/hadoop/executionengine/HExecutionEngine.java, in doHod(...).

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


[jira] Updated: (PIG-291) hod.param parameters not passed properly

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

Ian Athanasakis updated PIG-291:
--------------------------------

    Status: Open  (was: Patch Available)

> hod.param parameters not passed properly
> ----------------------------------------
>
>                 Key: PIG-291
>                 URL: https://issues.apache.org/jira/browse/PIG-291
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>         Environment: Linux hostname 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
> Apache Pig version 0.1.0-dev (r8087) 
> Hadoop 0.17.1 Subversion http://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.17 -r 669344
> hod --version: 0.17.1
>            Reporter: Ian Athanasakis
>         Attachments: pig-291.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> pig -Dhod.param='-N hodclustername' script.pig
> fails with the following error:
> 2008-07-03 17:53:18,236 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to HOD...
> org.apache.pig.backend.executionengine.ExecException: Could not connect to HOD
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.doHod(HExecutionEngine.java:428)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:121)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:108)
>         at org.apache.pig.impl.PigContext.connect(PigContext.java:177)
>         at org.apache.pig.PigServer.<init>(PigServer.java:149)
>         at org.apache.pig.tools.grunt.Grunt.<init>(Grunt.java:43)
>         at org.apache.pig.Main.main(Main.java:293)
> Caused by: org.apache.pig.backend.executionengine.ExecException: org.apache.pig.backend.executionengine.ExecException: Failed to run command hod allocate -d /tmp/PigHod.hostname.thatha.304309240344558 -n 15 -N hodclustername   on server local; return code: 4; error: CRITICAL - qsub Failure : qsub: illegal -N value 
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.runCommand(HExecutionEngine.java:541)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.doHod(HExecutionEngine.java:373)
>         ... 6 more
> Caused by: org.apache.pig.backend.executionengine.ExecException: Failed to run command hod allocate -d /tmp/PigHod.hostname.thatha.304309240344558 -n 15 -N hodclustername   on server local; return code: 4; error: CRITICAL - qsub Failure : qsub: illegal -N value 
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.runCommand(HExecutionEngine.java:538)
>         ... 7 more
> It appears that the problem is in the parsing of hod.param, located in org/apache/pig/backend/hadoop/executionengine/HExecutionEngine.java, in doHod(...).

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


[jira] Updated: (PIG-291) hod.param parameters not passed properly

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

Ian Athanasakis updated PIG-291:
--------------------------------

    Status: Patch Available  (was: Open)

> hod.param parameters not passed properly
> ----------------------------------------
>
>                 Key: PIG-291
>                 URL: https://issues.apache.org/jira/browse/PIG-291
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>         Environment: Linux hostname 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
> Apache Pig version 0.1.0-dev (r8087) 
> Hadoop 0.17.1 Subversion http://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.17 -r 669344
> hod --version: 0.17.1
>            Reporter: Ian Athanasakis
>         Attachments: pig-291.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> pig -Dhod.param='-N hodclustername' script.pig
> fails with the following error:
> 2008-07-03 17:53:18,236 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to HOD...
> org.apache.pig.backend.executionengine.ExecException: Could not connect to HOD
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.doHod(HExecutionEngine.java:428)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:121)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:108)
>         at org.apache.pig.impl.PigContext.connect(PigContext.java:177)
>         at org.apache.pig.PigServer.<init>(PigServer.java:149)
>         at org.apache.pig.tools.grunt.Grunt.<init>(Grunt.java:43)
>         at org.apache.pig.Main.main(Main.java:293)
> Caused by: org.apache.pig.backend.executionengine.ExecException: org.apache.pig.backend.executionengine.ExecException: Failed to run command hod allocate -d /tmp/PigHod.hostname.thatha.304309240344558 -n 15 -N hodclustername   on server local; return code: 4; error: CRITICAL - qsub Failure : qsub: illegal -N value 
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.runCommand(HExecutionEngine.java:541)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.doHod(HExecutionEngine.java:373)
>         ... 6 more
> Caused by: org.apache.pig.backend.executionengine.ExecException: Failed to run command hod allocate -d /tmp/PigHod.hostname.thatha.304309240344558 -n 15 -N hodclustername   on server local; return code: 4; error: CRITICAL - qsub Failure : qsub: illegal -N value 
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.runCommand(HExecutionEngine.java:538)
>         ... 7 more
> It appears that the problem is in the parsing of hod.param, located in org/apache/pig/backend/hadoop/executionengine/HExecutionEngine.java, in doHod(...).

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


[jira] Updated: (PIG-291) hod.param parameters not passed properly

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

Ian Athanasakis updated PIG-291:
--------------------------------

    Attachment:     (was: pig-291.diff)

> hod.param parameters not passed properly
> ----------------------------------------
>
>                 Key: PIG-291
>                 URL: https://issues.apache.org/jira/browse/PIG-291
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>         Environment: Linux hostname 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
> Apache Pig version 0.1.0-dev (r8087) 
> Hadoop 0.17.1 Subversion http://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.17 -r 669344
> hod --version: 0.17.1
>            Reporter: Ian Athanasakis
>         Attachments: pig-291.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> pig -Dhod.param='-N hodclustername' script.pig
> fails with the following error:
> 2008-07-03 17:53:18,236 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to HOD...
> org.apache.pig.backend.executionengine.ExecException: Could not connect to HOD
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.doHod(HExecutionEngine.java:428)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:121)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:108)
>         at org.apache.pig.impl.PigContext.connect(PigContext.java:177)
>         at org.apache.pig.PigServer.<init>(PigServer.java:149)
>         at org.apache.pig.tools.grunt.Grunt.<init>(Grunt.java:43)
>         at org.apache.pig.Main.main(Main.java:293)
> Caused by: org.apache.pig.backend.executionengine.ExecException: org.apache.pig.backend.executionengine.ExecException: Failed to run command hod allocate -d /tmp/PigHod.hostname.thatha.304309240344558 -n 15 -N hodclustername   on server local; return code: 4; error: CRITICAL - qsub Failure : qsub: illegal -N value 
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.runCommand(HExecutionEngine.java:541)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.doHod(HExecutionEngine.java:373)
>         ... 6 more
> Caused by: org.apache.pig.backend.executionengine.ExecException: Failed to run command hod allocate -d /tmp/PigHod.hostname.thatha.304309240344558 -n 15 -N hodclustername   on server local; return code: 4; error: CRITICAL - qsub Failure : qsub: illegal -N value 
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.runCommand(HExecutionEngine.java:538)
>         ... 7 more
> It appears that the problem is in the parsing of hod.param, located in org/apache/pig/backend/hadoop/executionengine/HExecutionEngine.java, in doHod(...).

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


[jira] Updated: (PIG-291) hod.param parameters not passed properly

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

Ian Athanasakis updated PIG-291:
--------------------------------

    Attachment: pig-291.patch

> hod.param parameters not passed properly
> ----------------------------------------
>
>                 Key: PIG-291
>                 URL: https://issues.apache.org/jira/browse/PIG-291
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>         Environment: Linux hostname 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
> Apache Pig version 0.1.0-dev (r8087) 
> Hadoop 0.17.1 Subversion http://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.17 -r 669344
> hod --version: 0.17.1
>            Reporter: Ian Athanasakis
>         Attachments: pig-291.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> pig -Dhod.param='-N hodclustername' script.pig
> fails with the following error:
> 2008-07-03 17:53:18,236 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to HOD...
> org.apache.pig.backend.executionengine.ExecException: Could not connect to HOD
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.doHod(HExecutionEngine.java:428)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:121)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:108)
>         at org.apache.pig.impl.PigContext.connect(PigContext.java:177)
>         at org.apache.pig.PigServer.<init>(PigServer.java:149)
>         at org.apache.pig.tools.grunt.Grunt.<init>(Grunt.java:43)
>         at org.apache.pig.Main.main(Main.java:293)
> Caused by: org.apache.pig.backend.executionengine.ExecException: org.apache.pig.backend.executionengine.ExecException: Failed to run command hod allocate -d /tmp/PigHod.hostname.thatha.304309240344558 -n 15 -N hodclustername   on server local; return code: 4; error: CRITICAL - qsub Failure : qsub: illegal -N value 
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.runCommand(HExecutionEngine.java:541)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.doHod(HExecutionEngine.java:373)
>         ... 6 more
> Caused by: org.apache.pig.backend.executionengine.ExecException: Failed to run command hod allocate -d /tmp/PigHod.hostname.thatha.304309240344558 -n 15 -N hodclustername   on server local; return code: 4; error: CRITICAL - qsub Failure : qsub: illegal -N value 
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.runCommand(HExecutionEngine.java:538)
>         ... 7 more
> It appears that the problem is in the parsing of hod.param, located in org/apache/pig/backend/hadoop/executionengine/HExecutionEngine.java, in doHod(...).

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


[jira] Updated: (PIG-291) hod.param parameters not passed properly

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

Ian Athanasakis updated PIG-291:
--------------------------------

    Attachment: pig-291.diff

> hod.param parameters not passed properly
> ----------------------------------------
>
>                 Key: PIG-291
>                 URL: https://issues.apache.org/jira/browse/PIG-291
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>         Environment: Linux hostname 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
> Apache Pig version 0.1.0-dev (r8087) 
> Hadoop 0.17.1 Subversion http://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.17 -r 669344
> hod --version: 0.17.1
>            Reporter: Ian Athanasakis
>         Attachments: pig-291.diff
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> pig -Dhod.param='-N hodclustername' script.pig
> fails with the following error:
> 2008-07-03 17:53:18,236 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to HOD...
> org.apache.pig.backend.executionengine.ExecException: Could not connect to HOD
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.doHod(HExecutionEngine.java:428)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:121)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:108)
>         at org.apache.pig.impl.PigContext.connect(PigContext.java:177)
>         at org.apache.pig.PigServer.<init>(PigServer.java:149)
>         at org.apache.pig.tools.grunt.Grunt.<init>(Grunt.java:43)
>         at org.apache.pig.Main.main(Main.java:293)
> Caused by: org.apache.pig.backend.executionengine.ExecException: org.apache.pig.backend.executionengine.ExecException: Failed to run command hod allocate -d /tmp/PigHod.hostname.thatha.304309240344558 -n 15 -N hodclustername   on server local; return code: 4; error: CRITICAL - qsub Failure : qsub: illegal -N value 
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.runCommand(HExecutionEngine.java:541)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.doHod(HExecutionEngine.java:373)
>         ... 6 more
> Caused by: org.apache.pig.backend.executionengine.ExecException: Failed to run command hod allocate -d /tmp/PigHod.hostname.thatha.304309240344558 -n 15 -N hodclustername   on server local; return code: 4; error: CRITICAL - qsub Failure : qsub: illegal -N value 
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.runCommand(HExecutionEngine.java:538)
>         ... 7 more
> It appears that the problem is in the parsing of hod.param, located in org/apache/pig/backend/hadoop/executionengine/HExecutionEngine.java, in doHod(...).

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