@Test
public void testPackageInheritance() throws Exception{

  StackInfo stack = stackManager.getStack("HDP", "2.0.7");
  assertNotNull(stack.getService("HBASE"));
  ServiceInfo hbase = stack.getService("HBASE");
  assertNotNull("Package dir is " + hbase.getServicePackageFolder(), hbase.getServicePackageFolder());
  stack = stackManager.getStack("HDP", "2.0.8");
  assertNotNull(stack.getService("HBASE"));
  hbase = stack.getService("HBASE");
  assertNotNull("Package dir is " + hbase.getServicePackageFolder(), hbase.getServicePackageFolder());
}