Class CorruptDataFilesAction

java.lang.Object
org.apache.hadoop.hbase.chaos.actions.Action
org.apache.hadoop.hbase.chaos.actions.CorruptDataFilesAction

public class CorruptDataFilesAction extends Action
Action corrupts HFiles with a certain chance.
  • Field Details

    • LOG

      private static final org.slf4j.Logger LOG
    • chance

      private final float chance
  • Constructor Details

    • CorruptDataFilesAction

      public CorruptDataFilesAction(float chance)
      Corrupts HFiles with a certain chance
      Parameters:
      chance - chance to corrupt any give data file (0.5 => 50%)
  • Method Details