java.lang.IllegalArgumentException: java.net.URISyntaxException: Illegal character in hostname at index 2: //­%1FP»Rg¯X%25üqø%C2%96e¼%05áÜjLD%C2%85'%C2%88ø2e=Ì%02«+%7FÑÍ]:%C2%84-c§

JIRA | David Capwell | 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

    A special char was in the URI of a path that has been created. When you go to the memory view in the UI, you get the exception at the bottom. {code} java.lang.IllegalArgumentException: java.net.URISyntaxException: Illegal character in hostname at index 2: //­%1FP»Rg¯X%25üqø%C2%96e¼%05áÜjLD%C2%85'%C2%88ø2e=Ì%02«+%7FÑÍ]:%C2%84-c§ at tachyon.TachyonURI.createURI(TachyonURI.java:134) at tachyon.TachyonURI.<init>(TachyonURI.java:77) at tachyon.TachyonURI.join(TachyonURI.java:346) at tachyon.master.MasterInfo.getInMemoryFiles(MasterInfo.java:1407) at tachyon.web.WebInterfaceMemoryServlet.doGet(WebInterfaceMemoryServlet.java:56) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:556) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1044) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:372) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:978) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:369) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:486) at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:933) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:995) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:695) Caused by: java.net.URISyntaxException: Illegal character in hostname at index 2: //­%1FP»Rg¯X%25üqø%C2%96e¼%05áÜjLD%C2%85'%C2%88ø2e=Ì%02«+%7FÑÍ]:%C2%84-c§ at java.net.URI$Parser.fail(URI.java:2810) at java.net.URI$Parser.parseHostname(URI.java:3349) at java.net.URI$Parser.parseServer(URI.java:3198) at java.net.URI$Parser.parseAuthority(URI.java:3117) at java.net.URI$Parser.parseHierarchical(URI.java:3059) at java.net.URI$Parser.parse(URI.java:3025) at java.net.URI.<init>(URI.java:735) at tachyon.TachyonURI.createURI(TachyonURI.java:132) ... 30 more {code} Here are the logs {code} 2014-11-29 22:42:44,136 WARN servlet.ServletHandler (ServletHandler.java:doHandle) - /memory java.lang.IllegalArgumentException: java.net.URISyntaxException: Illegal character in hostname at index 2: //?%1FP<C8>Rg<F8>X%25<9F>q<BF>%C2%96e?%05<87><86>jLD%C2%85'%C2%88<BF>2e=<ED>%02<C7>+%7F <84><EA>]:%C2%84-c<A4> at tachyon.TachyonURI.createURI(TachyonURI.java:134) at tachyon.TachyonURI.<init>(TachyonURI.java:77) at tachyon.TachyonURI.join(TachyonURI.java:346) at tachyon.master.MasterInfo.getInMemoryFiles(MasterInfo.java:1407) at tachyon.web.WebInterfaceMemoryServlet.doGet(WebInterfaceMemoryServlet.java:56) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:556) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1044) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:372) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:978) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:369) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:486) at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:933) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:995) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:695) Caused by: java.net.URISyntaxException: Illegal character in hostname at index 2: //?%1FP<C8>Rg<F8>X%25<9F>q<BF>%C2%96e?%05<87><86>jLD%C2%85'%C2%88<BF>2e=<ED>%02<C7>+%7F<84><EA>]:%C2%84-c<A4> at java.net.URI$Parser.fail(URI.java:2810) at java.net.URI$Parser.parseHostname(URI.java:3349) at java.net.URI$Parser.parseServer(URI.java:3198) at java.net.URI$Parser.parseAuthority(URI.java:3117) at java.net.URI$Parser.parseHierarchical(URI.java:3059) at java.net.URI$Parser.parse(URI.java:3025) at java.net.URI.<init>(URI.java:735) at tachyon.TachyonURI.createURI(TachyonURI.java:132) ... 30 more {code}

    JIRA | 2 years ago | David Capwell
    java.lang.IllegalArgumentException: java.net.URISyntaxException: Illegal character in hostname at index 2: //­%1FP»Rg¯X%25üqø%C2%96e¼%05áÜjLD%C2%85'%C2%88ø2e=Ì%02«+%7FÑÍ]:%C2%84-c§
  2. 0

    A special char was in the URI of a path that has been created. When you go to the memory view in the UI, you get the exception at the bottom. {code} java.lang.IllegalArgumentException: java.net.URISyntaxException: Illegal character in hostname at index 2: //­%1FP»Rg¯X%25üqø%C2%96e¼%05áÜjLD%C2%85'%C2%88ø2e=Ì%02«+%7FÑÍ]:%C2%84-c§ at tachyon.TachyonURI.createURI(TachyonURI.java:134) at tachyon.TachyonURI.<init>(TachyonURI.java:77) at tachyon.TachyonURI.join(TachyonURI.java:346) at tachyon.master.MasterInfo.getInMemoryFiles(MasterInfo.java:1407) at tachyon.web.WebInterfaceMemoryServlet.doGet(WebInterfaceMemoryServlet.java:56) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:556) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1044) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:372) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:978) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:369) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:486) at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:933) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:995) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:695) Caused by: java.net.URISyntaxException: Illegal character in hostname at index 2: //­%1FP»Rg¯X%25üqø%C2%96e¼%05áÜjLD%C2%85'%C2%88ø2e=Ì%02«+%7FÑÍ]:%C2%84-c§ at java.net.URI$Parser.fail(URI.java:2810) at java.net.URI$Parser.parseHostname(URI.java:3349) at java.net.URI$Parser.parseServer(URI.java:3198) at java.net.URI$Parser.parseAuthority(URI.java:3117) at java.net.URI$Parser.parseHierarchical(URI.java:3059) at java.net.URI$Parser.parse(URI.java:3025) at java.net.URI.<init>(URI.java:735) at tachyon.TachyonURI.createURI(TachyonURI.java:132) ... 30 more {code} Here are the logs {code} 2014-11-29 22:42:44,136 WARN servlet.ServletHandler (ServletHandler.java:doHandle) - /memory java.lang.IllegalArgumentException: java.net.URISyntaxException: Illegal character in hostname at index 2: //?%1FP<C8>Rg<F8>X%25<9F>q<BF>%C2%96e?%05<87><86>jLD%C2%85'%C2%88<BF>2e=<ED>%02<C7>+%7F <84><EA>]:%C2%84-c<A4> at tachyon.TachyonURI.createURI(TachyonURI.java:134) at tachyon.TachyonURI.<init>(TachyonURI.java:77) at tachyon.TachyonURI.join(TachyonURI.java:346) at tachyon.master.MasterInfo.getInMemoryFiles(MasterInfo.java:1407) at tachyon.web.WebInterfaceMemoryServlet.doGet(WebInterfaceMemoryServlet.java:56) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:556) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1044) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:372) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:978) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:369) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:486) at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:933) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:995) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:695) Caused by: java.net.URISyntaxException: Illegal character in hostname at index 2: //?%1FP<C8>Rg<F8>X%25<9F>q<BF>%C2%96e?%05<87><86>jLD%C2%85'%C2%88<BF>2e=<ED>%02<C7>+%7F<84><EA>]:%C2%84-c<A4> at java.net.URI$Parser.fail(URI.java:2810) at java.net.URI$Parser.parseHostname(URI.java:3349) at java.net.URI$Parser.parseServer(URI.java:3198) at java.net.URI$Parser.parseAuthority(URI.java:3117) at java.net.URI$Parser.parseHierarchical(URI.java:3059) at java.net.URI$Parser.parse(URI.java:3025) at java.net.URI.<init>(URI.java:735) at tachyon.TachyonURI.createURI(TachyonURI.java:132) ... 30 more {code}

    JIRA | 2 years ago | David Capwell
    java.lang.IllegalArgumentException: java.net.URISyntaxException: Illegal character in hostname at index 2: //­%1FP»Rg¯X%25üqø%C2%96e¼%05áÜjLD%C2%85'%C2%88ø2e=Ì%02«+%7FÑÍ]:%C2%84-c§
  3. 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:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spark RDD create on s3 file

    Stack Overflow | 2 years ago | hayat
    java.lang.IllegalArgumentException: java.net.URISyntaxException: Expected scheme-specific part at index 3: s3:
  6. 0

    [Nutch-dev] Error when running Nutch, please help - Grokbase

    grokbase.com | 2 years ago
    java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: drwxr-xr-xnn3ncaryannstaffnn102nn4n23n22:01n20130423220110

  1. rsprangemeijer 1 times, last 2 months ago
  2. iferca 4 times, last 3 months ago
  3. raytest 1 times, last 4 months ago
  4. Hronom 2 times, last 4 months ago
  5. richard77 4 times, last 5 months ago
