public static int getIntVar(Configuration conf, ConfVars var) {
    long val = getLongVar(conf, var);
    assert val <= Integer.MAX_VALUE;
    return (int)val;
  }
Get the variable as a int.  Note that all integer valued variables are stored as longs, thus
this downcasts from a long to an in.
@param conf configuration to retrieve it from
@param var variable to retrieve
@return value, or default value if value not in config file
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java