You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Luca Telloli (JIRA)" <ji...@apache.org> on 2008/03/07 13:47:47 UTC

[jira] Issue Comment Edited: (HADOOP-2970) Wrong class definition for hodlib/Hod/hod.py for Python < 2.5.1

    [ https://issues.apache.org/jira/browse/HADOOP-2970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12576167#action_12576167 ] 

tuka edited comment on HADOOP-2970 at 3/7/08 4:47 AM:
--------------------------------------------------------------

I simply removed () from the class declaration. Patch attached, but as it's not against the svn I'm not sure it works right away. :(

      was (Author: tuka):
    I simply removed () from the class declaration. Patch attached
  
> Wrong class definition for hodlib/Hod/hod.py for Python < 2.5.1
> ---------------------------------------------------------------
>
>                 Key: HADOOP-2970
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2970
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hod
>    Affects Versions: 0.16.0
>            Reporter: Luca Telloli
>         Attachments: 2970.patch
>
>
> Running HOD with python 2.5 (<2.5.1) leads to the following error: 
> Traceback (most recent call last):
>   File "hod", line 47, in ?
>     from hodlib.Hod.hod import hodRunner
>   File "/mnt/scratch/grid/hod/hod-trunk-421/hodlib/Hod/hod.py", line 488
>     class hodHelp():
>                   ^
> SyntaxError: invalid syntax

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