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:43:48 UTC

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

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
    Affects Versions: 0.16.0
            Reporter: Luca Telloli


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.


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

Posted by "Luca Telloli (JIRA)" <ji...@apache.org>.
    [ 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.


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

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

Luca Telloli updated HADOOP-2970:
---------------------------------

    Component/s: contrib/hod

> 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
>
> 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.


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

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

Devaraj Das updated HADOOP-2970:
--------------------------------

    Resolution: Fixed
      Assignee: Vinod Kumar Vavilapalli
        Status: Resolved  (was: Patch Available)

I just committed this. Thanks, Vinod!

> 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
>            Assignee: Vinod Kumar Vavilapalli
>             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.


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

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

Luca Telloli updated HADOOP-2970:
---------------------------------

    Status: Patch Available  (was: Open)

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.


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

Posted by "Vinod Kumar Vavilapalli (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-2970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vinod Kumar Vavilapalli updated HADOOP-2970:
--------------------------------------------

    Status: Patch Available  (was: Open)

Submitting the patch.

> 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.


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

Posted by "Vinod Kumar Vavilapalli (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-2970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579357#action_12579357 ] 

Vinod Kumar Vavilapalli commented on HADOOP-2970:
-------------------------------------------------

Luca pointed out the problem and gave the patch. Redirecting the gratuities to him :) Thanks Luca!

> 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
>            Assignee: Vinod Kumar Vavilapalli
>             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.


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

Posted by "Vinod Kumar Vavilapalli (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-2970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577682#action_12577682 ] 

Hadoop QA commented on HADOOP-2970:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
http://issues.apache.org/jira/secure/attachment/12377576/2970.patch.1
against trunk revision 619744.

    @author +1.  The patch does not contain any @author tags.

    tests included -1.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no tests are needed for this patch.

    javadoc +1.  The javadoc tool did not generate any warning messages.

    javac +1.  The applied patch does not generate any new javac compiler warnings.

    release audit +1.  The applied patch does not generate any new release audit warnings.

    findbugs +1.  The patch does not introduce any new Findbugs warnings.

    core tests +1.  The patch passed core unit tests.

    contrib tests +1.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1942/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1942/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1942/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1942/console

This message is automatically generated.

> 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.


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

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-2970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579415#action_12579415 ] 

Hudson commented on HADOOP-2970:
--------------------------------

Integrated in Hadoop-trunk #431 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/431/])

> 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
>            Assignee: Vinod Kumar Vavilapalli
>             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.


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

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

Luca Telloli updated HADOOP-2970:
---------------------------------

    Attachment: 2970.patch

> 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.


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

Posted by "Vinod Kumar Vavilapalli (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-2970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vinod Kumar Vavilapalli updated HADOOP-2970:
--------------------------------------------

    Fix Version/s: 0.17.0
           Status: Open  (was: Patch Available)

Cancelling, to generate another patch, against trunk.

> 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
>
>
> 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.