@Test
public void testParseTimestampFromHdfsPath() {

  assertEquals(1234567890123l,
      ClusterStatusServlet.parseTimestampFromHdfsPath("/1234567890123"));
  assertEquals(1234567890123l,
      ClusterStatusServlet.parseTimestampFromHdfsPath("1234567890123"));
  assertEquals(1234567890123l,
      ClusterStatusServlet.parseTimestampFromHdfsPath("/a/b/1234567890123"));
}