public void setLongField(String name, long val)
    throws IOException {
    try {
      storage.saveField(type, id, name, String.valueOf(val));
    } catch (NotFoundException ne) {
      throw new IOException("Job " + id + " was not found: " +
        ne.getMessage());
    }
  }
Store a long field.

@param name
@param val
@throws IOException
hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/JobState.java