hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-1587) Tasks run by MiniMRCluster don't get sysprops from TestCases
Date Wed, 25 Jul 2007 16:47:31 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-1587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Owen O'Malley updated HADOOP-1587:

    Fix Version/s: 0.14.0

> Tasks run by MiniMRCluster don't get sysprops from TestCases
> ------------------------------------------------------------
>                 Key: HADOOP-1587
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1587
>             Project: Hadoop
>          Issue Type: Bug
>          Components: test
>         Environment: unix
>            Reporter: Alejandro Abdelnur
>            Assignee: Devaraj Das
>            Priority: Blocker
>             Fix For: 0.14.0
>         Attachments: 1587.patch
> While it seems a general problem it is surfacing in streaming TestSymLink testcase with
patch for HADOOP-1558
> The contrib testcases use src/contrib/test/hadoop-site.xml. 
> The property 'mapred.system.dir' is this file is defined as with a variable '${contrib.name}'.
> The src/build/build-contrib.xml ant file sets the sysproperty 'contrib.name' to the name
of the contrib component for the JVM running the testcase.
> The problem is that when a testcase uses MiniMRCluster the TaskRunner forks a JVM for
the task and in this JVM (which uses the above hadoop-site.xml) the variable 'contrib.name'
is undefined.
> If I hardcode 'streaming' in the hadoop-site.xml for the TestSymLink the testcase works

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message