private static FileSystem getFS(Path path, Configuration conf, UserGroupInformation fsOperationUser)
    throws IOException {
    try {
      return fsOperationUser.doAs(new PrivilegedExceptionAction<FileSystem>() {
        @Override
        public FileSystem run() throws Exception {
          return path.getFileSystem(conf);
        }
      });
    } catch (InterruptedException e) {
      throw new IOException(e);
    }
  }
While upgrading from earlier versions we need to amend storage_handler value for Kudu tables that might
have the legacy value set.
@param table
@param props
ql/src/java/org/apache/hadoop/hive/ql/util/HiveStrictManagedMigration.java