Lutz Weischer created FLUME-3390:
------------------------------------

             Summary: build failed on AArch64, Fedora 33 
                 Key: FLUME-3390
                 URL: https://issues.apache.org/jira/browse/FLUME-3390
             Project: Flume
          Issue Type: Bug
            Reporter: Lutz Weischer


(base) [jw@cn05 flume]$ mvn install -DskipTests
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Detecting the operating system and CPU architecture
[INFO] ------------------------------------------------------------------------
[INFO] os.detected.name: linux
[INFO] os.detected.arch: aarch_64
[INFO] os.detected.version: 5.8
[INFO] os.detected.version.major: 5
[INFO] os.detected.version.minor: 8
[INFO] os.detected.release: fedora
[INFO] os.detected.release.version: 33
[INFO] os.detected.release.like.fedora: true
[INFO] os.detected.classifier: linux-aarch_64
[INFO] ------------------------------------------------------------------------
...
[INFO] -------------------< org.apache.flume:flume-ng-sdk >--------------------
[INFO] Building Flume NG SDK 1.10.0-SNAPSHOT                             [3/47]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ 
flume-ng-sdk ---
[INFO]
[INFO] --- avro-maven-plugin:1.7.4:idl-protocol (default) @ flume-ng-sdk ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) 
@ flume-ng-sdk ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ 
flume-ng-sdk ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/data/jw/apache/flume/flume-ng-sdk/src/main/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ flume-ng-sdk 
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 27 source files to 
/data/jw/apache/flume/flume-ng-sdk/target/classes
[INFO] 
/data/jw/apache/flume/flume-ng-sdk/src/main/java/org/apache/flume/api/RpcClientFactory.java:
 Some input files use or override a deprecated API.
[INFO] 
/data/jw/apache/flume/flume-ng-sdk/src/main/java/org/apache/flume/api/RpcClientFactory.java:
 Recompile with -Xlint:deprecation for details.
[INFO] 
/data/jw/apache/flume/flume-ng-sdk/target/generated-sources/avro/org/apache/flume/source/avro/AvroFlumeEvent.java:
 
/data/jw/apache/flume/flume-ng-sdk/target/generated-sources/avro/org/apache/flume/source/avro/AvroFlumeEvent.java
 uses unchecked or unsafe operations.
[INFO] 
/data/jw/apache/flume/flume-ng-sdk/target/generated-sources/avro/org/apache/flume/source/avro/AvroFlumeEvent.java:
 Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- paranamer-maven-plugin:2.8:generate (run) @ flume-ng-sdk ---
[INFO] Generating parameter names from 
/data/jw/apache/flume/flume-ng-sdk/target/generated-sources/avro to 
/data/jw/apache/flume/flume-ng-sdk/target/classes
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ 
flume-ng-sdk ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ 
flume-ng-sdk ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ flume-ng-sdk ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ flume-ng-sdk ---
[INFO] Building jar: 
/data/jw/apache/flume/flume-ng-sdk/target/flume-ng-sdk-1.10.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ 
flume-ng-sdk ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO]
[INFO] --- maven-jar-plugin:3.1.0:test-jar (default) @ flume-ng-sdk ---
[INFO] Building jar: 
/data/jw/apache/flume/flume-ng-sdk/target/flume-ng-sdk-1.10.0-SNAPSHOT-tests.jar
[INFO]
[INFO] --- apache-rat-plugin:0.12:check (verify.rat) @ flume-ng-sdk ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 61 implicit excludes (use -debug for more details).
[INFO] Exclude: **/.idea/
[INFO] Exclude: **/*.iml
[INFO] Exclude: **/nb-configuration.xml
[INFO] Exclude: .git/
[INFO] Exclude: patchprocess/
[INFO] Exclude: .gitignore
[INFO] Exclude: .repository/
[INFO] Exclude: **/*.diff
[INFO] Exclude: **/*.patch
[INFO] Exclude: **/*.avsc
[INFO] Exclude: **/*.avro
[INFO] Exclude: **/docs/**
[INFO] Exclude: **/test/resources/**
[INFO] Exclude: **/.settings/*
[INFO] Exclude: **/.classpath
[INFO] Exclude: **/.project
[INFO] Exclude: **/target/**
[INFO] Exclude: **/derby.log
[INFO] Exclude: **/metastore_db/
[INFO] Exclude: .mvn/**
[INFO] Exclude: **/exclude-pmd.properties
[INFO] 50 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 
0, approved: 50 licenses.
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (verify.checkstyle) @ 
flume-ng-sdk ---
[INFO]
[INFO] >>> spotbugs-maven-plugin:3.1.7:check (verify.spotbugs) > :spotbugs @ 
flume-ng-sdk >>>
[INFO]
[INFO] --- spotbugs-maven-plugin:3.1.7:spotbugs (spotbugs) @ flume-ng-sdk ---
[INFO] Fork Value is true
     [java] Warnings generated: 67
