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 05:19:00 UTC

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

Akira Ajisaka created MAPREDUCE-7323:
----------------------------------------

             Summary: 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


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