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

misspelt DFS host name gives null pointer exception in getProtocolVersion

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6.2
    • 0.7.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: