Package org.apache.hadoop.hdfs.TestAvatarShell

Examples of org.apache.hadoop.hdfs.TestAvatarShell.ShortTxidWaitAvatarShell.run()


    // PushbackInputStream processes in reverse order.
    for (int i = input.length - 1; i >= 0; i--) {
      stream.unread(input[i].getBytes());
    }
    ShortTxidWaitAvatarShell shell = new ShortTxidWaitAvatarShell(conf);
    assertEquals(0, shell.run(new String[] { "-failover" }));
    int blocksAfter = blocksInFile();
    assertTrue(blocksBefore == blocksAfter);
  }

  @Test
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.