hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-6413) TestLocalJobSubmission is failing
Date Wed, 24 Jun 2015 18:24:05 GMT

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

Jason Lowe commented on MAPREDUCE-6413:

Thanks for picking this up, [~zxu].

Do we even need to bother with HDFS?  MiniDFSCluster makes every test it's a part of noticeably
slower, and I'm not seeing why we need it here.  I got the impression "hdfs://testcluster"
was just some bogus input anyway, so can we just use something "file:///" instead?  This is
the default, and we're already relying on other defaults like mapreduce.framework.name=local.

As an aside, I'd personally prefer we explicitly set the values we expect to be using in unit
tests, even if they're the default, for two reasons: 1) document the setup/reqs of the test
and 2) protect the test from custom confs appearing in HADOOP_CONF_DIR when the test is run.

> TestLocalJobSubmission is failing
> ---------------------------------
>                 Key: MAPREDUCE-6413
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6413
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.7.1
>            Reporter: Jason Lowe
>            Assignee: zhihai xu
>         Attachments: MAPREDUCE-6413.000.patch
> ThestLocalJobSubmission.testLocalJobLibjarsOption is failing with java.net.UnknownHostException:

This message was sent by Atlassian JIRA

View raw message