Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-12654

APPEND API call is different in HTTPFS and NameNode REST

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 2.6.0, 2.7.0, 2.8.0, 3.0.0-beta1
    • Fix Version/s: None
    • Component/s: hdfs, httpfs, namenode
    • Labels:
      None

      Description

      The APPEND REST API call behaves differently in the NameNode REST and the HTTPFS codes. The NameNode version creates the target file the new data being appended to if it does not exist at the time of the call issued. The HTTPFS version assumes the target file exists when APPEND is called and can append only the new data but does not create the target file it doesn't exist.

      The two implementations should be standardized, preferably the HTTPFS version should be modified to execute an implicit CREATE if the target file does not exist.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Nuke Andras Czesznak
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: