com.cloudera.api.model
Class ApiImpalaTenantUtilization

java.lang.Object
  extended by com.cloudera.api.model.ApiImpalaTenantUtilization

public class ApiImpalaTenantUtilization
extends Object

Utilization report information of a tenant of Impala application.


Constructor Summary
ApiImpalaTenantUtilization()
           
 
Method Summary
 Double getAllocatedAtMaxUtilized()
          The amount of memory (in bytes) reserved by Impala at the time when it was using the maximum memory for executing queries.
 Double getAllocatedAtMaxUtilizedPercentage()
          The percentage of memory reserved by Impala at the time when it was using the maximum memory for executing queries.
 Double getAvgSpilledMemory()
          Average spill per query.
 Double getAvgWaitTimeInQueue()
          Average time, in milliseconds, spent by a query in an Impala pool while waiting for resources.
 ApiImpalaUtilizationHistogram getDistributionAllocatedByImpalaDaemon()
          Distribution of memory reserved per Impala daemon for executing queries at the time Impala used the maximum memory.
 ApiImpalaUtilizationHistogram getDistributionUtilizedByImpalaDaemon()
          Distribution of memory used per Impala daemon for executing queries at the time Impala used the maximum memory.
 Double getMaxAllocatedMemory()
          The maximum memory (in bytes) that was reserved by Impala for executing queries.
 Double getMaxAllocatedMemoryPercentage()
          The maximum percentage of memory that was reserved by Impala for executing queries.
 Double getMaxSpilledMemory()
          Maximum spill per query.
 Double getMaxUtilizedMemory()
          The maximum memory (in bytes) that was used by Impala for executing queries.
 Double getMaxUtilizedMemoryPercentage()
          The maximum percentage of memory that was used by Impala for executing queries.
 Double getOomQueries()
          Number of queries that failed due to insufficient memory.
 Long getPeakAllocationTimestampMS()
          The time when Impala reserved the maximum amount of memory for queries.
 Long getPeakUsageTimestampMS()
          The time when Impala used the maximum amount of memory for queries.
 Double getRejectedQueries()
          Number of queries that were rejected by Impala because the pool was full.
 Double getSuccessfulQueries()
          Number of queries that finished successfully.
 String getTenantName()
          Name of the tenant.
 Double getTimeOutQueries()
          Number of queries that timed out while waiting for resources in a pool.
 Double getTotalQueries()
          Total number of queries submitted to Impala.
 Double getUtilizedAtMaxAllocated()
          The amount of memory (in bytes) used by Impala for running queries at the time when maximum memory was reserved.
 Double getUtilizedAtMaxAllocatedPercentage()
          The percentage of memory used by Impala for running queries at the time when maximum memory was reserved.
 void setAllocatedAtMaxUtilized(Double allocatedAtMaxUtilized)
           
 void setAllocatedAtMaxUtilizedPercentage(Double allocatedAtMaxUtilizedPercentage)
           
 void setAvgSpilledMemory(Double avgSpilledMemory)
           
 void setAvgWaitTimeInQueue(Double avgWaitTimeInQueue)
           
 void setDistributionAllocatedByImpalaDaemon(ApiImpalaUtilizationHistogram distributionAllocatedByImpalad)
           
 void setDistributionUtilizedByImpalaDaemon(ApiImpalaUtilizationHistogram distributionUtilizedByImpalad)
           
 void setMaxAllocatedMemory(Double maxAllocatedMemory)
           
 void setMaxAllocatedMemoryPercentage(Double maxAllocatedMemoryPercentage)
           
 void setMaxSpilledMemory(Double maxSpilledMemory)
           
 void setMaxUtilizedMemory(Double maxUtilizedMemory)
           
 void setMaxUtilizedMemoryPercentage(Double maxUtilizedMemoryPercentage)
           
 void setOomQueries(Double oomQueries)
           
 void setPeakAllocationTimestampMS(Long peakAllocationTimestampMS)
           
 void setPeakUsageTimestampMS(Long peakUsageTimestampMS)
           
 void setRejectedQueries(Double rejectedQueries)
           
 void setSuccessfulQueries(Double successfulQueries)
           
 void setTenantName(String tenantName)
           
 void setTimeOutQueries(Double timeOutQueries)
           
 void setTotalQueries(Double totalQueries)
           
 void setUtilizedAtMaxAllocated(Double utilizedAtMaxAllocated)
           
 void setUtilizedAtMaxAllocatedPercentage(Double utilizedAtMaxAllocatedPercentage)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiImpalaTenantUtilization

public ApiImpalaTenantUtilization()
Method Detail

getTenantName

public String getTenantName()
Name of the tenant.


setTenantName

public void setTenantName(String tenantName)

getTotalQueries

public Double getTotalQueries()
Total number of queries submitted to Impala.


setTotalQueries

public void setTotalQueries(Double totalQueries)

getSuccessfulQueries

public Double getSuccessfulQueries()
Number of queries that finished successfully.


setSuccessfulQueries

public void setSuccessfulQueries(Double successfulQueries)

getOomQueries

public Double getOomQueries()
Number of queries that failed due to insufficient memory.


setOomQueries

public void setOomQueries(Double oomQueries)

getTimeOutQueries

public Double getTimeOutQueries()
Number of queries that timed out while waiting for resources in a pool.


setTimeOutQueries

public void setTimeOutQueries(Double timeOutQueries)

getRejectedQueries

public Double getRejectedQueries()
Number of queries that were rejected by Impala because the pool was full.


setRejectedQueries

public void setRejectedQueries(Double rejectedQueries)

getAvgWaitTimeInQueue

public Double getAvgWaitTimeInQueue()
Average time, in milliseconds, spent by a query in an Impala pool while waiting for resources.


setAvgWaitTimeInQueue

public void setAvgWaitTimeInQueue(Double avgWaitTimeInQueue)

getPeakAllocationTimestampMS

public Long getPeakAllocationTimestampMS()
The time when Impala reserved the maximum amount of memory for queries.


setPeakAllocationTimestampMS

public void setPeakAllocationTimestampMS(Long peakAllocationTimestampMS)

getMaxAllocatedMemory

public Double getMaxAllocatedMemory()
The maximum memory (in bytes) that was reserved by Impala for executing queries.


setMaxAllocatedMemory

public void setMaxAllocatedMemory(Double maxAllocatedMemory)

getMaxAllocatedMemoryPercentage

public Double getMaxAllocatedMemoryPercentage()
The maximum percentage of memory that was reserved by Impala for executing queries.


setMaxAllocatedMemoryPercentage

public void setMaxAllocatedMemoryPercentage(Double maxAllocatedMemoryPercentage)

getUtilizedAtMaxAllocated

public Double getUtilizedAtMaxAllocated()
The amount of memory (in bytes) used by Impala for running queries at the time when maximum memory was reserved.


setUtilizedAtMaxAllocated

public void setUtilizedAtMaxAllocated(Double utilizedAtMaxAllocated)

getUtilizedAtMaxAllocatedPercentage

public Double getUtilizedAtMaxAllocatedPercentage()
The percentage of memory used by Impala for running queries at the time when maximum memory was reserved.


setUtilizedAtMaxAllocatedPercentage

public void setUtilizedAtMaxAllocatedPercentage(Double utilizedAtMaxAllocatedPercentage)

getPeakUsageTimestampMS

public Long getPeakUsageTimestampMS()
The time when Impala used the maximum amount of memory for queries.


setPeakUsageTimestampMS

public void setPeakUsageTimestampMS(Long peakUsageTimestampMS)

getMaxUtilizedMemory

public Double getMaxUtilizedMemory()
The maximum memory (in bytes) that was used by Impala for executing queries.


setMaxUtilizedMemory

public void setMaxUtilizedMemory(Double maxUtilizedMemory)

getMaxUtilizedMemoryPercentage

public Double getMaxUtilizedMemoryPercentage()
The maximum percentage of memory that was used by Impala for executing queries.


setMaxUtilizedMemoryPercentage

public void setMaxUtilizedMemoryPercentage(Double maxUtilizedMemoryPercentage)

getAllocatedAtMaxUtilized

public Double getAllocatedAtMaxUtilized()
The amount of memory (in bytes) reserved by Impala at the time when it was using the maximum memory for executing queries.


setAllocatedAtMaxUtilized

public void setAllocatedAtMaxUtilized(Double allocatedAtMaxUtilized)

getAllocatedAtMaxUtilizedPercentage

public Double getAllocatedAtMaxUtilizedPercentage()
The percentage of memory reserved by Impala at the time when it was using the maximum memory for executing queries.


setAllocatedAtMaxUtilizedPercentage

public void setAllocatedAtMaxUtilizedPercentage(Double allocatedAtMaxUtilizedPercentage)

getDistributionUtilizedByImpalaDaemon

public ApiImpalaUtilizationHistogram getDistributionUtilizedByImpalaDaemon()
Distribution of memory used per Impala daemon for executing queries at the time Impala used the maximum memory.


setDistributionUtilizedByImpalaDaemon

public void setDistributionUtilizedByImpalaDaemon(ApiImpalaUtilizationHistogram distributionUtilizedByImpalad)

getDistributionAllocatedByImpalaDaemon

public ApiImpalaUtilizationHistogram getDistributionAllocatedByImpalaDaemon()
Distribution of memory reserved per Impala daemon for executing queries at the time Impala used the maximum memory.


setDistributionAllocatedByImpalaDaemon

public void setDistributionAllocatedByImpalaDaemon(ApiImpalaUtilizationHistogram distributionAllocatedByImpalad)

getAvgSpilledMemory

public Double getAvgSpilledMemory()
Average spill per query.


setAvgSpilledMemory

public void setAvgSpilledMemory(Double avgSpilledMemory)

getMaxSpilledMemory

public Double getMaxSpilledMemory()
Maximum spill per query.


setMaxSpilledMemory

public void setMaxSpilledMemory(Double maxSpilledMemory)

toString

public String toString()
Overrides:
toString in class Object


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.