hadoop-yetus commented on a change in pull request #553: HDDS-1216. Change name of ozoneManager service in docker compose file… URL: https://github.com/apache/hadoop/pull/553#discussion_r262260766
########## File path: hadoop-ozone/dist/src/main/smoketest/security/ozone-secure.robot ########## @@ -16,14 +16,44 @@ *** Settings *** Documentation Smoke test to start cluster with docker-compose environments. Library OperatingSystem +Library String Resource ../commonlib.robot +*** Variables *** +${ENDPOINT_URL} http://s3g:9878 + +*** Keywords *** +Install aws cli s3 centos + Execute sudo yum install -y awscli + Execute sudo yum install -y krb5-user +Install aws cli s3 debian + Execute sudo apt-get install -y awscli + Execute sudo apt-get install -y krb5-user + +Install aws cli + ${rc} ${output} = Run And Return Rc And Output which apt-get + Run Keyword if '${rc}' == '0' Install aws cli s3 debian + ${rc} ${output} = Run And Return Rc And Output yum --help + Run Keyword if '${rc}' == '0' Install aws cli s3 centos + +Setup credentials + ${hostname}= Execute hostname + Execute kinit -k testuser/${hostname}@EXAMPLE.COM -t /etc/security/keytabs/testuser.keytab + ${result} = Execute ozone sh s3 getsecret + ${accessKey} = Get Regexp Matches ${result} (?<=awsAccessKey=).* + ${secret} = Get Regexp Matches ${result} (?<=awsSecret=).* Review comment: whitespace:tabs in line ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org