[INFO] Done SpotBugs Analysis....
[INFO]
[INFO] <<< spotbugs-maven-plugin:3.1.7:check (verify.spotbugs) < :spotbugs @ 
flume-ng-sdk <<<
[INFO]
[INFO]
[INFO] --- spotbugs-maven-plugin:3.1.7:check (verify.spotbugs) @ flume-ng-sdk 
---
[INFO] BugInstance size is 67
[INFO] Error size is 0
[INFO] total 67 violations are found which is set to be acceptable using 
configured property maxAllowedViolations :67.
Below are list of bugs ignored :

[ERROR] Inconsistent synchronization of 
org.apache.flume.api.AbstractRpcClient.connectTimeout; locked 55% of time 
[org.apache.flume.api.NettyAvroRpcClient, 
org.apache.flume.api.NettyAvroRpcClient, 
org.apache.flume.api.NettyAvroRpcClient, 
org.apache.flume.api.NettyAvroRpcClient, 
org.apache.flume.api.NettyAvroRpcClient, 
org.apache.flume.api.NettyAvroRpcClient, 
org.apache.flume.api.NettyAvroRpcClient, 
org.apache.flume.api.NettyAvroRpcClient, 
org.apache.flume.api.NettyAvroRpcClient] Unsynchronized access at 
NettyAvroRpcClient.java:[line 276]Unsynchronized access at 
NettyAvroRpcClient.java:[line 278]Unsynchronized access at 
NettyAvroRpcClient.java:[line 352]Unsynchronized access at 
NettyAvroRpcClient.java:[line 354]Synchronized access at 
NettyAvroRpcClient.java:[line 115]Synchronized access at 
NettyAvroRpcClient.java:[line 527]Synchronized access at 
NettyAvroRpcClient.java:[line 533]Synchronized access at 
NettyAvroRpcClient.java:[line 534]Synchronized access at 
NettyAvroRpcClient.java:[line 537] IS2_INCONSISTENT_SYNC
[ERROR] Inconsistent synchronization of 
org.apache.flume.api.AbstractRpcClient.requestTimeout; locked 50% of time 
[org.apache.flume.api.NettyAvroRpcClient, 
org.apache.flume.api.NettyAvroRpcClient, 
org.apache.flume.api.NettyAvroRpcClient, 
org.apache.flume.api.NettyAvroRpcClient, 
org.apache.flume.api.NettyAvroRpcClient, 
org.apache.flume.api.NettyAvroRpcClient, 
org.apache.flume.api.NettyAvroRpcClient, 
org.apache.flume.api.NettyAvroRpcClient] Unsynchronized access at 
NettyAvroRpcClient.java:[line 233]Unsynchronized access at 
NettyAvroRpcClient.java:[line 242]Unsynchronized access at 
NettyAvroRpcClient.java:[line 298]Unsynchronized access at 
NettyAvroRpcClient.java:[line 307]Synchronized access at 
NettyAvroRpcClient.java:[line 546]Synchronized access at 
NettyAvroRpcClient.java:[line 552]Synchronized access at 
NettyAvroRpcClient.java:[line 553]Synchronized access at 
NettyAvroRpcClient.java:[line 556] IS2_INCONSISTENT_SYNC
[ERROR] Inconsistent synchronization of 
org.apache.flume.api.FailoverRpcClient.hosts; locked 87% of time 
[org.apache.flume.api.FailoverRpcClient, 
org.apache.flume.api.FailoverRpcClient, org.apache.flume.api.FailoverRpcClient, 
org.apache.flume.api.FailoverRpcClient, org.apache.flume.api.FailoverRpcClient, 
org.apache.flume.api.FailoverRpcClient, org.apache.flume.api.FailoverRpcClient, 
org.apache.flume.api.FailoverRpcClient] Unsynchronized access at 
FailoverRpcClient.java:[line 228]Synchronized access at 
FailoverRpcClient.java:[line 78]Synchronized access at 
FailoverRpcClient.java:[line 82]Synchronized access at 
FailoverRpcClient.java:[line 87]Synchronized access at 
FailoverRpcClient.java:[line 235]Synchronized access at 
FailoverRpcClient.java:[line 237]Synchronized access at 
FailoverRpcClient.java:[line 245]Synchronized access at 
FailoverRpcClient.java:[line 257] IS2_INCONSISTENT_SYNC
[ERROR] Inconsistent synchronization of 
org.apache.flume.api.FailoverRpcClient.maxTries; locked 50% of time 
[org.apache.flume.api.FailoverRpcClient, 
org.apache.flume.api.FailoverRpcClient, org.apache.flume.api.FailoverRpcClient, 
org.apache.flume.api.FailoverRpcClient, org.apache.flume.api.FailoverRpcClient, 
org.apache.flume.api.FailoverRpcClient] Unsynchronized access at 
FailoverRpcClient.java:[line 140]Unsynchronized access at 
FailoverRpcClient.java:[line 181]Unsynchronized access at 
FailoverRpcClient.java:[line 104]Synchronized access at 
FailoverRpcClient.java:[line 82]Synchronized access at 
FailoverRpcClient.java:[line 85]Synchronized access at 
FailoverRpcClient.java:[line 87] IS2_INCONSISTENT_SYNC
[ERROR] Load of known null value in 
org.apache.flume.api.FailoverRpcClient.getNextClient() 
[org.apache.flume.api.FailoverRpcClient] At FailoverRpcClient.java:[line 268] 
NP_LOAD_OF_KNOWN_NULL_VALUE
[ERROR] Redundant nullcheck of localClient which is known to be null in 
org.apache.flume.api.FailoverRpcClient.getNextClient() 
[org.apache.flume.api.FailoverRpcClient] Redundant null check at 
FailoverRpcClient.java:[line 268] RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE
[ERROR] Class org.apache.flume.api.FailoverRpcClient implements same interface 
as superclass [org.apache.flume.api.FailoverRpcClient] At 
FailoverRpcClient.java:[lines 59-290] RI_REDUNDANT_INTERFACES
[ERROR] Inconsistent synchronization of 
org.apache.flume.api.LoadBalancingRpcClient.clientMap; locked 75% of time 
[org.apache.flume.api.LoadBalancingRpcClient, 
org.apache.flume.api.LoadBalancingRpcClient, 
org.apache.flume.api.LoadBalancingRpcClient, 
org.apache.flume.api.LoadBalancingRpcClient] Unsynchronized access at 
LoadBalancingRpcClient.java:[line 143]Synchronized access at 
LoadBalancingRpcClient.java:[line 196]Synchronized access at 
LoadBalancingRpcClient.java:[line 199]Synchronized access at 
LoadBalancingRpcClient.java:[line 207] IS2_INCONSISTENT_SYNC
[ERROR] org.apache.flume.api.LoadBalancingRpcClient.close() makes inefficient 
use of keySet iterator instead of entrySet iterator 
[org.apache.flume.api.LoadBalancingRpcClient] At 
LoadBalancingRpcClient.java:[line 128] WMI_WRONG_MAP_ITERATOR
[ERROR] Redundant nullcheck of 
org.apache.flume.api.NettyAvroRpcClient.callTimeoutPool, which is known to be 
non-null in org.apache.flume.api.NettyAvroRpcClient.connect(long, TimeUnit) 
[org.apache.flume.api.NettyAvroRpcClient] Redundant null check at 
NettyAvroRpcClient.java:[line 170] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE
[ERROR] 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory.newChannel(ChannelPipeline)
 may fail to clean up java.io.InputStream 
