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

Validate required params for WebHDFS requests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha2
    • None
    • None
    • Reviewed
    • Strict validations will be done for mandatory parameters for WebHDFS REST requests.

    Description

       curl -i -X PUT "http://10.19.92.127:50070/webhdfs/v1/kiran/sreenu?op=RENAMESNAPSHOT&snapshotname=SNAPSHOTNAME"
      

      Null point exception will be thrown

      {"RemoteException":{"exception":"NullPointerException","javaClassName":"java.lang.NullPointerException","message":null}}
      

      Attachments

        1. HDFS-9337_21.patch
          10 kB
          Jagadesh Kiran N
        2. HDFS-9337_20.patch
          21 kB
          Jagadesh Kiran N
        3. HDFS-9337_19.patch
          23 kB
          Jagadesh Kiran N
        4. HDFS-9337_18.patch
          23 kB
          Jagadesh Kiran N
        5. HDFS-9337_17.patch
          23 kB
          Jagadesh Kiran N
        6. HDFS-9337_16.patch
          22 kB
          Jagadesh Kiran N
        7. HDFS-9337_15.patch
          18 kB
          Jagadesh Kiran N
        8. HDFS-9337_14.patch
          9 kB
          Jagadesh Kiran N
        9. HDFS-9337_13.patch
          8 kB
          Jagadesh Kiran N
        10. HDFS-9337_12.patch
          8 kB
          Jagadesh Kiran N
        11. HDFS-9337_11.patch
          8 kB
          Jagadesh Kiran N
        12. HDFS-9337_10.patch
          8 kB
          Jagadesh Kiran N
        13. HDFS-9337_09.patch
          7 kB
          Jagadesh Kiran N
        14. HDFS-9337_08.patch
          7 kB
          Jagadesh Kiran N
        15. HDFS-9337_07.patch
          7 kB
          Jagadesh Kiran N
        16. HDFS-9337_06.patch
          5 kB
          Jagadesh Kiran N
        17. HDFS-9337_05.patch
          4 kB
          Jagadesh Kiran N
        18. HDFS-9337_04.patch
          5 kB
          Jagadesh Kiran N
        19. HDFS-9337_03.patch
          2 kB
          Jagadesh Kiran N
        20. HDFS-9337_02.patch
          1 kB
          Jagadesh Kiran N
        21. HDFS-9337_01.patch
          1 kB
          Jagadesh Kiran N
        22. HDFS-9337_00.patch
          1 kB
          Jagadesh Kiran N

        Issue Links

          Activity

            People

              jagadesh.kiran Jagadesh Kiran N
              jagadesh.kiran Jagadesh Kiran N
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: