[
https://issues.apache.org/jira/browse/MAPREDUCE-6825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15868864#comment-15868864
]
Daniel Templeton commented on MAPREDUCE-6825:
---------------------------------------------
Thanks for the updated patch, [~GergelyNovak]. Looks good. My only quibble is
that the summary for the {{@throws IOException}} isn't quite accurate. The
exception happens when 1) any of the many paths cannot be resolved, 2) the
tokens cannot be written, or 3) there's a path conflict in the distributed
cache artifacts. Sadly, no succinct way to summarize that.
> YARNRunner#createApplicationSubmissionContext method is longer than 150 lines
> -----------------------------------------------------------------------------
>
> Key: MAPREDUCE-6825
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6825
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Reporter: Chris Trezzo
> Assignee: Gergely Novák
> Priority: Trivial
> Labels: newbie
> Attachments: MAPREDUCE-6825.001.patch, MAPREDUCE-6825.002.patch,
> MAPREDUCE-6825.003.patch, MAPREDUCE-6825.004.patch, MAPREDUCE-6825.005.patch
>
>
> bq.
> ./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/YARNRunner.java:341:
> public ApplicationSubmissionContext createApplicationSubmissionContext(:3:
> Method length is 249 lines (max allowed is 150).
> {{YARNRunner#createApplicationSubmissionContext}} is longer than 150 lines
> and needs to be refactored.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]