FindBugs Report

Project Information

Project: Apache Hadoop YARN Common

FindBugs version: 3.0.0

Code analyzed:



Metrics

48368 lines of code analyzed, in 764 classes, in 37 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)



Contents

Summary

Warning Type Number
Bad practice Warnings 1
Total 1

Warnings

Click on a warning row to see full context information.

Bad practice Warnings

Code Warning
Dm org.apache.hadoop.yarn.event.EventDispatcher$EventProcessor.run() invokes System.exit(...), which shuts down the entire virtual machine

Details

DM_EXIT: Method invokes System.exit(...)

Invoking System.exit shuts down the entire Java virtual machine. This should only been done when it is appropriate. Such calls make it hard or impossible for your code to be invoked by other code. Consider throwing a RuntimeException instead.