[
https://issues.apache.org/jira/browse/HADOOP-15548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16528197#comment-16528197
]
genericqa commented on HADOOP-15548:
------------------------------------
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 16m
27s{color} | {color:blue} Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} patch {color} | {color:red} 0m 9s{color}
| {color:red} HADOOP-15548 does not apply to branch-2. Rebase required? Wrong
Branch? See https://wiki.apache.org/hadoop/HowToContribute for help. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hadoop:f667ef1 |
| JIRA Issue | HADOOP-15548 |
| JIRA Patch URL |
https://issues.apache.org/jira/secure/attachment/12929765/HADOOP-15548-branch-2.001.patch
|
| Console output |
https://builds.apache.org/job/PreCommit-HADOOP-Build/14839/console |
| Powered by | Apache Yetus 0.8.0-SNAPSHOT http://yetus.apache.org |
This message was automatically generated.
> Randomize local dirs
> --------------------
>
> Key: HADOOP-15548
> URL: https://issues.apache.org/jira/browse/HADOOP-15548
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Jim Brennan
> Assignee: Jim Brennan
> Priority: Minor
> Attachments: HADOOP-15548-branch-2.001.patch, HADOOP-15548.001.patch,
> HADOOP-15548.002.patch
>
>
> shuffle LOCAL_DIRS, LOG_DIRS and LOCAL_USER_DIRS when launching container.
> Some applications will process these in exactly the same way in every
> container (e.g. roundrobin) which can cause disks to get unnecessarily
> overloaded (e.g. one output file written to first entry specified in the
> environment variable).
> There are two paths for local dir allocation, depending on whether the size
> is unknown or known. The unknown path already uses a random algorithm. The
> known path initializes with a random starting point, and then goes
> round-robin after that. When selecting a dir, it increments the last used by
> one and then checks sequentially until it finds a dir that satisfies the
> request. Proposal is to increment by a random value of between 1 and
> num_dirs - 1, and then check sequentially from there. This should result in
> a more random selection in all cases.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]