java.lang.IllegalArgumentException: Expected authority at index 6: s3n://

JIRA | Elena Viter | 2 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

    Amazon s3n path does not work with Tachyon (uri without port): {color:#707070}elenav@elenav-ThinkPad-T440s:~/src/clean_clones/tachyon$ ./bin/tachyon loadufs tachyon://localhost:19998/eventsSmall/ s3n://impalatogopoc/eventsSmall/ java.lang.IllegalArgumentException: Expected authority at index 6: s3n:// at java.net.URI.create(URI.java:859) at org.apache.hadoop.fs.FileSystem.getDefaultUri(FileSystem.java:177) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:358) at org.apache.hadoop.fs.Path.getFileSystem(Path.java:296) at tachyon.UnderFileSystemHdfs.<init>(UnderFileSystemHdfs.java:109) at tachyon.UnderFileSystemHdfs.getClient(UnderFileSystemHdfs.java:60) at tachyon.UnderFileSystem.get(UnderFileSystem.java:76) at tachyon.UnderFileSystem.get(UnderFileSystem.java:60) at tachyon.util.UfsUtils.loadUnderFs(UfsUtils.java:119) at tachyon.util.UfsUtils.loadUfs(UfsUtils.java:77) at tachyon.util.UfsUtils.main(UfsUtils.java:185) Caused by: java.net.URISyntaxException: Expected authority at index 6: s3n:// at java.net.URI$Parser.fail(URI.java:2829) at java.net.URI$Parser.failExpecting(URI.java:2835) at java.net.URI$Parser.parseHierarchical(URI.java:3083) at java.net.URI$Parser.parse(URI.java:3034) at java.net.URI.<init>(URI.java:595) at java.net.URI.create(URI.java:857) ... 10 more {color} *{color:#14892c}Reason:{color}* failure to parse dfs uri which does not contain port (and should not like in case with Amazon bucket).

    JIRA | 2 years ago | Elena Viter
    java.lang.IllegalArgumentException: Expected authority at index 6: s3n://
  2. 0

    Amazon s3n path does not work with Tachyon (uri without port): {color:#707070}elenav@elenav-ThinkPad-T440s:~/src/clean_clones/tachyon$ ./bin/tachyon loadufs tachyon://localhost:19998/eventsSmall/ s3n://impalatogopoc/eventsSmall/ java.lang.IllegalArgumentException: Expected authority at index 6: s3n:// at java.net.URI.create(URI.java:859) at org.apache.hadoop.fs.FileSystem.getDefaultUri(FileSystem.java:177) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:358) at org.apache.hadoop.fs.Path.getFileSystem(Path.java:296) at tachyon.UnderFileSystemHdfs.<init>(UnderFileSystemHdfs.java:109) at tachyon.UnderFileSystemHdfs.getClient(UnderFileSystemHdfs.java:60) at tachyon.UnderFileSystem.get(UnderFileSystem.java:76) at tachyon.UnderFileSystem.get(UnderFileSystem.java:60) at tachyon.util.UfsUtils.loadUnderFs(UfsUtils.java:119) at tachyon.util.UfsUtils.loadUfs(UfsUtils.java:77) at tachyon.util.UfsUtils.main(UfsUtils.java:185) Caused by: java.net.URISyntaxException: Expected authority at index 6: s3n:// at java.net.URI$Parser.fail(URI.java:2829) at java.net.URI$Parser.failExpecting(URI.java:2835) at java.net.URI$Parser.parseHierarchical(URI.java:3083) at java.net.URI$Parser.parse(URI.java:3034) at java.net.URI.<init>(URI.java:595) at java.net.URI.create(URI.java:857) ... 10 more {color} *{color:#14892c}Reason:{color}* failure to parse dfs uri which does not contain port (and should not like in case with Amazon bucket).

    JIRA | 2 years ago | Elena Viter
    java.lang.IllegalArgumentException: Expected authority at index 6: s3n://
  3. 0

    Oozie - Not Recognizing "maprfs:///" for nameNode

    Stack Overflow | 1 year ago | ZaydH
    org.apache.oozie.action.ActionExecutorException: IllegalArgumentException: Illegal character in scheme name at index 0: "maprfs:///"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Oozie

    pr8x.com | 1 year ago
    org.apache.oozie.action.ActionExecutorException: IllegalArgumentException: Illegal character in scheme name at index 0: "maprfs:///"
  6. 0

    Expected authority at index 7: hdfs://_云计算 | 帮客之家

    bkjia.com | 11 months ago
    java.lang.IllegalArgumentException: Expected authority at index 7: hdfs://

  1. rp 1 times, last 2 months ago
  2. richard77 1 times, last 3 months ago
  3. iridic 1 times, last 3 months ago
  4. maxxi 1 times, last 3 months ago
  5. lribeiro 12 times, last 8 months ago
8 more registered users
11 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 6: s3n://

    at java.net.URI$Parser.fail()
  2. Java RT
    URI.create
    1. java.net.URI$Parser.fail(URI.java:2829)
    2. java.net.URI$Parser.failExpecting(URI.java:2835)
    3. java.net.URI$Parser.parseHierarchical(URI.java:3083)
    4. java.net.URI$Parser.parse(URI.java:3034)
    5. java.net.URI.<init>(URI.java:595)
    6. java.net.URI.create(URI.java:857)
    6 frames
  3. Hadoop
    Path.getFileSystem
    1. org.apache.hadoop.fs.FileSystem.getDefaultUri(FileSystem.java:177)
    2. org.apache.hadoop.fs.FileSystem.get(FileSystem.java:358)
    3. org.apache.hadoop.fs.Path.getFileSystem(Path.java:296)
    3 frames
  4. Tachyon Project Core
    UfsUtils.main
    1. tachyon.UnderFileSystemHdfs.<init>(UnderFileSystemHdfs.java:109)
    2. tachyon.UnderFileSystemHdfs.getClient(UnderFileSystemHdfs.java:60)
    3. tachyon.UnderFileSystem.get(UnderFileSystem.java:76)
    4. tachyon.UnderFileSystem.get(UnderFileSystem.java:60)
    5. tachyon.util.UfsUtils.loadUnderFs(UfsUtils.java:119)
    6. tachyon.util.UfsUtils.loadUfs(UfsUtils.java:77)
    7. tachyon.util.UfsUtils.main(UfsUtils.java:185)
    7 frames