[org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory, 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory, 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory, 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory, 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory, 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory, 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory, 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory, 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory, 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory, 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory, 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory, 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory, 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory, 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory, 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory, 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory, 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory, 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory, 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory, 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory, 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory, 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory, 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory, 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory, 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory] 
Obligation to clean up resource created at NettyAvroRpcClient.java:[line 707] 
is not dischargedPath continues at NettyAvroRpcClient.java:[line 708]Path 
continues at NettyAvroRpcClient.java:[line 709]Path continues at 
NettyAvroRpcClient.java:[line 710]Path continues at 
NettyAvroRpcClient.java:[line 709]Path continues at 
NettyAvroRpcClient.java:[line 713]Path continues at 
NettyAvroRpcClient.java:[line 716]Path continues at 
NettyAvroRpcClient.java:[line 717]Path continues at 
NettyAvroRpcClient.java:[line 720]Path continues at 
NettyAvroRpcClient.java:[line 721]Path continues at 
NettyAvroRpcClient.java:[line 722]Path continues at 
NettyAvroRpcClient.java:[line 723]Path continues at 
NettyAvroRpcClient.java:[line 725]Path continues at 
NettyAvroRpcClient.java:[line 726]Path continues at 
NettyAvroRpcClient.java:[line 732]Path continues at 
NettyAvroRpcClient.java:[line 734]Path continues at 
NettyAvroRpcClient.java:[line 735]Path continues at 
NettyAvroRpcClient.java:[line 741]Path continues at 
NettyAvroRpcClient.java:[line 743]Path continues at 
NettyAvroRpcClient.java:[line 744]Path continues at 
NettyAvroRpcClient.java:[line 743]Path continues at 
NettyAvroRpcClient.java:[line 745]Path continues at 
NettyAvroRpcClient.java:[line 746]Path continues at 
NettyAvroRpcClient.java:[line 745]Path continues at 
NettyAvroRpcClient.java:[line 750]Path continues at 
NettyAvroRpcClient.java:[line 753] OBL_UNSATISFIED_OBLIGATION
[ERROR] 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory.newChannel(ChannelPipeline)
 may fail to close stream 
