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

hftp throws NPE if security is not enabled on remote cluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.20.205.0
    • 0.20.205.0
    • None
    • None

    Description

      If hftp cannot locate either a hdfs or hftp token in the ugi, it will call getDelegationToken to acquire one from the remote nn. This method may return a null Token if security is disabled on the remote nn. Hftp will internally call its setDelegationToken which will throw a NPE when the token is null.

      Actually, if any problem happens while acquiring the token it assumes security is disabled! However, it's a pre-existing issue beyond the scope of the token renewal changes.

      Attachments

        1. h-2328.patch
          1.0 kB
          Owen O'Malley

        Issue Links

          Activity

            People

              omalley Owen O'Malley
              daryn Daryn Sharp
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: