private void setUnArchived(Partition partition) {
    assert(ArchiveUtils.isArchived(partition));
    String parentDir = AlterTableArchiveUtils.getOriginalLocation(partition);
    AlterTableArchiveUtils.setIsArchived(partition, false, 0);
    AlterTableArchiveUtils.setOriginalLocation(partition, null);
    assert(parentDir != null);
    partition.setLocation(parentDir);
  }
Sets the appropriate attributes in the supplied Partition object to mark it as not archived.
Note that the metastore is not touched - a separate call to alter_partition is needed.

@param partition - the partition to modify
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/storage/archive/AlterTableUnarchiveOperation.java