[org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory] At 
NettyAvroRpcClient.java:[line 707] OS_OPEN_STREAM
[ERROR] Exception is caught when Exception is not thrown in 
org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory.newChannel(ChannelPipeline)
 [org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory] At 
NettyAvroRpcClient.java:[line 754] REC_CATCH_EXCEPTION
[ERROR] Found reliance on default encoding in 
org.apache.flume.api.RpcClientFactory.getInstance(File): new 
java.io.FileReader(File) [org.apache.flume.api.RpcClientFactory] At 
RpcClientFactory.java:[line 105] DM_DEFAULT_ENCODING
[ERROR] org.apache.flume.api.RpcClientFactory.getInstance(File) may fail to 
clean up java.io.Reader [org.apache.flume.api.RpcClientFactory, 
org.apache.flume.api.RpcClientFactory, org.apache.flume.api.RpcClientFactory, 
org.apache.flume.api.RpcClientFactory] Obligation to clean up resource created 
at RpcClientFactory.java:[line 105] is not dischargedPath continues at 
RpcClientFactory.java:[line 106]Path continues at RpcClientFactory.java:[line 
107]Path continues at RpcClientFactory.java:[line 108] 
OBL_UNSATISFIED_OBLIGATION
[ERROR] org.apache.flume.api.RpcClientFactory.getInstance(File) may fail to 
close stream [org.apache.flume.api.RpcClientFactory] At 
RpcClientFactory.java:[line 105] OS_OPEN_STREAM
[ERROR] Unchecked/unconfirmed cast from java.net.Socket to 
javax.net.ssl.SSLSocket of return value in 
org.apache.flume.api.ThriftRpcClient.createSSLSocket(SSLSocketFactory, String, 
int, int, Set, Set, Set, Set) [org.apache.flume.api.ThriftRpcClient] At 
ThriftRpcClient.java:[line 516] BC_UNCONFIRMED_CAST_OF_RETURN_VALUE
[ERROR] org.apache.flume.api.ThriftRpcClient.createSSLContext(String, String, 
String) may fail to clean up java.io.InputStream 
[org.apache.flume.api.ThriftRpcClient, org.apache.flume.api.ThriftRpcClient, 
org.apache.flume.api.ThriftRpcClient, org.apache.flume.api.ThriftRpcClient, 
org.apache.flume.api.ThriftRpcClient, org.apache.flume.api.ThriftRpcClient, 
org.apache.flume.api.ThriftRpcClient, org.apache.flume.api.ThriftRpcClient] 
Obligation to clean up resource created at ThriftRpcClient.java:[line 497] is 
not dischargedPath continues at ThriftRpcClient.java:[line 498]Path continues 
at ThriftRpcClient.java:[line 497]Path continues at ThriftRpcClient.java:[line 
499]Path continues at ThriftRpcClient.java:[line 502]Path continues at 
ThriftRpcClient.java:[line 503]Path continues at ThriftRpcClient.java:[line 
507]Path continues at ThriftRpcClient.java:[line 508] OBL_UNSATISFIED_OBLIGATION
[ERROR] org.apache.flume.api.ThriftRpcClient.createSSLContext(String, String, 
String) may fail to close stream [org.apache.flume.api.ThriftRpcClient] At 
ThriftRpcClient.java:[line 497] OS_OPEN_STREAM
[ERROR] Exception is caught when Exception is not thrown in 
org.apache.flume.api.ThriftRpcClient.createSSLContext(String, String, String) 
[org.apache.flume.api.ThriftRpcClient] At ThriftRpcClient.java:[line 505] 
REC_CATCH_EXCEPTION
[ERROR] Exception is caught when Exception is not thrown in 
org.apache.flume.api.ThriftRpcClient.createSSLSocket(SSLSocketFactory, String, 
int, int, Set, Set, Set, Set) [org.apache.flume.api.ThriftRpcClient] At 
ThriftRpcClient.java:[line 538] REC_CATCH_EXCEPTION
[ERROR] The class org.apache.flume.api.ThriftRpcClient$2 could be refactored 
into a named _static_ inner class [org.apache.flume.api.ThriftRpcClient] At 
ThriftRpcClient.java:[line 203] SIC_INNER_SHOULD_BE_STATIC_ANON
[ERROR] The class org.apache.flume.api.ThriftRpcClient$3 could be refactored 
into a named _static_ inner class [org.apache.flume.api.ThriftRpcClient] At 
ThriftRpcClient.java:[line 219] SIC_INNER_SHOULD_BE_STATIC_ANON
[ERROR] org.apache.flume.api.ThriftRpcClient$ClientWrapper.equals(Object) is 
unusual [org.apache.flume.api.ThriftRpcClient$ClientWrapper] At 
ThriftRpcClient.java:[lines 384-392] EQ_UNUSUAL
[ERROR] The class org.apache.flume.api.ThriftRpcClient$ClientWrapper could be 
refactored into a _static_ inner class 
[org.apache.flume.api.ThriftRpcClient$ClientWrapper] At 
ThriftRpcClient.java:[lines 344-396] SIC_INNER_SHOULD_BE_STATIC_NEEDS_THIS
[ERROR] Found reliance on default encoding in 
org.apache.flume.event.JSONEvent.setBody(byte[]): new String(byte[]) 
[org.apache.flume.event.JSONEvent] At JSONEvent.java:[line 61] 
DM_DEFAULT_ENCODING
[ERROR] org.apache.flume.event.SimpleEvent.getBody() may expose internal 
representation by returning SimpleEvent.body 
[org.apache.flume.event.SimpleEvent] At SimpleEvent.java:[line 49] EI_EXPOSE_REP
[ERROR] Class org.apache.flume.source.avro.AvroFlumeEvent implements same 
interface as superclass [org.apache.flume.source.avro.AvroFlumeEvent] At 
AvroFlumeEvent.java:[lines 10-89] RI_REDUNDANT_INTERFACES
[ERROR] Class org.apache.flume.source.avro.AvroFlumeEvent$Builder implements 
same interface as superclass 
[org.apache.flume.source.avro.AvroFlumeEvent$Builder] At 
AvroFlumeEvent.java:[lines 95-182] RI_REDUNDANT_INTERFACES
[ERROR] Class org.apache.flume.thrift.ThriftFlumeEvent implements Cloneable but 
does not define or use clone method [org.apache.flume.thrift.ThriftFlumeEvent] 
At ThriftFlumeEvent.java:[lines 54-441] CN_IDIOM
[ERROR] Primitive is boxed to call Boolean.compareTo(Boolean): use 
Boolean.compare(boolean, boolean) instead 
[org.apache.flume.thrift.ThriftFlumeEvent, 
org.apache.flume.thrift.ThriftFlumeEvent] At ThriftFlumeEvent.java:[line 
357]Another occurrence at ThriftFlumeEvent.java:[line 367] 
DM_BOXED_PRIMITIVE_FOR_COMPARE
[ERROR] org.apache.flume.thrift.ThriftFlumeEvent is Serializable; consider 
declaring a serialVersionUID [org.apache.flume.thrift.ThriftFlumeEvent] At 
ThriftFlumeEvent.java:[lines 54-441] SE_NO_SERIALVERSIONID
[ERROR] Unchecked/unconfirmed cast from org.apache.thrift.protocol.TProtocol to 
org.apache.thrift.protocol.TTupleProtocol in 
org.apache.flume.thrift.ThriftFlumeEvent$ThriftFlumeEventTupleScheme.read(TProtocol,
 ThriftFlumeEvent) 
