Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-487

misspelt DFS host name gives null pointer exception in getProtocolVersion

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6.2
    • Fix Version/s: 0.7.0
    • Component/s: None
    • Labels:
      None

      Description

      I'm trying to construct a DistributedFileSystem but I have the wrong hostname.

      It doesn't work. It throws an exception. Fair enough.

      However, it throws a null pointer exception inside $Proxy0.getProtocolVersion, the code that checks whether we have the right protocol version, rather than giving us any exception we could understand or taking an exception in code to which we have sources so we have a way of understanding the problem.

      -dk

        Attachments

        1. unknown-host.txt
          1 kB
          Sameer Paranjpye

          Issue Links

            Activity

              People

              • Assignee:
                sameerp Sameer Paranjpye
                Reporter:
                dking Dick King
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: