hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hong Tang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-839) unit test TestMiniMRChildTask fails on mac os-x
Date Fri, 07 Aug 2009 20:57:15 GMT

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

Hong Tang commented on MAPREDUCE-839:

The problem is discovered on Mac OS-X. But I tried to list the root causes that could also
affect non-mac-os-x platforms:

Line 66:          assertEquals(tmp, new Path(System.getProperty("java.io.tmpdir")). makeQualified(localFs).toString());
expected = "file:/[private/]tmp/hadoop-htang/map...", actual = "file:/[]tmp/hadoop-htang/map...".
Root cause: on Mac OS-X, /tmp is symlink to /private/tmp. The test probably would fail on
normal unix systems if /tmp is also symlinked.

Line 160:       assertTrue("LD doesnt contain pwd",  System.getenv("LD_LIBRARY_PATH").contains(pwd));
Root cause: the environment variable for dynamic library on Mac OS-X is DYLD_LIBRARY_PATH
instead of LD_LIBRARY_PATH

> unit test TestMiniMRChildTask fails on mac os-x
> -----------------------------------------------
>                 Key: MAPREDUCE-839
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-839
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.21.0
>            Reporter: Hong Tang
>            Priority: Minor
> The unit test TestMiniMRChildTask fails on Mac OS-X (10.5.8)

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

View raw message