[org.apache.flume.thrift.ThriftFlumeEvent$ThriftFlumeEventTupleScheme] At 
ThriftFlumeEvent.java:[line 552] BC_UNCONFIRMED_CAST
[ERROR] Unchecked/unconfirmed cast from org.apache.thrift.protocol.TProtocol to 
org.apache.thrift.protocol.TTupleProtocol in 
org.apache.flume.thrift.ThriftFlumeEvent$ThriftFlumeEventTupleScheme.write(TProtocol,
 ThriftFlumeEvent) 
[org.apache.flume.thrift.ThriftFlumeEvent$ThriftFlumeEventTupleScheme] At 
ThriftFlumeEvent.java:[line 538] BC_UNCONFIRMED_CAST
[ERROR] The class name 
org.apache.flume.thrift.ThriftSourceProtocol$AsyncProcessor$append doesn't 
start with an upper case letter 
[org.apache.flume.thrift.ThriftSourceProtocol$AsyncProcessor$append] At 
ThriftSourceProtocol.java:[lines 298-346] NM_CLASS_NAMING_CONVENTION
[ERROR] Impossible cast from org.apache.thrift.TApplicationException to 
org.apache.thrift.TBase in 
org.apache.flume.thrift.ThriftSourceProtocol$AsyncProcessor$append$1.onError(Exception)
 [org.apache.flume.thrift.ThriftSourceProtocol$AsyncProcessor$append$1] At 
