hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthik Kambatla (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (MAPREDUCE-4239) gridmix has 11 findbugs warnings
Date Tue, 26 Mar 2013 20:43:15 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-4239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Karthik Kambatla resolved MAPREDUCE-4239.
-----------------------------------------

    Resolution: Duplicate
    
> gridmix has 11 findbugs warnings
> --------------------------------
>
>                 Key: MAPREDUCE-4239
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4239
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/gridmix
>    Affects Versions: 2.0.0-alpha
>            Reporter: Thomas Graves
>            Priority: Minor
>
> jira MAPREDUCE-3543 is mavenizing gridmix.  I found that gridmix has 11 findbugs warnings
while doing that jira that should be fixed or have excludes added for them.
> Code	Warning
> Se	org.apache.hadoop.mapred.gridmix.GridmixRecord$Comparator implements Comparator but
not Serializable
> Malicious code vulnerability Warnings
> Code	Warning
> EI	org.apache.hadoop.mapred.gridmix.SleepJob$SleepSplit.getLocations() may expose internal
representation by returning SleepJob$SleepSplit.locations
> EI2	new org.apache.hadoop.mapred.gridmix.SleepJob(Configuration, long, JobStory, Path,
UserGroupInformation, int, int, String[]) may expose internal representation by storing an
externally mutable object into SleepJob.hosts
> EI2	new org.apache.hadoop.mapred.gridmix.SleepJob$SleepSplit(int, long, long[], int,
String[]) may expose internal representation by storing an externally mutable object into
SleepJob$SleepSplit.locations
> EI2	new org.apache.hadoop.mapred.gridmix.SleepJob$SleepSplit(int, long, long[], int,
String[]) may expose internal representation by storing an externally mutable object into
SleepJob$SleepSplit.reduceDurations
> MS	org.apache.hadoop.mapred.gridmix.emulators.resourceusage.TotalHeapUsageEmulatorPlugin.ONE_MB
isn't final but should be
> MS	org.apache.hadoop.mapred.gridmix.emulators.resourceusage.TotalHeapUsageEmulatorPlugin$DefaultHeapUsageEmulator.heapSpace
isn't final but should be
> Multithreaded correctness Warnings
> Code	Warning
> JLM	Synchronization performed on java.util.concurrent.LinkedBlockingQueue in org.apache.hadoop.mapred.gridmix.JobMonitor.add(Statistics$JobStats)
> JLM	Synchronization performed on java.util.concurrent.BlockingQueue in org.apache.hadoop.mapred.gridmix.JobMonitor$MonitorThread.run()
> JLM	Synchronization performed on java.util.concurrent.BlockingQueue in org.apache.hadoop.mapred.gridmix.JobMonitor$MonitorThread.run()
> Dodgy Warnings
> Code	Warning
> REC	Exception is caught when Exception is not thrown in org.apache.hadoop.mapred.gridmix.ExecutionSummarizer.processJobState(Statistics$JobStats)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message