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 "Ray Chiang (JIRA)" <ji...@apache.org> on 2016/07/12 21:20:20 UTC

[jira] [Comment Edited] (MAPREDUCE-6652) Add configuration property to prevent JHS from loading jobs with a task count greater than X

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

Ray Chiang edited comment on MAPREDUCE-6652 at 7/12/16 9:19 PM:
----------------------------------------------------------------

Really minor Javadoc nits

# In HistoryFileManager.java
#* {{greater than maxTaskForLoadedJob.}} should be {{greater than maxTasksForLoadedJob.}}
#* Phrasing and punctuation should be cleaned up here:

{quote}
@return null if the underlying file was deleted.
               partially parsed job if the job has too many tasks
               fully parsed job otherwise
{quote}

will read nicer:

{quote}
@return null if the underlying job history file was deleted, an \{@link UnparsedJob\}
                    object representing a partially parsed job if the job tasks exceeds the
                    configured maximum, or a \{@link CompletedJob\} representing a fully
                    parsed job.
{quote}



was (Author: rchiang):
Really minor Javadoc nits

# In HistoryFileManager.java
#* {{greater than maxTaskForLoadedJob.}} should be {{greater than maxTasksForLoadedJob.}}
#* Phrasing and punctuation should be cleaned up here:

{quote}
@return null if the underlying file was deleted.
               partially parsed job if the job has too many tasks
               fully parsed job otherwise
{quote}

will read nicer:

{quote}
@return null if the underlying job history file was deleted, an \{@link UnparsedJob\}
                    object representing a partially parsed job if the job tasks exceeds the
                    configured maximum, or a {@link CompletedJob} representing a fully
                    parsed job.
{quote}


> Add configuration property to prevent JHS from loading jobs with a task count greater than X
> --------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-6652
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6652
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: jobhistoryserver
>            Reporter: Haibo Chen
>            Assignee: Haibo Chen
>         Attachments: mapreduce6652.001.patch, mapreduce6652.002.patch, mapreduce6652.003.patch, mapreduce6652.004.patch, mapreduce6652.005.patch, mapreduce6652.007.branch2.patch, mapreduce6652.007.patch
>
>
> Jobs with large number of tasks can have job history files that are large in size and resource-consuming(mainly memory) to parse in Job History Server. If there are many such jobs, the job history server can very easily hang.
> It would be a good usability feature if we added a new config property that could be set to X, where the JHS wouldn't load the details for a job with more than X tasks. The job would still show up on the list of jobs page, but clicking on it would give a warning message that the job is too big, instead of actually loading the job. This way we can prevent users from loading a job that's way too big for the JHS, which currently makes the JHS hang. The default value can be -1 so that it's disabled.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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