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

ASF GitHub Bot logged work on HDDS-2234:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 03/Oct/19 07:18
            Start Date: 03/Oct/19 07:18
    Worklog Time Spent: 10m 
      Work Description: adoroszlai commented on pull request #1580: HDDS-2234. 
rat.sh fails due to ozone-recon-web/build files
URL: https://github.com/apache/hadoop/pull/1580
 
 
   ## What changes were proposed in this pull request?
   
   Make RAT check ignore `ozone-recon-web/build` directory.
   
   During `ozone-recon` to `recon` rename 
([HDDS-2044](https://issues.apache.org/jira/browse/HDDS-2044)) the directory 
ignored by RAT was [changed to 
`recon-web/build`](https://github.com/apache/hadoop/blob/0e026cb0cefcadcfe404cd5d542f081f3b8ab69b/hadoop-ozone/pom.xml#L294),
 but the real directory is still 
[`ozone-recon-web`](https://github.com/apache/hadoop/tree/trunk/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web).
   
   The mismatch is not a problem for CI because it doesn't build anything 
before the RAT check, so the `build` directory is not present.
   
   https://issues.apache.org/jira/browse/HDDS-2234
   
   ## How was this patch tested?
   
   ```
   $ mvn -f pom.ozone.xml -Dmaven.javadoc.skip=true -DskipTests clean package
   ...
   [INFO] BUILD SUCCESS
   
   $ ls 
hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/build
   asset-manifest.json
   favicon.ico
   index.html
   manifest.json
   precache-manifest.2d16a2d17952080aea9277dca13a2b39.js
   service-worker.js
   static
   
   $ hadoop-ozone/dev-support/checks/rat.sh
   ...
   [INFO] BUILD SUCCESS
   
   $ echo $?
   0
   ```
 
----------------------------------------------------------------
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:
us...@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 322449)
    Remaining Estimate: 0h
            Time Spent: 10m

> rat.sh fails due to ozone-recon-web/build files
> -----------------------------------------------
>
>                 Key: HDDS-2234
>                 URL: https://issues.apache.org/jira/browse/HDDS-2234
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Anu Engineer
>            Assignee: Attila Doroszlai
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> [ERROR] mvn <goals> -rf :hadoop-ozone-recon
> [INFO] Build failures were ignored.
> hadoop-ozone/recon/target/rat.txt: !????? 
> /Users/aengineer/apache/hadoop/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/build/index.html
> hadoop-ozone/recon/target/rat.txt: !????? 
> /Users/aengineer/apache/hadoop/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/build/static/css/2.8943d5a3.chunk.css
> hadoop-ozone/recon/target/rat.txt: !????? 
> /Users/aengineer/apache/hadoop/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/build/static/css/2.8943d5a3.chunk.css.map
> hadoop-ozone/recon/target/rat.txt: !????? 
> /Users/aengineer/apache/hadoop/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/build/static/css/main.96eebd44.chunk.css
> hadoop-ozone/recon/target/rat.txt: !????? 
> /Users/aengineer/apache/hadoop/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/build/static/js/runtime~main.a8a9905a.js.map
> hadoop-ozone/recon/target/rat.txt: !????? 
> /Users/aengineer/apache/hadoop/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/build/static/js/runtime~main.a8a9905a.js
> hadoop-ozone/recon/target/rat.txt: !????? 
> /Users/aengineer/apache/hadoop/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/build/static/js/2.ea549bfe.chunk.js
> hadoop-ozone/recon/target/rat.txt: !????? 
> /Users/aengineer/apache/hadoop/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/build/static/js/main.5bb53989.chunk.js
> hadoop-ozone/recon/target/rat.txt: !????? 
> /Users/aengineer/apache/hadoop/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/build/static/js/2.ea549bfe.chunk.js.map
> hadoop-ozone/recon/target/rat.txt: !????? 
> /Users/aengineer/apache/hadoop/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/build/precache-manifest.1d05d7a103ee9d6b280ef7adfcab3c01.js
> hadoop-ozone/recon/target/rat.txt: !????? 
> /Users/aengineer/apache/hadoop/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/build/service-worker.js



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to