public Long getLongField(String name)
    throws IOException {
    String s = storage.getField(type, id, name);
    if (s == null)
      return null;
    else {
      try {
        return Long.valueOf(s);
      } catch (NumberFormatException e) {
        LOG.error("templeton: bug " + name + " " + s + " : " + e);
        return null;
      }
    }
  }
Fetch an integer field from the store.
hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/JobState.java