The HBase community wants to drop the support of hadoop-2.4.x and
hadoop-2.5.x in HBase-2.0. This means we need to use different hadoopcheck
versions for master branches when running precommit job.

Now the hadoopcheck is invoke in the hadoopcheck_rebuild function placed in
the personality shell script of HBase.

https://github.com/apache/hbase/blob/master/dev-support/hbase-personality.sh

If we can get the branch name in this function, it is possible to use
different hadoop versions for different branches. Will yetus send the
branch name as a parameter when invoking this method? Or is there any env
variable that specifics the branch we want to test? Or is it possible to
run some git commands in this function(You know the problem is I do not
know the path of the local git repo..)?

Thanks.

Reply via email to