Package org.apache.hadoop.fi.DataTransferTestUtil

Examples of org.apache.hadoop.fi.DataTransferTestUtil.DatanodeMarkingAction


  private static void runPipelineCloseAck(String name, int i, DataNodeAction a
      ) throws IOException {
    FiTestUtil.LOG.info("Running " + name + " ...");
    final DataTransferTest t = (DataTransferTest)DataTransferTestUtil.initTest();
    final MarkerConstraint marker = new MarkerConstraint(name);
    t.fiPipelineClose.set(new DatanodeMarkingAction(name, i, marker));
    t.fiPipelineAck.set(new ConstraintSatisfactionAction<DatanodeID, IOException>(a, marker));
    TestFiDataTransferProtocol.write1byte(name);
  }
View Full Code Here


  private static void runPipelineCloseAck(String name, int i, DataNodeAction a
      ) throws IOException {
    FiTestUtil.LOG.info("Running " + name + " ...");
    final DataTransferTest t = (DataTransferTest)DataTransferTestUtil.initTest();
    final MarkerConstraint marker = new MarkerConstraint(name);
    t.fiPipelineClose.set(new DatanodeMarkingAction(name, i, marker));
    t.fiPipelineAck.set(new ConstraintSatisfactionAction<DatanodeID, IOException>(a, marker));
    write1byte(name);
  }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.fi.DataTransferTestUtil.DatanodeMarkingAction

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.