Sean Busbey created HBASE-18327:
-----------------------------------
Summary: redo test-patch personality 'hadoopcheck' to better
account for feature branches
Key: HBASE-18327
URL: https://issues.apache.org/jira/browse/HBASE-18327
Project: HBase
Issue Type: Improvement
Components: build, test
Reporter: Sean Busbey
Priority: Minor
right now our 'which hadoop checks do we need' check looks like this:
{code}
if [[ "${PATCH_BRANCH}" = "master" ]]; then
hbase_hadoop2_versions=${HBASE_MASTER_HADOOP2_VERSIONS}
hbase_hadoop3_versions=${HBASE_MASTER_HADOOP3_VERSIONS}
elif [[ ${PATCH_BRANCH} = branch-2* ]]; then
hbase_hadoop2_versions=${HBASE_BRANCH2_HADOOP2_VERSIONS}
hbase_hadoop3_versions=${HBASE_BRANCH2_HADOOP3_VERSIONS}
else
hbase_hadoop2_versions=${HBASE_HADOOP2_VERSIONS}
hbase_hadoop3_versions=${HBASE_HADOOP3_VERSIONS}
fi
{code}
the check is basically "if master do this, if like branch-2 do that, otherwise
behave like branch-1".
we often have feature branches that thus end up being treated like branch-1,
even though those branches should all be based off of master. (since we follow
a master-first development approach.)
we should redo this check so it's "if branch-1 do this, if branch-2 do that,
otherwise behave like master"
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)