private String getState(URL url) throws IOException, AuthenticationException {
      JsonNode rootNode = ThreadContextMR2.readJsonNode(url);
      return rootNode.path("otherinfo").path("status").getTextValue();
    }
JSONFactory class provides functionality to parse mined job data from timeline server.
app/com/linkedin/drelephant/tez/fetchers/TezFetcher.java