HADOOP-tar/README.md

19 lines
394 B
Markdown
Raw Permalink Normal View History

2024-10-08 10:30:54 +02:00
# Info
Tar archiver for Hadoop HDFS.
# Build
mvn package
sudo mv target/hadoop-tar-*.jar /usr/local/share/hadoop-tar.jar
# Usage
Help:
hadoop jar /usr/local/share/hadoop-tar.jar --help
Streaming example with s3cmd:
hadoop jar /usr/local/share/hadoop-tar.jar -v -c hdfs:///user/hawking | pbzip2 | s3cmd --multipart-chunk-size-mb=100 put - s3://hador/user-hawking.tar.bz2