Package org.apache.hadoop.util

Examples of org.apache.hadoop.util.InjectionEventI


        numNodes);
    InjectionHandler.set(h);

    for (int i = 0; i < iterations; i++) {
      // choose events
      InjectionEventI eventOne = failureInjections[r
          .nextInt(failureInjections.length)];
      InjectionEventI eventTwo = failureInjections[r
          .nextInt(failureInjections.length)];

      // choose nodes
      int nodeOne = r.nextInt(numNodes);
      int nodeTwo = (nodeOne + 1) % numNodes;
View Full Code Here

TOP

Related Classes of org.apache.hadoop.util.InjectionEventI

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.