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/[email protected]
   bash-4.2$ ozone s3 getsecret
   awsAccessKey=testuser/[email protected]
   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/[email protected] 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to