Skip to content
Permalink
Browse files

HADOOP-16117 Update the testing.md doc with some more commands to run.

Change-Id: Ib6305366bfc11fe58996ffd9ee942e5867429818
  • Loading branch information
steveloughran committed Jun 5, 2019
1 parent 36cbd8b commit 01e36bb83a34cd50b50d0f60861986ee49f4579b
Showing with 5 additions and 0 deletions.
  1. +5 −0 hadoop-tools/hadoop-aws/src/site/markdown/tools/hadoop-aws/testing.md
@@ -1329,11 +1329,13 @@ bin/hadoop fs -mkdir $BUCKET/dir-no-trailing
# fails with S3Guard
bin/hadoop fs -mkdir $BUCKET/dir-trailing/
bin/hadoop fs -touchz $BUCKET/file
echo hello | bin/hadoop fs -cat $BUCKET/file
bin/hadoop fs -ls $BUCKET/
bin/hadoop fs -mv $BUCKET/file $BUCKET/file2
# expect "No such file or directory"
bin/hadoop fs -stat $BUCKET/file
bin/hadoop fs -stat $BUCKET/file2
bin/hadoop fs -mkdir $BUCKET/dir-no-trailing
bin/hadoop fs -mv $BUCKET/file2 $BUCKET/dir-no-trailing
bin/hadoop fs -stat $BUCKET/dir-no-trailing/file2
# treated the same as the file stat
@@ -1348,6 +1350,9 @@ bin/hadoop fs -test -d $BUCKET/dir-no-trailing/file2 ; echo $?
bin/hadoop fs -checksum $BUCKET/dir-no-trailing/file2
# expect "etag" + a long string
bin/hadoop fs -D fs.s3a.etag.checksum.enabled=true -checksum $BUCKET/dir-no-trailing/file2
bin/hadoop fs -expunge -immediate -fs $BUCKET
bin/hdfs fetchdt --webservice $BUCKET secrets.bin
bin/hdfs fetchdt -D fs.s3a.delegation.token.binding=org.apache.hadoop.fs.s3a.auth.delegation.SessionTokenBinding --webservice $BUCKET secrets.bin
```
### Other tests

0 comments on commit 01e36bb

Please sign in to comment.
You can’t perform that action at this time.