[ 
https://issues.apache.org/jira/browse/HADOOP-5358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12678888#action_12678888
 ] 

Hairong Kuang commented on HADOOP-5358:
---------------------------------------

> Added check that we get at least one valid line from script.
One minor comment: I do not think that the boolean "successful" is needed. The 
code sets its value for every line read. Checking if the array list "duration" 
is empty is simpler because it requires only one check.

> Provide scripting functionality to the synthetic load generator
> ---------------------------------------------------------------
>
>                 Key: HADOOP-5358
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5358
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: test
>            Reporter: Jakob Homan
>            Assignee: Jakob Homan
>            Priority: Minor
>         Attachments: HADOOP-5358.patch, HADOOP-5358.patch, HADOOP-5358.patch, 
> HADOOP-5358.patch
>
>
> Currently the load generator accepts parameters at start time as to the read 
> and write probabilities to apply against the namenode.  It would be useful to 
> be able to provide it with a script of these values, so that they can be 
> varied over time.  This would allow the namenode to be tested with varying 
> loads over time so its behavior to changing loads can be examined.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to