@InterfaceAudience.Private public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static List<org.apache.hadoop.fs.FileSystem.Statistics> |
getFsStatistics(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf)
Gets a handle to the Statistics instance based on the scheme associated
with path.
|
static org.apache.hadoop.mapred.Counters.Counter |
getMRCounter(org.apache.tez.common.counters.TezCounter tezCounter) |
@InterfaceAudience.Private public static List<org.apache.hadoop.fs.FileSystem.Statistics> getFsStatistics(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf) throws IOException
path - the path.conf - the configuration to extract the scheme from if not part of
the path.IOExceptionpublic static org.apache.hadoop.mapred.Counters.Counter getMRCounter(org.apache.tez.common.counters.TezCounter tezCounter)
Copyright © 2016 Apache Software Foundation. All rights reserved.