[
https://issues.apache.org/jira/browse/AMBARI-22504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Doroszlai, Attila updated AMBARI-22504:
---------------------------------------
Description:
Most of Ambari 3.0 development is taking place in various feature branches, but
{{test-patch.sh}} only tries patches on trunk. This makes "Hadoop QA" largely
useless for Ambari, since in most cases the only feedback we get is that it
could not apply the patch.
{{test-patch.sh}} was originally copied from Hadoop. The Hadoop version has
evolved and was extracted to [Apache Yetus|http://yetus.apache.org/]. Instead
of adding configurable branch support to the current script, we should replace
it with one that utilizes Yetus. See for example
[Hadoop|https://github.com/apache/hadoop/blob/trunk/dev-support/bin/test-patch],
[Hive|https://github.com/apache/hive/blob/master/dev-support/test-patch.sh]
and
[Ratis|https://github.com/apache/incubator-ratis/blob/master/dev-support/test-patch].
was:
Most of Ambari 3.0 development is taking place in various feature branches, but
{{test-patch.sh}} can only tries patches on trunk. This makes "Hadoop QA"
largely useless for Ambari, since in most cases the only feedback we get is
that it could not apply the patch.
{{test-patch.sh}} was originally copied from Hadoop. The Hadoop version has
evolved and was extracted to [Apache Yetus|http://yetus.apache.org/]. Instead
of adding configurable branch support to the current script, we should replace
it with one that utilizes Yetus. See for example
[Hadoop|https://github.com/apache/hadoop/blob/trunk/dev-support/bin/test-patch],
[Hive|https://github.com/apache/hive/blob/master/dev-support/test-patch.sh]
and
[Ratis|https://github.com/apache/incubator-ratis/blob/master/dev-support/test-patch].
> Replace test-patch.sh with Yetus
> --------------------------------
>
> Key: AMBARI-22504
> URL: https://issues.apache.org/jira/browse/AMBARI-22504
> Project: Ambari
> Issue Type: Improvement
> Reporter: Doroszlai, Attila
> Assignee: Doroszlai, Attila
> Fix For: 3.0.0
>
>
> Most of Ambari 3.0 development is taking place in various feature branches,
> but {{test-patch.sh}} only tries patches on trunk. This makes "Hadoop QA"
> largely useless for Ambari, since in most cases the only feedback we get is
> that it could not apply the patch.
> {{test-patch.sh}} was originally copied from Hadoop. The Hadoop version has
> evolved and was extracted to [Apache Yetus|http://yetus.apache.org/].
> Instead of adding configurable branch support to the current script, we
> should replace it with one that utilizes Yetus. See for example
> [Hadoop|https://github.com/apache/hadoop/blob/trunk/dev-support/bin/test-patch],
> [Hive|https://github.com/apache/hive/blob/master/dev-support/test-patch.sh]
> and
> [Ratis|https://github.com/apache/incubator-ratis/blob/master/dev-support/test-patch].
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)