Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.205.0
    • Fix Version/s: 0.23.0, 1.0.0
    • Component/s: webhdfs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      PUT Request: http://localhost:50070/webhdfs/some_path?op=MKDIRS&permission=955

      Exception returned

      HTTP/1.1 500 Internal Server Error
      {"RemoteException":{"className":"com.sun.jersey.api.ParamException$QueryParamException","message":"java.lang.NumberFormatException: For input string: \"955\""}}

      We should return a 400 with appropriate error message

      1. h2428_20111011.patch
        3 kB
        Tsz Wo Nicholas Sze
      2. h2428_20111011_0.20s.patch
        3 kB
        Tsz Wo Nicholas Sze

        Activity

        Arpit Gupta created issue -
        Arpit Gupta made changes -
        Field Original Value New Value
        Affects Version/s 0.20.205.0 [ 12316392 ]
        Arpit Gupta made changes -
        Summary webhdfs mkdir call fails with a 500 when an invalid permission is sent, we should return a 400 webhdfs api parameter validation should be better
        Tsz Wo Nicholas Sze made changes -
        Attachment h2428_20111011_0.20s.patch [ 12498694 ]
        Attachment h2428_20111011.patch [ 12498695 ]
        Tsz Wo Nicholas Sze made changes -
        Attachment h2428_20111011.patch [ 12498696 ]
        Tsz Wo Nicholas Sze made changes -
        Attachment h2428_20111011.patch [ 12498695 ]
        Tsz Wo Nicholas Sze made changes -
        Attachment h2428_20111011_0.20s.patch [ 12498694 ]
        Tsz Wo Nicholas Sze made changes -
        Attachment h2428_20111011.patch [ 12498696 ]
        Tsz Wo Nicholas Sze made changes -
        Attachment h2428_20111011_0.20s.patch [ 12498697 ]
        Attachment h2428_20111011.patch [ 12498698 ]
        Tsz Wo Nicholas Sze made changes -
        Assignee Tsz Wo (Nicholas), SZE [ szetszwo ]
        Status Open [ 1 ] Patch Available [ 10002 ]
        Tsz Wo Nicholas Sze made changes -
        Parent HDFS-2316 [ 12521565 ]
        Issue Type Bug [ 1 ] Sub-task [ 7 ]
        Tsz Wo Nicholas Sze made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 0.20.205.1 [ 12318243 ]
        Fix Version/s 0.24.0 [ 12317653 ]
        Resolution Fixed [ 1 ]
        Tsz Wo Nicholas Sze made changes -
        Fix Version/s 0.23.0 [ 12315571 ]
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Eli Collins made changes -
        Component/s webhdfs [ 12319200 ]
        Allen Wittenauer made changes -
        Fix Version/s 2.0.0-alpha [ 12320353 ]
        Fix Version/s 0.24.0 [ 12317653 ]
        Allen Wittenauer made changes -
        Fix Version/s 2.0.0-alpha [ 12320353 ]

          People

          • Assignee:
            Tsz Wo Nicholas Sze
            Reporter:
            Arpit Gupta
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development