Code Shipping - Archive (Distribution) in the Hadoop context.
An archive:
har://scheme-hostname:port/archivepath/fileinarchive
har:///archivepath/fileinarchive
with Hadoop - hadoop client utility
hadoop archive -archiveName name -p <parent> [-r <replication factor>] <src>* <dest>
Since all the fs shell commands in the archives work transparently, unarchiving is just a matter of copying.
To unarchive:
hdfs dfs -cp har:///user/zoo/foo.har/dir1 hdfs:/user/zoo/newdir
hadoop distcp har:///user/zoo/foo.har/dir1 hdfs:/user/zoo/newdir