You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2021/02/18 06:26:48 UTC

[GitHub] [hadoop] mpryahin edited a comment on pull request #2701: HADOOP-17528. Fix closing an underlying connection pool when closing SFTP File System

mpryahin edited a comment on pull request #2701:
URL: https://github.com/apache/hadoop/pull/2701#issuecomment-781089884


   @steveloughran 
   The build reports a problem due to the [spotbugs issue](https://github.com/spotbugs/spotbugs/issues/1161) 
   Here's a stacktrace from the build logs:
   ```
   [2021-02-17T19:50:51.359Z] Building spotbugs database(s) using /opt/spotbugs for executables.
   [2021-02-17T19:50:51.359Z] 
   [2021-02-17T19:50:51.359Z] 
   [2021-02-17T19:50:51.359Z] Starting with /home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-2701/out/branch-spotbugs-hadoop-common-project_hadoop-common-warnings.xml
   [2021-02-17T19:50:51.359Z] Exception in thread "main" java.lang.UnsupportedOperationException
   [2021-02-17T19:50:51.359Z] 	at java.util.Collections$UnmodifiableCollection.removeIf(Collections.java:1086)
   [2021-02-17T19:50:51.359Z] 	at edu.umd.cs.findbugs.BugRanker.trimToMaxRank(BugRanker.java:322)
   [2021-02-17T19:50:51.359Z] 	at edu.umd.cs.findbugs.workflow.Update.discardUnwantedBugs(Update.java:337)
   [2021-02-17T19:50:51.359Z] 	at edu.umd.cs.findbugs.workflow.Update.doit(Update.java:484)
   [2021-02-17T19:50:51.359Z] 	at edu.umd.cs.findbugs.workflow.Update.main(Update.java:405)
   [2021-02-17T19:50:51.359Z] 
   [2021-02-17T19:50:51.359Z] hadoop-common-project/hadoop-common cannot run computeBugHistory from spotbugs
   ```
   Here's a [cause](https://github.com/spotbugs/spotbugs/blob/c7ead7e64382673b67e5b46a83442c846483230d/findbugs/src/java/edu/umd/cs/findbugs/SortedBugCollection.java#L1028) for this to happen.
   
   This happened straight after substituting findbugs with spotbugs [here](https://github.com/apache/hadoop/commit/4cf35315838a6e65f87ed64aaa8f1d31594c7fcd)
   
   @aajisaka could you please help to fix the build?
   


----------------------------------------------------------------
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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org