Packages

o

org.apache.spark.metrics.source

HiveCatalogMetrics

object HiveCatalogMetrics extends Source

Metrics for access to the hive external catalog.

Source
StaticSources.scala
Linear Supertypes
Source, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HiveCatalogMetrics
  2. Source
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. val METRIC_FILES_DISCOVERED: Counter

    Tracks the total number of files discovered off of the filesystem by InMemoryFileIndex.

  2. val METRIC_FILE_CACHE_HITS: Counter

    Tracks the total number of files served from the file status cache instead of discovered.

  3. val METRIC_HIVE_CLIENT_CALLS: Counter

    Tracks the total number of Hive client calls (e.g.

    Tracks the total number of Hive client calls (e.g. to lookup a table).

  4. val METRIC_PARALLEL_LISTING_JOB_COUNT: Counter

    Tracks the total number of Spark jobs launched for parallel file listing.

  5. val METRIC_PARTITIONS_FETCHED: Counter

    Tracks the total number of partition metadata entries fetched via the client api.

  6. def incrementFetchedPartitions(n: Int): Unit
  7. def incrementFileCacheHits(n: Int): Unit
  8. def incrementFilesDiscovered(n: Int): Unit
  9. def incrementHiveClientCalls(n: Int): Unit
  10. def incrementParallelListingJobCount(n: Int): Unit
  11. val metricRegistry: MetricRegistry
    Definition Classes
    HiveCatalogMetrics → Source
  12. def reset(): Unit

    Resets the values of all metrics to zero.

    Resets the values of all metrics to zero. This is useful in tests.

  13. val sourceName: String
    Definition Classes
    HiveCatalogMetrics → Source