MAPREDUCE-883. harchive: Document how to unarchive (Akira AJISAKA and Koji Noguchi via aw)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1617977 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
13ad623b9d
commit
b3df973adb
|
@ -86,6 +86,9 @@ Trunk (Unreleased)
|
||||||
MAPREDUCE-6019. MapReduce changes for exposing YARN/MR endpoints on multiple
|
MAPREDUCE-6019. MapReduce changes for exposing YARN/MR endpoints on multiple
|
||||||
interfaces. (Craig Welch, Milan Potocnik, Arpit Agarwal via xgong)
|
interfaces. (Craig Welch, Milan Potocnik, Arpit Agarwal via xgong)
|
||||||
|
|
||||||
|
MAPREDUCE-883. harchive: Document how to unarchive (Akira AJISAKA and
|
||||||
|
Koji Noguchi via aw)
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
||||||
MAPREDUCE-5714. Removed forceful JVM exit in shutDownJob.
|
MAPREDUCE-5714. Removed forceful JVM exit in shutDownJob.
|
||||||
|
|
|
@ -20,6 +20,7 @@ Hadoop Archives Guide
|
||||||
- [Overview](#Overview)
|
- [Overview](#Overview)
|
||||||
- [How to Create an Archive](#How_to_Create_an_Archive)
|
- [How to Create an Archive](#How_to_Create_an_Archive)
|
||||||
- [How to Look Up Files in Archives](#How_to_Look_Up_Files_in_Archives)
|
- [How to Look Up Files in Archives](#How_to_Look_Up_Files_in_Archives)
|
||||||
|
- [How to Unarchive an Archive](#How_to_Unarchive_an_Archive)
|
||||||
- [Archives Examples](#Archives_Examples)
|
- [Archives Examples](#Archives_Examples)
|
||||||
- [Creating an Archive](#Creating_an_Archive)
|
- [Creating an Archive](#Creating_an_Archive)
|
||||||
- [Looking Up Files](#Looking_Up_Files)
|
- [Looking Up Files](#Looking_Up_Files)
|
||||||
|
@ -70,6 +71,20 @@ How to Look Up Files in Archives
|
||||||
|
|
||||||
`har:///archivepath/fileinarchive`
|
`har:///archivepath/fileinarchive`
|
||||||
|
|
||||||
|
How to Unarchive an Archive
|
||||||
|
---------------------------
|
||||||
|
|
||||||
|
Since all the fs shell commands in the archives work transparently,
|
||||||
|
unarchiving is just a matter of copying.
|
||||||
|
|
||||||
|
To unarchive sequentially:
|
||||||
|
|
||||||
|
`hdfs dfs -cp har:///user/zoo/foo.har/dir1 hdfs:/user/zoo/newdir`
|
||||||
|
|
||||||
|
To unarchive in parallel, use DistCp:
|
||||||
|
|
||||||
|
`hadoop distcp har:///user/zoo/foo.har/dir1 hdfs:/user/zoo/newdir`
|
||||||
|
|
||||||
Archives Examples
|
Archives Examples
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue