hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-2690) Adding support into build.xml to build a special hadoop jar file that has the MiniDFSCluster and MiniMRCluster classes among others necessary for building and running the unit tests of Pig on the local mini cluster
Date Thu, 24 Jan 2008 10:23:34 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-2690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12562001#action_12562001
] 

Enis Soztutar commented on HADOOP-2690:
---------------------------------------

I am in favor of adding either an ant target to build the hadoop-*-dev-test.jar so that this
can be used in test cases of other projects(such as nutch and pig), or an ant target to build
a jar (for example hadoop-*-test-utils.jar) which will include MiniDFSCluster, etc. A third
option would be to move these classes from src to test, but I think the second choice is better.


> Adding support into build.xml to build a special hadoop jar file that has the MiniDFSCluster
and MiniMRCluster classes among others necessary for building and running the unit tests of
Pig on the local mini cluster
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-2690
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2690
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 0.15.2
>            Reporter: Xu Zhang
>         Attachments: build.xml, hadoop-0.15.3-dev-test.jar
>
>
> In order to build Pig and run its unit tests with ant, Pig needs to be built and run
against a hadoop jar file that not only has the MiniDFSCluster and MiniMRCluster classes but
also has classes from several 3rd party libraries.  I added a target to the build.xml file
of Hadoop for that purpose (see the "Compile code for Pig" section in the attached build.xml).
  I also attached the resulted hadoop jar with this report. 

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


Mime
View raw message