[
https://issues.apache.org/jira/browse/HCATALOG-569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13531681#comment-13531681
]
Arup Malakar commented on HCATALOG-569:
---------------------------------------
Travis,
I have always wanted to do it, but always get pulled into other tasks :)
Now regarding these two issues:
1. If the answer to Q1 is yes, I will include hadoop-test:1.0.3 to hadoop23
profile as well.
2. What is your opinion about moving TestHCatHiveCompatibility to
hcatalog-pig-adapter, this is the only offending class in core.
Apart from this I had to export the test classes present in core and include it
in other poms. I was able to successfully compile it against hadoop20 profile.
_mvn clean install -DskipTests -Phadoop20_
{code}
[INFO] Reactor Summary:
[INFO]
[INFO] hcatalog .......................................... SUCCESS [3.780s]
[INFO] hcatalog-core ..................................... SUCCESS [8.656s]
[INFO] hcatalog-pig-adapter .............................. SUCCESS [1.441s]
[INFO] server-extensions ................................. SUCCESS [2.167s]
[INFO] webhcat-java-client ............................... SUCCESS [1.000s]
[INFO] webhcat ........................................... SUCCESS [1.585s]
[INFO] hbase-storage-handler ............................. SUCCESS [6.050s]
{code}
hadoop23 profile fails. Looking at
http://mail-archives.apache.org/mod_mbox/incubator-hcatalog-dev/201211.mbox/%3CCABN7xTD_HomV1d=x8LeGj9-Be0nZrNh8oP9foxgL7Yz=7yr...@mail.gmail.com%3E
I know why it fails.
> Add support for building HCatalog with Maven
> --------------------------------------------
>
> Key: HCATALOG-569
> URL: https://issues.apache.org/jira/browse/HCATALOG-569
> Project: HCatalog
> Issue Type: Bug
> Reporter: Arup Malakar
>
> Hi,
> I see that:
> {code}
> mvn clean package -Phadoop23
> {code}
> fails in trunk.
> Couple of observations:
> 1. *Missing hadoop-test for hadoop23 profile*:
> Test code in core depends on _MiniMRCluster_, and the compilation fails when
> mvn is ran with -Phadoop23 profile.
> I see that _MiniMRCluster_ is present in _hadoop-test_ artifact. But I don't
> see a hadoop-test artifact being available for hadoop 23:
> https://repository.apache.org/index.html#nexus-search;quick~hadoop-test
> Question: Is it okay to include _1.0.3_ version of hadoop-test in case of
> hadoop23 profile as well?
> 2. *Circular dependency between core and hcatalog-pig-adapter*
> I observed core has test cases which requires *HCatLoader* which is available
> in *hcatalog-pig-adapter*. On the other hand *hcatalog-pig-adapter* depends
> on core.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira