com.cloudera.api.model
Class ApiImpalaUtilization

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

public class ApiImpalaUtilization
extends Object

Utilization report information of a Impala application service.


Constructor Summary
ApiImpalaUtilization()
           
 
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 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.
 String getErrorMessage()
          error message of utilization report.
 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 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.
 Double getOomQueriesPercentage()
          Percentage 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 getRejectedQueriesPercentage()
          Percentage of queries that were rejected by Impala because the pool was full.
 Double getSuccessfulQueries()
          Number of queries that finished successfully.
 Double getSuccessfulQueriesPercentage()
          Percentage of queries that finished successfully.
 ApiImpalaTenantUtilizationList getTenantUtilizations()
          A list of tenant utilization reports.
 Double getTimeOutQueries()
          Number of queries that timed out while waiting for resources in a pool.
 Double getTimeOutQueriesPercentage()
          Percentage 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 setAvgWaitTimeInQueue(Double avgWaitTimeInQueue)
           
 void setDistributionAllocatedByImpalaDaemon(ApiImpalaUtilizationHistogram distributionAllocatedByImpalaDaemon)
           
 void setDistributionUtilizedByImpalaDaemon(ApiImpalaUtilizationHistogram distributionUtilizedByImpalaDaemon)
           
 void setErrorMessage(String errorMessage)
           
 void setMaxAllocatedMemory(Double maxAllocatedMemory)
           
 void setMaxAllocatedMemoryPercentage(Double maxAllocatedMemoryPercentage)
           
 void setMaxUtilizedMemory(Double maxUtilizedMemory)
           
 void setMaxUtilizedMemoryPercentage(Double maxUtilizedMemoryPercentage)
           
 void setOomQueries(Double oomQueries)
           
 void setOomQueriesPercentage(Double oomQueriesPercentage)
           
 void setPeakAllocationTimestampMS(Long peakAllocationTimestampMS)
           
 void setPeakUsageTimestampMS(Long peakUsageTimestampMS)
           
 void setRejectedQueries(Double rejectedQueries)
           
 void setRejectedQueriesPercentage(Double rejectedQueriesPercentage)
           
 void setSuccessfulQueries(Double successfulQueries)
           
 void setSuccessfulQueriesPercentage(Double successfulQueriesPercentage)
           
 void setTenantUtilizations(ApiImpalaTenantUtilizationList tenantUtilizations)
           
 void setTimeOutQueries(Double timeOutQueries)
           
 void setTimeOutQueriesPercentage(Double timeOutQueriesPercentage)
           
 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

ApiImpalaUtilization

public ApiImpalaUtilization()
Method Detail

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)

getSuccessfulQueriesPercentage

public Double getSuccessfulQueriesPercentage()
Percentage of queries that finished successfully.


setSuccessfulQueriesPercentage

public void setSuccessfulQueriesPercentage(Double successfulQueriesPercentage)

getOomQueriesPercentage

public Double getOomQueriesPercentage()
Percentage of queries that failed due to insufficient memory.


setOomQueriesPercentage

public void setOomQueriesPercentage(Double oomQueriesPercentage)

getTimeOutQueriesPercentage

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


setTimeOutQueriesPercentage

public void setTimeOutQueriesPercentage(Double timeOutQueriesPercentage)

getRejectedQueriesPercentage

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


setRejectedQueriesPercentage

public void setRejectedQueriesPercentage(Double rejectedQueriesPercentage)

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 distributionUtilizedByImpalaDaemon)

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 distributionAllocatedByImpalaDaemon)

getTenantUtilizations

public ApiImpalaTenantUtilizationList getTenantUtilizations()
A list of tenant utilization reports.


setTenantUtilizations

public void setTenantUtilizations(ApiImpalaTenantUtilizationList tenantUtilizations)

getErrorMessage

public String getErrorMessage()
error message of utilization report.


setErrorMessage

public void setErrorMessage(String errorMessage)

toString

public String toString()
Overrides:
toString in class Object


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