File: fixtures.sh

package info (click to toggle)
golang-github-colinmarc-hdfs 2.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 3,760 kB
  • sloc: sh: 130; xml: 40; makefile: 31
file content (7 lines) | stat: -rwxr-xr-x 205 bytes parent folder | download
1
2
3
4
5
6
7
set -e

hadoop fs -mkdir -p "/_test"
hadoop fs -chmod 777 "/_test"

hadoop fs -put ./testdata/foo.txt "/_test/foo.txt"
hadoop fs -Ddfs.block.size=1048576 -put ./testdata/mobydick.txt "/_test/mobydick.txt"