java.lang.IllegalArgumentException: Unable to parse the fs.default.name value of "" patched to be "hdfs://" :Expected authority at index 7

Apache's JIRA Issue Tracker | Philip Zeyliger | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Throwing NPE is confusing; instead, an exception with a useful string description could be thrown instead.

    Apache's JIRA Issue Tracker | 8 years ago | Philip Zeyliger
    java.lang.IllegalArgumentException: Unable to parse the fs.default.name value of "" patched to be "hdfs://" :Expected authority at index 7
  2. 0

    Throwing NPE is confusing; instead, an exception with a useful string description could be thrown instead.

    Apache's JIRA Issue Tracker | 8 years ago | Philip Zeyliger
    java.lang.IllegalArgumentException: Unable to parse the fs.default.name value of "" patched to be "hdfs://" :Expected authority at index 7
  3. 0

    [HADOOP-5687] Hadoop NameNode throws NPE if fs.default.name is the default value - ASF JIRA

    apache.org | 1 year ago
    java.lang.IllegalArgumentException: Unable to parse the fs. .name value of hdfs:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SequenceFileLoader fails if given comma-separated list of files

    GitHub | 5 years ago | keolson
    org.apache.pig.backend.executionengine.ExecException: ERROR 2118: java.net.URISyntaxException: Illegal character in scheme name at index 0: 23,hdfs:

  1. raytest 1 times, last 1 month ago
  2. Hronom 2 times, last 1 month ago
  3. richard77 4 times, last 2 months ago
  4. tfr 1 times, last 9 months ago
  5. muffinmannen 1 times, last 11 months ago
36 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.URISyntaxException

    Expected authority at index 7: hdfs://

    at java.net.URI$Parser.fail()
  2. Java RT
    URI.<init>
    1. java.net.URI$Parser.fail(URI.java:2809)
    2. java.net.URI$Parser.failExpecting(URI.java:2815)
    3. java.net.URI$Parser.parseHierarchical(URI.java:3063)
    4. java.net.URI$Parser.parse(URI.java:3014)
    5. java.net.URI.<init>(URI.java:578)
    5 frames
  3. Hadoop
    FileSystem.getDefaultUri
    1. org.apache.hadoop.fs.FileSystem.getDefaultUri(FileSystem.java:108)
    1 frame