[ https://issues.apache.org/jira/browse/HDFS-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16225278#comment-16225278 ]
Sean Mackrory commented on HDFS-206: ------------------------------------ Ah - you know what? I didn't see that the last argument passed to copyBytes was to close the file after the copy. Still, I like the idea of having a resource closed at the end of the same function it was created in so it's easy to see its lifecycle, so I like the .003 patch. +1 - I'll commit your .003. patch later today unless anyone else weighs in. > Support for head in FSShell > --------------------------- > > Key: HDFS-206 > URL: https://issues.apache.org/jira/browse/HDFS-206 > Project: Hadoop HDFS > Issue Type: New Feature > Reporter: Olga Natkovich > Assignee: Gabor Bota > Priority: Minor > Labels: newbie > Attachments: HDFS-206.001.patch, HDFS-206.002.patch, > HDFS-206.003.patch > > > For Pig project, we would like to integrate head and tail commands into our > shell (Grunt). I could find tail but not head command -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org