Project: Apache Hadoop YARN NodeManager
FindBugs version: 3.0.0
Code analyzed:
57933 lines of code analyzed, in 1293 classes, in 35 packages.
| Metric | Total | Density* |
|---|---|---|
| High Priority Warnings | 0.00 | |
| Medium Priority Warnings | 1 | 0.02 |
| Total Warnings | 1 | 0.02 |
(* Defects per Thousand lines of non-commenting source statements)
| Warning Type | Number |
|---|---|
| Dodgy code Warnings | 1 |
| Total | 1 |
Click on a warning row to see full context information.
| Code | Warning |
|---|---|
| BC | Unchecked/unconfirmed cast from org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainersLauncherEvent to org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.SignalContainersLauncherEvent in org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainersLauncher.handle(ContainersLauncherEvent) |
This cast is unchecked, and not all instances of the type casted from can be cast to the type it is being cast to. Check that your program logic ensures that this cast will not fail.