|
@@ -60,7 +60,7 @@ public class TestStripedINodeFile {
|
|
|
|
|
|
@Test
|
|
@Test
|
|
public void testBlockStripedTotalBlockCount() {
|
|
public void testBlockStripedTotalBlockCount() {
|
|
- ECSchema defaultSchema = ECSchemaManager.getSystemDefaultSchema();
|
|
|
|
|
|
+ ECSchema defaultSchema = ErasureCodingSchemaManager.getSystemDefaultSchema();
|
|
Block blk = new Block(1);
|
|
Block blk = new Block(1);
|
|
BlockInfoStriped blockInfoStriped
|
|
BlockInfoStriped blockInfoStriped
|
|
= new BlockInfoStriped(blk,
|
|
= new BlockInfoStriped(blk,
|
|
@@ -72,7 +72,7 @@ public class TestStripedINodeFile {
|
|
@Test
|
|
@Test
|
|
public void testBlockStripedLength()
|
|
public void testBlockStripedLength()
|
|
throws IOException, InterruptedException {
|
|
throws IOException, InterruptedException {
|
|
- ECSchema defaultSchema = ECSchemaManager.getSystemDefaultSchema();
|
|
|
|
|
|
+ ECSchema defaultSchema = ErasureCodingSchemaManager.getSystemDefaultSchema();
|
|
INodeFile inf = createStripedINodeFile();
|
|
INodeFile inf = createStripedINodeFile();
|
|
inf.addStripedBlocksFeature();
|
|
inf.addStripedBlocksFeature();
|
|
Block blk = new Block(1);
|
|
Block blk = new Block(1);
|
|
@@ -87,7 +87,7 @@ public class TestStripedINodeFile {
|
|
@Test
|
|
@Test
|
|
public void testBlockStripedConsumedSpace()
|
|
public void testBlockStripedConsumedSpace()
|
|
throws IOException, InterruptedException {
|
|
throws IOException, InterruptedException {
|
|
- ECSchema defaultSchema = ECSchemaManager.getSystemDefaultSchema();
|
|
|
|
|
|
+ ECSchema defaultSchema = ErasureCodingSchemaManager.getSystemDefaultSchema();
|
|
INodeFile inf = createStripedINodeFile();
|
|
INodeFile inf = createStripedINodeFile();
|
|
inf.addStripedBlocksFeature();
|
|
inf.addStripedBlocksFeature();
|
|
Block blk = new Block(1);
|
|
Block blk = new Block(1);
|
|
@@ -116,7 +116,7 @@ public class TestStripedINodeFile {
|
|
@Test
|
|
@Test
|
|
public void testMultipleBlockStripedConsumedSpace()
|
|
public void testMultipleBlockStripedConsumedSpace()
|
|
throws IOException, InterruptedException {
|
|
throws IOException, InterruptedException {
|
|
- ECSchema defaultSchema = ECSchemaManager.getSystemDefaultSchema();
|
|
|
|
|
|
+ ECSchema defaultSchema = ErasureCodingSchemaManager.getSystemDefaultSchema();
|
|
INodeFile inf = createStripedINodeFile();
|
|
INodeFile inf = createStripedINodeFile();
|
|
inf.addStripedBlocksFeature();
|
|
inf.addStripedBlocksFeature();
|
|
Block blk1 = new Block(1);
|
|
Block blk1 = new Block(1);
|
|
@@ -141,7 +141,7 @@ public class TestStripedINodeFile {
|
|
@Test
|
|
@Test
|
|
public void testBlockStripedFileSize()
|
|
public void testBlockStripedFileSize()
|
|
throws IOException, InterruptedException {
|
|
throws IOException, InterruptedException {
|
|
- ECSchema defaultSchema = ECSchemaManager.getSystemDefaultSchema();
|
|
|
|
|
|
+ ECSchema defaultSchema = ErasureCodingSchemaManager.getSystemDefaultSchema();
|
|
INodeFile inf = createStripedINodeFile();
|
|
INodeFile inf = createStripedINodeFile();
|
|
inf.addStripedBlocksFeature();
|
|
inf.addStripedBlocksFeature();
|
|
Block blk = new Block(1);
|
|
Block blk = new Block(1);
|
|
@@ -160,7 +160,7 @@ public class TestStripedINodeFile {
|
|
@Test
|
|
@Test
|
|
public void testBlockStripedUCFileSize()
|
|
public void testBlockStripedUCFileSize()
|
|
throws IOException, InterruptedException {
|
|
throws IOException, InterruptedException {
|
|
- ECSchema defaultSchema = ECSchemaManager.getSystemDefaultSchema();
|
|
|
|
|
|
+ ECSchema defaultSchema = ErasureCodingSchemaManager.getSystemDefaultSchema();
|
|
INodeFile inf = createStripedINodeFile();
|
|
INodeFile inf = createStripedINodeFile();
|
|
inf.addStripedBlocksFeature();
|
|
inf.addStripedBlocksFeature();
|
|
Block blk = new Block(1);
|
|
Block blk = new Block(1);
|
|
@@ -177,7 +177,7 @@ public class TestStripedINodeFile {
|
|
@Test
|
|
@Test
|
|
public void testBlockStripedComputeQuotaUsage()
|
|
public void testBlockStripedComputeQuotaUsage()
|
|
throws IOException, InterruptedException {
|
|
throws IOException, InterruptedException {
|
|
- ECSchema defaultSchema = ECSchemaManager.getSystemDefaultSchema();
|
|
|
|
|
|
+ ECSchema defaultSchema = ErasureCodingSchemaManager.getSystemDefaultSchema();
|
|
INodeFile inf = createStripedINodeFile();
|
|
INodeFile inf = createStripedINodeFile();
|
|
inf.addStripedBlocksFeature();
|
|
inf.addStripedBlocksFeature();
|
|
Block blk = new Block(1);
|
|
Block blk = new Block(1);
|
|
@@ -204,7 +204,7 @@ public class TestStripedINodeFile {
|
|
@Test
|
|
@Test
|
|
public void testBlockStripedUCComputeQuotaUsage()
|
|
public void testBlockStripedUCComputeQuotaUsage()
|
|
throws IOException, InterruptedException {
|
|
throws IOException, InterruptedException {
|
|
- ECSchema defaultSchema = ECSchemaManager.getSystemDefaultSchema();
|
|
|
|
|
|
+ ECSchema defaultSchema = ErasureCodingSchemaManager.getSystemDefaultSchema();
|
|
INodeFile inf = createStripedINodeFile();
|
|
INodeFile inf = createStripedINodeFile();
|
|
inf.addStripedBlocksFeature();
|
|
inf.addStripedBlocksFeature();
|
|
Block blk = new Block(1);
|
|
Block blk = new Block(1);
|