You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/02/02 10:20:58 UTC

[GitHub] [ozone] elek opened a new pull request #1878: Disable spotbugs for (the empty) hadoop-ozone-datanode project

elek opened a new pull request #1878:
URL: https://github.com/apache/ozone/pull/1878


   ## What changes were proposed in this pull request?
   
   Execution the spotbugs check script fails locally. If some other resource files are already generated in an empty project, spotbugs expected real source files:
   
   ```
   [INFO] --------------< org.apache.hadoop:hadoop-ozone-datanode >---------------
   [INFO] Building Apache Hadoop Ozone Datanode 1.1.0-SNAPSHOT             [32/40]
   [INFO] --------------------------------[ jar ]---------------------------------
   [INFO] 
   ...
   [INFO] 
   [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ hadoop-ozone-datanode ---
   [INFO] No sources to compile
   [INFO] 
   [INFO] --- spotbugs-maven-plugin:3.1.12:spotbugs (default-cli) @ hadoop-ozone-datanode ---
   [INFO] Fork Value is true
        [java] Exception in thread "main" java.io.IOException: No files to analyze could be opened
        [java] 	at edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:274)
        [java] 	at edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:401)
        [java] 	at edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1185)
   [INFO] 
   ```
   
   It's more safe to turn off explicitly the spotbugs check for the empty `hadoop-ozone-datanode` project (note: source code of the datanode is in the `hadoop-hdds-container-service` project) 
   
   ## How was this patch tested?
   
   `mvn spotbugs:check` and `./hadoop-ozone/dev-support/checks/findbugs.sh` from my local working directory.


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [ozone] adoroszlai merged pull request #1878: HDDS-4780. Disable spotbugs for (the empty) hadoop-ozone-datanode project

Posted by GitBox <gi...@apache.org>.
adoroszlai merged pull request #1878:
URL: https://github.com/apache/ozone/pull/1878


   


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [ozone] adoroszlai merged pull request #1878: HDDS-4780. Disable spotbugs for (the empty) hadoop-ozone-datanode project

Posted by GitBox <gi...@apache.org>.
adoroszlai merged pull request #1878:
URL: https://github.com/apache/ozone/pull/1878


   


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [ozone] symious commented on pull request #1878: HDDS-4780. Disable spotbugs for (the empty) hadoop-ozone-datanode project

Posted by GitBox <gi...@apache.org>.
symious commented on pull request #1878:
URL: https://github.com/apache/ozone/pull/1878#issuecomment-771537349


   Yes, met the same error in [HDDS-2195](https://github.com/apache/ozone/pull/1806).


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [ozone] symious commented on pull request #1878: HDDS-4780. Disable spotbugs for (the empty) hadoop-ozone-datanode project

Posted by GitBox <gi...@apache.org>.
symious commented on pull request #1878:
URL: https://github.com/apache/ozone/pull/1878#issuecomment-771537349


   Yes, met the same error in [HDDS-2195](https://github.com/apache/ozone/pull/1806).


----------------------------------------------------------------
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:
users@infra.apache.org



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