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 "James Carman (JIRA)" <ji...@apache.org> on 2013/07/31 14:47:49 UTC
[jira] [Commented] (MAPREDUCE-5420) Remove mapreduce.task.tmp.dir
from mapred-default.xml
[ https://issues.apache.org/jira/browse/MAPREDUCE-5420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13725191#comment-13725191 ]
James Carman commented on MAPREDUCE-5420:
-----------------------------------------
I was going to tackle this one. I am removing all references to that string from the code except for the mention in DeprecatedProperties.apt.vm. However, there's one test case that mentions it in its comments, but I believe it's misleading:
{code}
/**
* Tests task's temp directory.
*
* In this test, we give different values to mapreduce.task.tmp.dir
* both relative and absolute. And check whether the temp directory
* is created. We also check whether java.io.tmpdir value is same as
* the directory specified. We create a temp file and check if is is
* created in the directory specified.
*/
@Test
public void testTaskTempDir(){
...
}
{code}
> Remove mapreduce.task.tmp.dir from mapred-default.xml
> -----------------------------------------------------
>
> Key: MAPREDUCE-5420
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5420
> Project: Hadoop Map/Reduce
> Issue Type: Task
> Affects Versions: 2.1.0-beta
> Reporter: Sandy Ryza
> Labels: newbie
>
> mapreduce.task.tmp.dir no longer has any effect, so it should no longer be documented in mapred-default. (There is no YARN equivalent for the property. It now is just always ./tmp).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira