Class FsTracer

java.lang.Object
org.apache.hadoop.fs.FsTracer

@Private @Unstable public final class FsTracer extends Object
Holds the HTrace Tracer used for FileSystem operations. Ideally, this would be owned by the DFSClient, rather than global. However, the FileContext API may create a new DFSClient for each operation in some cases. Because of this, we cannot store this Tracer inside DFSClient. See HADOOP-6356 for details.
  • Method Details

    • get

      public static org.apache.hadoop.tracing.Tracer get(Configuration conf)