hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Work logged] (HDDS-2030) Generate simplifed reports by the dev-support/checks/*.sh scripts
Date Tue, 27 Aug 2019 08:59:00 GMT

     [ https://issues.apache.org/jira/browse/HDDS-2030?focusedWorklogId=301801&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-301801

ASF GitHub Bot logged work on HDDS-2030:

                Author: ASF GitHub Bot
            Created on: 27/Aug/19 08:58
            Start Date: 27/Aug/19 08:58
    Worklog Time Spent: 10m 
      Work Description: adoroszlai commented on pull request #1348: HDDS-2030. Generate simplifed
reports by the dev-support/checks/*.sh scripts
URL: https://github.com/apache/hadoop/pull/1348#discussion_r317968200

 File path: hadoop-ozone/dev-support/checks/acceptance.sh
 @@ -16,7 +16,19 @@
 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
 cd "$DIR/../../.." || exit 1
+mkdir -p "$REPORT_DIR"
 OZONE_VERSION=$(grep "<ozone.version>" "$DIR/../../pom.xml" | sed 's/<[^>]*>//g'|
 sed 's/^[ \t]*//')
-cd "$DIR/../../dist/target/ozone-$OZONE_VERSION/compose" || exit 1
+if [ ! -d "$DIST_DIR" ]; then
+    echo "Distribution dir is missing. Doing a full build"
+    "$DIR/build.sh"
+cd "$DIST_DIR/compose" || exit 1
+cp results/* "$REPORT_DIR/"
 Review comment:
   Looks like this fix (42b9de8b5e9f1ca293d4f9983f619264d8370f57) was overwritten by 9c27e86f0c5d737abae4ae1f1bf4985621694267
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

Issue Time Tracking

    Worklog Id:     (was: 301801)
    Time Spent: 2.5h  (was: 2h 20m)

> Generate simplifed reports by the dev-support/checks/*.sh scripts
> -----------------------------------------------------------------
>                 Key: HDDS-2030
>                 URL: https://issues.apache.org/jira/browse/HDDS-2030
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: build
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
> hadoop-ozone/dev-support/checks directory contains shell scripts to execute different
type of code checks (findbugs, checkstyle, etc.)
> Currently the contract is very simple. Every shell script executes one (and only one)
check and the shell response code is set according to the result (non-zero code if failed).
> To have better reporting in the github pr build, it would be great to improve the scripts
to generate simple summary files and save the relevant files for archiving.

This message was sent by Atlassian Jira

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message