[
https://issues.apache.org/jira/browse/HADOOP-2970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vinod Kumar Vavilapalli updated HADOOP-2970:
--------------------------------------------
Attachment: 2970.patch.1
Attaching patch against svn.
Tested the error behavior, with Python 2.4.4. Patch addresses the issue.
For versions still down, like Python 2.3.4, we have many further problems,
which we are not interested in fixing.
@Luca : Yes, patches uploaded should be against trunk. Thanks!
> 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
> Fix For: 0.17.0
>
> Attachments: 2970.patch, 2970.patch.1
>
>
> 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.