Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6239

Command-line for append

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • fs
    • None

    Description

      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,

      % cat mylocalfile  | hadoop dfs -put -append - /user/knoguchi/myfile    ('-' for stdin)
      % hadoop dfs -cp -append myhdfsfile1 myhdfsfile2  
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              knoguchi Koji Noguchi
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: