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

WebHDFS have a "not-enabled" return code instead of using file not found

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 1.0.0, 2.0.0-alpha
    • None
    • webhdfs
    • None

    Description

      WebHDFS (and HttpFs if it doesn't already) should have a return code indicating they are not enabled. Currently you get eg a file not found if webhdfs is not enabled which isn't intuitive.

      hadoop-3.0.0-SNAPSHOT $ ./bin/hadoop fs -get webhdfs://localhost:50070/user/eli/temp.json
      get: Unexpected HTTP response: code=404 != 200, op=GETFILESTATUS, message=Not Found
      

      Attachments

        Activity

          People

            szetszwo Tsz-wo Sze
            eli Eli Collins
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: