Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
0.10.0
-
None
-
None
Description
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.