Package org.apache.hadoop.hbase.io.hfile

Examples of org.apache.hadoop.hbase.io.hfile.BlockCacheColumnFamilySummary


     bc.getBlockCacheColumnFamilySummaries(TEST_UTIL.getConfiguration());
   LOG.info("blockCacheSummary: " + bcs);

   assertEquals("blockCache summary has entries", 3, bcs.size());
  
   BlockCacheColumnFamilySummary e = bcs.get(0);
   assertEquals("table", "-ROOT-", e.getTable());
   assertEquals("cf", "info", e.getColumnFamily());

   e = bcs.get(1);
   assertEquals("table", TEST_TABLE, e.getTable());
   assertEquals("cf", TEST_CF, e.getColumnFamily());

   e = bcs.get(2);
   assertEquals("table", TEST_TABLE2, e.getTable());
   assertEquals("cf", TEST_CF, e.getColumnFamily());

}
View Full Code Here


     bc.getBlockCacheColumnFamilySummaries(TEST_UTIL.getConfiguration());
   LOG.info("blockCacheSummary: " + bcs);

   assertEquals("blockCache summary has entries", 2, bcs.size());

   BlockCacheColumnFamilySummary e = bcs.get(0);
   assertEquals("table", TEST_TABLE, e.getTable());
   assertEquals("cf", TEST_CF, e.getColumnFamily());

   e = bcs.get(1);
   assertEquals("table", TEST_TABLE2, e.getTable());
   assertEquals("cf", TEST_CF, e.getColumnFamily());

   ht.close();
   ht2.close();
}
View Full Code Here

     bc.getBlockCacheColumnFamilySummaries(TEST_UTIL.getConfiguration());
   LOG.info("blockCacheSummary: " + bcs);

   assertTrue("blockCache summary has " + bcs.size() + " entries", bcs.size() >= 2);

   BlockCacheColumnFamilySummary e = bcs.get(bcs.size()-2);
   assertEquals("table", TEST_TABLE, e.getTable());
   assertEquals("cf", TEST_CF, e.getColumnFamily());

   e = bcs.get(bcs.size()-1);
   assertEquals("table", TEST_TABLE2, e.getTable());
   assertEquals("cf", TEST_CF, e.getColumnFamily());

   ht.close();
   ht2.close();
}
View Full Code Here

     bc.getBlockCacheColumnFamilySummaries(TEST_UTIL.getConfiguration());
   LOG.info("blockCacheSummary: " + bcs);

   assertEquals("blockCache summary has entries", 3, bcs.size());
  
   BlockCacheColumnFamilySummary e = bcs.get(0);
   assertEquals("table", "-ROOT-", e.getTable());
   assertEquals("cf", "info", e.getColumnFamily());

   e = bcs.get(1);
   assertEquals("table", TEST_TABLE, e.getTable());
   assertEquals("cf", TEST_CF, e.getColumnFamily());

   e = bcs.get(2);
   assertEquals("table", TEST_TABLE2, e.getTable());
   assertEquals("cf", TEST_CF, e.getColumnFamily());

   ht.close();
   ht2.close();
}
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hbase.io.hfile.BlockCacheColumnFamilySummary

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.