[
https://issues.apache.org/jira/browse/TAJO-1303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14276604#comment-14276604
]
Jihun Kang commented on TAJO-1303:
----------------------------------
Thank you for reporting this issue. I did not notified that version string of
hadoop common component is varied. Your patch works well on CDH, but could you
add a patch for HDP? Version String of hadoop common project on HDP is
completely different from apache hadoop common component. I have found that the
version string of HDP is *2.6.0.2.2.0.0-2041*.
> 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)