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

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

                Author: ASF GitHub Bot
            Created on: 24/Oct/19 11:10
            Start Date: 24/Oct/19 11:10
    Worklog Time Spent: 10m 
      Work Description: adoroszlai commented on pull request #79: HDDS-2357. 
Add replication factor option to new Freon tests
URL: https://github.com/apache/hadoop-ozone/pull/79
 
 
   ## What changes were proposed in this pull request?
   
   New Freon generators (OCKG and OKG) use fixed replication factor of 3.  
Sometimes it's useful to be able to test single-node replication.  This change 
proposes to add a command-line option to specify replication factor.
   
   https://issues.apache.org/jira/browse/HDDS-2357
   
   ## How was this patch tested?
   
   ```
   $ ozone freon ockg -t 1 -n 1 -p factor_default
   $ ozone freon ockg -t 1 -n 1 -p factor_THREE   --factor THREE
   $ ozone freon ockg -t 1 -n 1 -p factor_ONE     --factor ONE  
   $ ozone sh key list vol1/bucket1
   {
     "volumeName" : "vol1",
     "bucketName" : "bucket1",
     "name" : "factor_ONE/0",
     "dataSize" : 10240,
     "creationTime" : 1571908239786,
     "modificationTime" : 1571908241398,
     "replicationType" : "RATIS",
     "replicationFactor" : 1
   }
   {
     "volumeName" : "vol1",
     "bucketName" : "bucket1",
     "name" : "factor_THREE/0",
     "dataSize" : 10240,
     "creationTime" : 1571908232929,
     "modificationTime" : 1571908234605,
     "replicationType" : "RATIS",
     "replicationFactor" : 3
   }
   {
     "volumeName" : "vol1",
     "bucketName" : "bucket1",
     "name" : "factor_default/0",
     "dataSize" : 10240,
     "creationTime" : 1571908225134,
     "modificationTime" : 1571908227372,
     "replicationType" : "RATIS",
     "replicationFactor" : 3
   }
   ```
 
----------------------------------------------------------------
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


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

            Worklog Id:     (was: 333307)
    Remaining Estimate: 0h
            Time Spent: 10m

> Add replication factor option to new Freon tests
> ------------------------------------------------
>
>                 Key: HDDS-2357
>                 URL: https://issues.apache.org/jira/browse/HDDS-2357
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: freon
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> New Freon generators (OCKG and OKG) use fixed replication factor of 3.  
> Sometimes it's useful to be able to test single-node replication.  The goal 
> of this task to add a command-line option to specify replication factor.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to