[
https://issues.apache.org/jira/browse/TAJO-1303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Keuntae Park updated TAJO-1303:
-------------------------------
Attachment: TAJO-1303.patch
I changed getVersion to ignore non-digit part of hadoop version.
I checked it works with CDH 5.3.0 cluster.
If you compile Tajo for CDH 5.3.0, you should add cloudera repository in
pom.xml as following diff indicates:
{code}
diff --git pom.xml pom.xml
index 8e5dd5e..b17ea68 100644
--- pom.xml
+++ pom.xml
@@ -68,6 +68,10 @@
<enabled>false</enabled>
</snapshots>
</repository>
+ <repository>
+ <id>cloudera</id>
+ <url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>
+ </repository>
</repositories>
<properties>
{code}
> CDH cannot pass hadoop version check test
> -----------------------------------------
>
> Key: TAJO-1303
> URL: https://issues.apache.org/jira/browse/TAJO-1303
> Project: Tajo
> Issue Type: Bug
> Reporter: Keuntae Park
> Assignee: Keuntae Park
> Priority: Trivial
> Attachments: TAJO-1303.patch
>
>
> getVersion() of CheckHadoopRuntimeVersionRule.java assumes the pattern of
> Hadoop version as 'xx.xx.xx'.
> However, if CDH is used, version is expressed as 'xx.xx.xx-cdhxx.xx.xx'
> and getVersion() wrongly retrieves last digit of the version
> as 'xx-cdhxx.xx.xx' like '0-chd5.3.0'.
> I think getVersion() should check digit part of the Hadoop version string
> only.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)