[
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: [email protected]
For additional commands, e-mail: [email protected]