[
https://issues.apache.org/jira/browse/HADOOP-6239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003128#comment-13003128
]
Yanbo Liang commented on HADOOP-6239:
-------------------------------------
Maybe append on a file mostly used by API rather than command-line such as
HBase log/transaction files and Facebook Scribe.
> Command-line for append
> -----------------------
>
> Key: HADOOP-6239
> URL: https://issues.apache.org/jira/browse/HADOOP-6239
> Project: Hadoop Common
> Issue Type: New Feature
> Components: fs
> Reporter: Koji Noguchi
>
> Once append is implemented in hdfs, it would be nice if users can append
> files from a command-line.
> Either have a separate 'append' command or add '-append' option for 'put' and
> 'cp'
> Like,
> {noformat}
> % cat mylocalfile | hadoop dfs -put -append - /user/knoguchi/myfile ('-'
> for stdin)
> % hadoop dfs -cp -append myhdfsfile1 myhdfsfile2
> {noformat}
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira