[ 
https://issues.apache.org/jira/browse/HDDS-764?focusedWorklogId=188805&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-188805
 ]

ASF GitHub Bot logged work on HDDS-764:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Jan/19 10:26
            Start Date: 23/Jan/19 10:26
    Worklog Time Spent: 10m 
      Work Description: elek commented on pull request #462: HDDS-764. Run S3 
smoke tests with replication STANDARD.
URL: https://github.com/apache/hadoop/pull/462#discussion_r250134623
 
 

 ##########
 File path: hadoop-ozone/dist/src/main/smoketest/test.sh
 ##########
 @@ -24,6 +23,41 @@ mkdir -p "$DIR/$RESULT_DIR"
 #Should be writeable from the docker containers where user is different.
 chmod ogu+w "$DIR/$RESULT_DIR"
 
+## @description wait until 3 datanodes are up (or 30 seconds)
+## @param the docker-compose file
+wait_for_datanodes(){
+
+  #Reset the timer
+  SECONDS=0
+
+  #Don't give it up until 30 seconds
 
 Review comment:
   This is a bash feature, SECONDS is incremented under the hood:
   
   ```
    SECONDS
                 Each  time  this  parameter is referenced, the number of 
seconds since shell invocation is returned.  If a value is assigned to SECONDS, 
the value returned upon subsequent
                 references is the number of seconds since the assignment plus 
the value assigned.  If SECONDS is unset, it loses its special properties, even 
if it is subsequently reset.
   ```
   (from man bash)
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 188805)
    Time Spent: 1h 40m  (was: 1.5h)

> Run S3 smoke tests with replication STANDARD.
> ---------------------------------------------
>
>                 Key: HDDS-764
>                 URL: https://issues.apache.org/jira/browse/HDDS-764
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Bharat Viswanadham
>            Assignee: Elek, Marton
>            Priority: Major
>              Labels: newbie, pull-request-available
>         Attachments: HDDS-764.001.patch
>
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> This Jira is created from the comment from [~elek]
> 1. I think sooner or later we need to run ozone tests with real replication. 
> We can add a 'scale up' to the hadoop-ozone/dist/src/main/smoketest/test.sh
> {code:java}
> docker-compose -f "$COMPOSE_FILE" down
> docker-compose -f "$COMPOSE_FILE" up -d
> docker-compose -f "$COMPOSE_FILE" scale datanode=3
> {code}
> And with this modification we don't need the '--storage-class 
> REDUCED_REDUNDANCY'. (But we can do it in separated jira)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to