ThriftSourceProtocol.java:[line 327] BC_IMPOSSIBLE_CAST
[ERROR] Dead store to result in 
org.apache.flume.thrift.ThriftSourceProtocol$AsyncProcessor$append$1.onError(Exception)
 [org.apache.flume.thrift.ThriftSourceProtocol$AsyncProcessor$append$1] At 
ThriftSourceProtocol.java:[line 324] DLS_DEAD_LOCAL_STORE
[ERROR] The class name 
org.apache.flume.thrift.ThriftSourceProtocol$AsyncProcessor$appendBatch doesn't 
start with an upper case letter 
[org.apache.flume.thrift.ThriftSourceProtocol$AsyncProcessor$appendBatch] At 
ThriftSourceProtocol.java:[lines 349-397] NM_CLASS_NAMING_CONVENTION
[ERROR] Impossible cast from org.apache.thrift.TApplicationException to 
org.apache.thrift.TBase in 
org.apache.flume.thrift.ThriftSourceProtocol$AsyncProcessor$appendBatch$1.onError(Exception)
 [org.apache.flume.thrift.ThriftSourceProtocol$AsyncProcessor$appendBatch$1] At 
ThriftSourceProtocol.java:[line 378] BC_IMPOSSIBLE_CAST
[ERROR] Dead store to result in 
org.apache.flume.thrift.ThriftSourceProtocol$AsyncProcessor$appendBatch$1.onError(Exception)
 [org.apache.flume.thrift.ThriftSourceProtocol$AsyncProcessor$appendBatch$1] At 
ThriftSourceProtocol.java:[line 375] DLS_DEAD_LOCAL_STORE
[ERROR] Class org.apache.flume.thrift.ThriftSourceProtocol$Processor implements 
same interface as superclass 
[org.apache.flume.thrift.ThriftSourceProtocol$Processor] At 
ThriftSourceProtocol.java:[lines 225-237] RI_REDUNDANT_INTERFACES
[ERROR] The class name 
org.apache.flume.thrift.ThriftSourceProtocol$Processor$append doesn't start 
with an upper case letter 
[org.apache.flume.thrift.ThriftSourceProtocol$Processor$append] At 
ThriftSourceProtocol.java:[lines 240-256] NM_CLASS_NAMING_CONVENTION
[ERROR] The class name 
org.apache.flume.thrift.ThriftSourceProtocol$Processor$appendBatch doesn't 
start with an upper case letter 
[org.apache.flume.thrift.ThriftSourceProtocol$Processor$appendBatch] At 
ThriftSourceProtocol.java:[lines 260-276] NM_CLASS_NAMING_CONVENTION
[ERROR] Class org.apache.flume.thrift.ThriftSourceProtocol$appendBatch_args 
implements Cloneable but does not define or use clone method 
[org.apache.flume.thrift.ThriftSourceProtocol$appendBatch_args] At 
ThriftSourceProtocol.java:[lines 1145-1438] CN_IDIOM
[ERROR] Primitive is boxed to call Boolean.compareTo(Boolean): use 
Boolean.compare(boolean, boolean) instead 
[org.apache.flume.thrift.ThriftSourceProtocol$appendBatch_args] At 
ThriftSourceProtocol.java:[line 1378] DM_BOXED_PRIMITIVE_FOR_COMPARE
[ERROR] org.apache.flume.thrift.ThriftSourceProtocol$appendBatch_args is 
Serializable; consider declaring a serialVersionUID 
[org.apache.flume.thrift.ThriftSourceProtocol$appendBatch_args] At 
ThriftSourceProtocol.java:[lines 1145-1438] SE_NO_SERIALVERSIONID
[ERROR] Unchecked/unconfirmed cast from org.apache.thrift.protocol.TProtocol to 
org.apache.thrift.protocol.TTupleProtocol in 
org.apache.flume.thrift.ThriftSourceProtocol$appendBatch_args$appendBatch_argsTupleScheme.read(TProtocol,
 ThriftSourceProtocol$appendBatch_args) 
