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

Confusing exception for unresolvable hdfs host with security enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Done
    • 0.23.0, 2.0.0-alpha, 3.0.0-alpha1
    • None
    • hdfs-client
    • None

    Description

      $ hadoop fs -ls hdfs://unresolvable-host
      ls: Can't replace _HOST pattern since client address is null
      

      It's misleading because it's not even related to the client's address. It'd be a bit more informative to see something like "UnknownHostException: unresolvable-host".

      Attachments

        Activity

          People

            Unassigned Unassigned
            daryn Daryn Sharp
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: