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

DN WebHDFS methods throw NPE if Namenode RPC address param not specified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.0.2-alpha
    • webhdfs
    • None
    • Reviewed

    Description

      If NamenodeRpcAddressParam is not passed to the datanode webhdfs methods, an NPE will be generated trying to use it. We should check the parameter and throw a more appropriate error message when it is missing.

      Attachments

        1. h3490_20120605.patch
          2 kB
          Tsz-wo Sze
        2. h3490_20120606.patch
          6 kB
          Tsz-wo Sze

        Activity

          People

            szetszwo Tsz-wo Sze
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: