You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2022/07/27 21:01:04 UTC

[GitHub] [ozone] xBis7 commented on pull request #3629: HDDS-5779. Create s3g bucket creation performance test

xBis7 commented on PR #3629:
URL: https://github.com/apache/ozone/pull/3629#issuecomment-1197363150

   @adoroszlai  The exact commands to reproduce the test would be
   
   <br/>
   
    Running docker-compose and getting the aws key
   ```
   cd hadoop-ozone/dist/target/ozone-1.3.0-SNAPSHOT/compose/ozonesecure
   docker-compose up -d --scale datanode=3
   docker-compose exec scm bash
   
   bash-4.2$ kinit -kt /etc/security/keytabs/testuser.keytab testuser/scm@EXAMPLE.COM
   bash-4.2$ ozone s3 getsecret
   awsAccessKey=testuser/scm@EXAMPLE.COM
   awsSecret=<key>
   bash-4.2$ exit
   ```
   
   <br/>
   Copying the awsSecret key, exporting it to freon test environment and then running the Freon bucket generator test
   
   ```
   docker exec -it ozonesecure_s3g_1 bash
   export AWS_ACCESS_KEY=testuser/scm@EXAMPLE.COM AWS_SECRET_KEY=<key>
   ozone freon s3bg -t 100 -n 500000
   ```
   
   <br/>
   
   And for running the test from the external shell
   
   ```
   cd hadoop-ozone/dist/target/ozone-1.3.0-SNAPSHOT/bin/
   ./ozone freon s3bg -t 100 -n 500000
   ```
   
   Maybe @Zeddling can add these steps to the PR description
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org