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

Vinayakumar B commented on HADOOP-16108:
----------------------------------------

[~ayushtkn]. After re-checking the patch.. found that following change is not 
correct.

{code:java}
   @Override
   protected void processOptions(LinkedList<String> args) throws IOException {
-    CommandFormat cf = new CommandFormat(1, 1, "f");
+    CommandFormat cf = new CommandFormat(0, 3, "f");
{code}

{{min}} and {{max}} args for tail command is 1. i.e. Number of args after 
parsing the options.
 Fix the test also accordingly.

+1, pending above changes.

> Tail Follow Interval Should Allow To Specify The Sleep Interval To Save 
> Unnecessary RPC's 
> ------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-16108
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16108
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Harshakiran Reddy
>            Assignee: Ayush Saxena
>            Priority: Major
>         Attachments: HDFS-14255-01.patch, HDFS-14255-02.patch
>
>
> As of now tail -f follows every 5 seconds. We should allow a parameter to 
> specify this sleep interval. Linux has this configurable as in form of -s 
> parameter.



--
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