Class TestFastFail.CallQueueTooBigPffeInterceptor

java.lang.Object
org.apache.hadoop.hbase.client.TestFastFail.CallQueueTooBigPffeInterceptor
Enclosing class:
TestFastFail

  • Field Details

    • numCallQueueTooBig

    • fastFailThresholdMilliSec

      protected final long fastFailThresholdMilliSec
    • repeatedFailuresMap

      protected final ConcurrentMap<org.apache.hadoop.hbase.ServerName,org.apache.hadoop.hbase.client.FailureInfo> repeatedFailuresMap
    • failureMapCleanupIntervalMilliSec

      protected final long failureMapCleanupIntervalMilliSec
    • lastFailureMapCleanupTimeMilliSec

      protected volatile long lastFailureMapCleanupTimeMilliSec
  • Constructor Details

  • Method Details

    • handleFailureToServer

      protected void handleFailureToServer(org.apache.hadoop.hbase.ServerName serverName, Throwable t)
    • intercept

      public void intercept(org.apache.hadoop.hbase.client.FastFailInterceptorContext arg0) throws org.apache.hadoop.hbase.exceptions.PreemptiveFastFailException
      Throws:
      org.apache.hadoop.hbase.exceptions.PreemptiveFastFailException
    • handleFailure

      public void handleFailure(org.apache.hadoop.hbase.client.FastFailInterceptorContext arg0, Throwable arg1) throws IOException
      Throws:
      IOException
    • updateFailureInfo

      public void updateFailureInfo(org.apache.hadoop.hbase.client.FastFailInterceptorContext arg0)
    • handleThrowable

      public void handleThrowable(Throwable arg0, org.apache.hadoop.hbase.ServerName arg1, org.apache.commons.lang3.mutable.MutableBoolean arg2, org.apache.commons.lang3.mutable.MutableBoolean arg3) throws IOException
      Throws:
      IOException
    • occasionallyCleanupFailureInformation

      protected void occasionallyCleanupFailureInformation()
    • shouldRetryInspiteOfFastFail

      protected boolean shouldRetryInspiteOfFastFail(org.apache.hadoop.hbase.client.FailureInfo arg0)
    • intercept

      public void intercept(org.apache.hadoop.hbase.client.RetryingCallerInterceptorContext arg0) throws org.apache.hadoop.hbase.exceptions.PreemptiveFastFailException
      Throws:
      org.apache.hadoop.hbase.exceptions.PreemptiveFastFailException
    • handleFailure

      public void handleFailure(org.apache.hadoop.hbase.client.RetryingCallerInterceptorContext arg0, Throwable arg1) throws IOException
      Throws:
      IOException
    • updateFailureInfo

      public void updateFailureInfo(org.apache.hadoop.hbase.client.RetryingCallerInterceptorContext arg0)
    • createEmptyContext

      public org.apache.hadoop.hbase.client.RetryingCallerInterceptorContext createEmptyContext()
    • isServerInFailureMap

      protected boolean isServerInFailureMap(org.apache.hadoop.hbase.ServerName arg0)
    • toString

      public String toString()