This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new c055036b38 HDDS-11637. Compile failure is ignored in build check 
(#7389)
c055036b38 is described below

commit c055036b38e265f13591d9553ff662eb66261e95
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Tue Nov 5 17:26:06 2024 +0100

    HDDS-11637. Compile failure is ignored in build check (#7389)
---
 hadoop-ozone/dev-support/checks/build.sh                  |  2 ++
 .../hadoop/ozone/recon/upgrade/UpgradeActionRecon.java    | 15 ++++++---------
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/hadoop-ozone/dev-support/checks/build.sh 
b/hadoop-ozone/dev-support/checks/build.sh
index 7e9a9d5cbf..ac524f755e 100755
--- a/hadoop-ozone/dev-support/checks/build.sh
+++ b/hadoop-ozone/dev-support/checks/build.sh
@@ -14,5 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+set -eu -o pipefail
+
 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
 source "${DIR}"/_build.sh install "$@"
diff --git 
a/hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/upgrade/UpgradeActionRecon.java
 
b/hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/upgrade/UpgradeActionRecon.java
index 749e5f5c06..11a6c16e19 100644
--- 
a/hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/upgrade/UpgradeActionRecon.java
+++ 
b/hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/upgrade/UpgradeActionRecon.java
@@ -42,15 +42,12 @@ import java.lang.annotation.Target;
  * Example usage:
  *
  * <pre>
- * {@code
- *
- * @UpgradeActionRecon(feature = FEATURE_NAME, type = FINALIZE)
- *  public class FeatureNameUpgradeAction implements ReconUpgradeAction {
- *     @Override
- *     public void execute() throws Exception {
- *       // Custom upgrade logic for FEATURE_1
- *     }
- *  }
+ * &#64;UpgradeActionRecon(feature = FEATURE_NAME, type = FINALIZE)
+ * public class FeatureNameUpgradeAction implements ReconUpgradeAction {
+ *   &#64;Override
+ *   public void execute() throws Exception {
+ *     // Custom upgrade logic for FEATURE_1
+ *   }
  * }
  * </pre>
  */


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to