2 more registered users
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

    Illegal character in hostname at index 2: //­%1FP»Rg¯X%25üqø%C2%96e¼%05áÜjLD%C2%85'%C2%88ø2e=Ì%02«+%7FÑÍ]:%C2%84-c§

    at java.net.URI$Parser.fail()
  2. Java RT
    URI.<init>
    1. java.net.URI$Parser.fail(URI.java:2810)
    2. java.net.URI$Parser.parseHostname(URI.java:3349)
    3. java.net.URI$Parser.parseServer(URI.java:3198)
    4. java.net.URI$Parser.parseAuthority(URI.java:3117)
    5. java.net.URI$Parser.parseHierarchical(URI.java:3059)
    6. java.net.URI$Parser.parse(URI.java:3025)
    7. java.net.URI.<init>(URI.java:735)
    7 frames
  3. Tachyon Project Core
    WebInterfaceMemoryServlet.doGet
    1. tachyon.TachyonURI.createURI(TachyonURI.java:132)
    2. tachyon.TachyonURI.<init>(TachyonURI.java:77)
    3. tachyon.TachyonURI.join(TachyonURI.java:346)
    4. tachyon.master.MasterInfo.getInMemoryFiles(MasterInfo.java:1407)
    5. tachyon.web.WebInterfaceMemoryServlet.doGet(WebInterfaceMemoryServlet.java:56)
    5 frames
  4. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    2 frames
  5. Jetty
    AsyncHttpConnection.handle
    1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652)
    2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445)
    3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
    4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:556)
    5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
    6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1044)
    7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:372)
    8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189)
    9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:978)
    10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
    11. org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
    12. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
    13. org.eclipse.jetty.server.Server.handle(Server.java:369)
    14. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:486)
    15. org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:933)
    16. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:995)
    17. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
    18. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
    19. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
    19 frames
  6. GWT dev
    SelectChannelEndPoint$1.run
    1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667)
    2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
    2 frames
  7. Jetty
    QueuedThreadPool$3.run
    1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
    2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
    2 frames
  8. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:695)
    1 frame