@Test
public void testgetHelixInstanceFromHDFSHost() {

  assertEquals("hdfs-instance",
      TerrapinUtil.getHelixInstanceFromHDFSHost("hdfs-instance.my-domain.abc.com"));
  assertEquals("hdfs-instance",
      TerrapinUtil.getHelixInstanceFromHDFSHost("hdfs-instance"));
}