Yeah, only when HADOOP_PROVIDED is set to true.

Based on a grep for org.apache.hadoop, it's used in core, streaming, yarn, examples, and repl.