[org.apache.flume.thrift.ThriftSourceProtocol$appendBatch_args$appendBatch_argsTupleScheme]
 At ThriftSourceProtocol.java:[line 1539] BC_UNCONFIRMED_CAST
[ERROR] Unchecked/unconfirmed cast from org.apache.thrift.protocol.TProtocol to 
org.apache.thrift.protocol.TTupleProtocol in 
org.apache.flume.thrift.ThriftSourceProtocol$appendBatch_args$appendBatch_argsTupleScheme.write(TProtocol,
 ThriftSourceProtocol$appendBatch_args) 
[org.apache.flume.thrift.ThriftSourceProtocol$appendBatch_args$appendBatch_argsTupleScheme]
 At ThriftSourceProtocol.java:[line 1520] BC_UNCONFIRMED_CAST
[ERROR] Class org.apache.flume.thrift.ThriftSourceProtocol$appendBatch_result 
implements Cloneable but does not define or use clone method 
[org.apache.flume.thrift.ThriftSourceProtocol$appendBatch_result] At 
ThriftSourceProtocol.java:[lines 1560-1849] CN_IDIOM
[ERROR] Primitive is boxed to call Boolean.compareTo(Boolean): use 
Boolean.compare(boolean, boolean) instead 
[org.apache.flume.thrift.ThriftSourceProtocol$appendBatch_result] At 
ThriftSourceProtocol.java:[line 1789] DM_BOXED_PRIMITIVE_FOR_COMPARE
[ERROR] org.apache.flume.thrift.ThriftSourceProtocol$appendBatch_result is 
Serializable; consider declaring a serialVersionUID 
[org.apache.flume.thrift.ThriftSourceProtocol$appendBatch_result] At 
ThriftSourceProtocol.java:[lines 1560-1849] SE_NO_SERIALVERSIONID
[ERROR] Unchecked/unconfirmed cast from org.apache.thrift.protocol.TProtocol to 
org.apache.thrift.protocol.TTupleProtocol in 
org.apache.flume.thrift.ThriftSourceProtocol$appendBatch_result$appendBatch_resultTupleScheme.read(TProtocol,
 ThriftSourceProtocol$appendBatch_result) 
[org.apache.flume.thrift.ThriftSourceProtocol$appendBatch_result$appendBatch_resultTupleScheme]
 At ThriftSourceProtocol.java:[line 1926] BC_UNCONFIRMED_CAST
[ERROR] Unchecked/unconfirmed cast from org.apache.thrift.protocol.TProtocol to 
org.apache.thrift.protocol.TTupleProtocol in 
org.apache.flume.thrift.ThriftSourceProtocol$appendBatch_result$appendBatch_resultTupleScheme.write(TProtocol,
 ThriftSourceProtocol$appendBatch_result) 
[org.apache.flume.thrift.ThriftSourceProtocol$appendBatch_result$appendBatch_resultTupleScheme]
 At ThriftSourceProtocol.java:[line 1913] BC_UNCONFIRMED_CAST
[ERROR] Class org.apache.flume.thrift.ThriftSourceProtocol$append_args 
implements Cloneable but does not define or use clone method 
[org.apache.flume.thrift.ThriftSourceProtocol$append_args] At 
ThriftSourceProtocol.java:[lines 402-678] CN_IDIOM
[ERROR] Primitive is boxed to call Boolean.compareTo(Boolean): use 
Boolean.compare(boolean, boolean) instead 
[org.apache.flume.thrift.ThriftSourceProtocol$append_args] At 
ThriftSourceProtocol.java:[line 615] DM_BOXED_PRIMITIVE_FOR_COMPARE
[ERROR] org.apache.flume.thrift.ThriftSourceProtocol$append_args is 
Serializable; consider declaring a serialVersionUID 
[org.apache.flume.thrift.ThriftSourceProtocol$append_args] At 
ThriftSourceProtocol.java:[lines 402-678] SE_NO_SERIALVERSIONID
[ERROR] Unchecked/unconfirmed cast from org.apache.thrift.protocol.TProtocol to 
org.apache.thrift.protocol.TTupleProtocol in 
org.apache.flume.thrift.ThriftSourceProtocol$append_args$append_argsTupleScheme.read(TProtocol,
 ThriftSourceProtocol$append_args) 
