private static Path[] statusToPath(FileStatus[] statuses) {
    if (statuses == null) {
      return null;
    }
    Path[] paths = new Path[statuses.length];
    for (int i = 0; i < statuses.length; ++i) {
      paths[i] = statuses[i].getPath();
    }
    return paths;
  }
Create row key and value object inspectors for reduce vectorization.
The row object inspector used by ReduceWork needs to be a **standard**
struct object inspector, not just any struct object inspector.
@param keyInspector
@param valueInspector
@return OI
@throws HiveException
ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java