You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Akira Ajisaka (Jira)" <ji...@apache.org> on 2021/02/22 06:10:00 UTC

[jira] [Commented] (MAPREDUCE-7323) Support Python 3 in job_history_summary.py

    [ https://issues.apache.org/jira/browse/MAPREDUCE-7323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17288191#comment-17288191 ] 

Akira Ajisaka commented on MAPREDUCE-7323:
------------------------------------------

I think the script is written for MRv1. Therefore it can be removed.

> Support Python 3 in job_history_summary.py
> ------------------------------------------
>
>                 Key: MAPREDUCE-7323
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7323
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Akira Ajisaka
>            Assignee: Akira Ajisaka
>            Priority: Major
>
> Fix the following syntax error in Python 3:
> {noformat}
> aajisaka@b23b6a126ee7:~/hadoop$ python3 hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/terasort/job_history_summary.py
>   File "hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/terasort/job_history_summary.py", line 73
>     print "Name reduce-output-bytes shuffle-finish reduce-finish"
>           ^
> SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Name reduce-output-bytes shuffle-finish reduce-finish")?
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org