[org.apache.flume.thrift.ThriftSourceProtocol$append_args$append_argsTupleScheme]
 At ThriftSourceProtocol.java:[line 756] BC_UNCONFIRMED_CAST
[ERROR] Unchecked/unconfirmed cast from org.apache.thrift.protocol.TProtocol to 
org.apache.thrift.protocol.TTupleProtocol in 
org.apache.flume.thrift.ThriftSourceProtocol$append_args$append_argsTupleScheme.write(TProtocol,
 ThriftSourceProtocol$append_args) 
[org.apache.flume.thrift.ThriftSourceProtocol$append_args$append_argsTupleScheme]
 At ThriftSourceProtocol.java:[line 743] BC_UNCONFIRMED_CAST
[ERROR] Class org.apache.flume.thrift.ThriftSourceProtocol$append_result 
implements Cloneable but does not define or use clone method 
[org.apache.flume.thrift.ThriftSourceProtocol$append_result] At 
ThriftSourceProtocol.java:[lines 768-1057] CN_IDIOM
[ERROR] Primitive is boxed to call Boolean.compareTo(Boolean): use 
Boolean.compare(boolean, boolean) instead 
[org.apache.flume.thrift.ThriftSourceProtocol$append_result] At 
ThriftSourceProtocol.java:[line 997] DM_BOXED_PRIMITIVE_FOR_COMPARE
[ERROR] org.apache.flume.thrift.ThriftSourceProtocol$append_result is 
Serializable; consider declaring a serialVersionUID 
[org.apache.flume.thrift.ThriftSourceProtocol$append_result] At 
ThriftSourceProtocol.java:[lines 768-1057] SE_NO_SERIALVERSIONID
[ERROR] Unchecked/unconfirmed cast from org.apache.thrift.protocol.TProtocol to 
org.apache.thrift.protocol.TTupleProtocol in 
org.apache.flume.thrift.ThriftSourceProtocol$append_result$append_resultTupleScheme.read(TProtocol,
 ThriftSourceProtocol$append_result) 
[org.apache.flume.thrift.ThriftSourceProtocol$append_result$append_resultTupleScheme]
 At ThriftSourceProtocol.java:[line 1134] BC_UNCONFIRMED_CAST
[ERROR] Unchecked/unconfirmed cast from org.apache.thrift.protocol.TProtocol to 
org.apache.thrift.protocol.TTupleProtocol in 
org.apache.flume.thrift.ThriftSourceProtocol$append_result$append_resultTupleScheme.write(TProtocol,
 ThriftSourceProtocol$append_result) 
[org.apache.flume.thrift.ThriftSourceProtocol$append_result$append_resultTupleScheme]
 At ThriftSourceProtocol.java:[line 1121] BC_UNCONFIRMED_CAST
[ERROR] Result of integer multiplication cast to long in 
org.apache.flume.util.OrderSelector.informFailure(Object) 
[org.apache.flume.util.OrderSelector, org.apache.flume.util.OrderSelector] At 
OrderSelector.java:[line 104]Another occurrence at OrderSelector.java:[line 
117] ICAST_INTEGER_MULTIPLY_CAST_TO_LONG
[ERROR] org.apache.flume.util.OrderSelector.getIndexList() makes inefficient 
use of keySet iterator instead of entrySet iterator 
[org.apache.flume.util.OrderSelector] At OrderSelector.java:[line 131] 
WMI_WRONG_MAP_ITERATOR
[ERROR] new org.apache.flume.util.SpecificOrderIterator(int[], List) may expose 
internal representation by storing an externally mutable object into 
SpecificOrderIterator.order [org.apache.flume.util.SpecificOrderIterator] At 
SpecificOrderIterator.java:[line 37] EI_EXPOSE_REP2
[ERROR] org.apache.flume.util.SpecificOrderIterator.next() can't throw 
NoSuchElementException [org.apache.flume.util.SpecificOrderIterator] At 
SpecificOrderIterator.java:[line 48] IT_NO_SUCH_ELEMENT
[INFO]
[INFO] >>> maven-pmd-plugin:3.11.0:check (verify.pmd) > :pmd @ flume-ng-sdk >>>
[INFO]
...



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

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

Reply via email to