hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Masatake Iwasaki (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-12477) Add test to make sure hadoop-minicluster provides enough dependencies
Date Thu, 15 Oct 2015 05:15:05 GMT

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

Masatake Iwasaki updated HADOOP-12477:
--------------------------------------
    Attachment: HADOOP-12477.002.patch

002 added mockito which is needed to run MiniDFSCluster to dependencies. It should be compile
scope in order to make it transitive for projects using hadoop-minicluster, same as test-jar
of hadoop-*.

> Add test to make sure hadoop-minicluster provides enough dependencies
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-12477
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12477
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>         Attachments: HADOOP-12477.001.patch, HADOOP-12477.002.patch
>
>
> Dependencies of test-jar is not transitive by design (MNG-1378). If mini cluster depends
on artifacts depended by only test-jars, downstream projects using mini cluster need to add
the dependencies in addition to hadoop-minicluster. It would be kind for downstream projects
to make sure hadoop-minicluster provides enough dependencies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message