Package org.apache.hadoop.raid

Examples of org.apache.hadoop.raid.TestDirectoryRaidDfs


import junit.framework.TestCase;
import org.apache.hadoop.raid.TestDirectoryRaidDfs;

public class TestDirectoryRSRaidDfsMultipleBlocks extends TestCase {
  public void testRSRaidDirDfsMultipleBlocks() throws Exception{
    TestDirectoryRaidDfs tdrd = new TestDirectoryRaidDfs();
    tdrd.testRaidDirDfs("rs",
        new Integer[][]
            {{0, 3, 6, 9}, {1, 2, 3, 4}});
  }
View Full Code Here


import junit.framework.TestCase;
import org.apache.hadoop.raid.TestDirectoryRaidDfs;

public class TestDirectoryRSRaidDfsTwoBlocks extends TestCase {
  public void testRSRaidDirDfsTwoBlocks() throws Exception{
    TestDirectoryRaidDfs tdrd = new TestDirectoryRaidDfs();
    tdrd.testRaidDirDfs("rs",
        new Integer[][]
            {{0, 1}, {0, 2}, {1, 2}, {-1, -2}, {-1, -3}, {-2, -3}});
  }
View Full Code Here

import junit.framework.TestCase;
import org.apache.hadoop.raid.TestDirectoryRaidDfs;

public class TestDirectoryRSRaidDfsOneBlock extends TestCase {
  public void testRSRaidDirDfsOneBlock() throws Exception{
    TestDirectoryRaidDfs tdrd = new TestDirectoryRaidDfs();
    tdrd.testRaidDirDfs("rs",
        new Integer[][]
            {{0}, {1}, {2}, {-3}, {-2}, {-1}});
  }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.raid.TestDirectoryRaidDfs

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.