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

webhdfs GETFILESTATUAS for a path that does not exist returns a 200 instead of a 404

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • webhdfs
    • None

    Description

      http://NN:50070/webhdfs/some_invalid_path?op=GETFILESTATUS

      Returns a 200 with no content. We should return a 404 in this case

      Attachments

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              arpitgupta Arpit Gupta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: