java.net.URISyntaxException: Illegal character in opaque part at index 2: D:\Hadoop_TEST\Hadoop\Data

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via toodey.com by Unknown author, 1 year ago
Illegal character in opaque part at index 2: D:\Hadoop_TEST\Hadoop\Data
via Stack Overflow by Ahmed Shayan Durrani
, 7 months ago
Illegal character in opaque part at index 2: F:\had oop-2.7.2\data\namenode
via Eclipse Bugzilla by chuonglepham, 1 year ago
Illegal character in opaque part at index 2: D:\Project\website/WebContent/META-INF
via Stack Overflow by shadowlaw
, 2 years ago
Illegal character in opaque part at index 2: C:\installedSoft\play-2.0.1/framework/sbt/sbt.boot.properties
via Atlassian JIRA by Marek Parfianowicz [Atlassian], 1 year ago
Illegal character in opaque part at index 2: C:\Users\Marek\.workspace-eclipse-3.4.2\Moneybags\.clover\report\dashboard-eclipse.html
via Atlassian JIRA by Marek Parfianowicz [Atlassian], 1 year ago
Illegal character in opaque part at index 2: C:\Users\Marek\.workspace-eclipse-3.4.2\Moneybags\.clover\report\dashboard-eclipse.html
java.net.URISyntaxException: Illegal character in opaque part at index 2: D:\Hadoop_TEST\Hadoop\Data
at java.net.URI$Parser.fail(URI.java:2829)
at java.net.URI$Parser.checkChars(URI.java:3002)
at java.net.URI$Parser.parse(URI.java:3039)
at java.net.URI.(URI.java:595)
at org.apache.hadoop.hdfs.server.common.Util.stringAsURI(Util.java:48)
at org.apache.hadoop.hdfs.server.common.Util.stringCollectionAsURIs(Util.java:98)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getStorageDirs(FSNamesystem.java:1400)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getNamespaceDirs(FSNamesystem.java:1355)
at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:966)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1429)

Users with the same issue

2 times, 1 month ago
2 times, 1 month ago
4 times, 1 month ago
10 times, 2 months ago
2 times, 3 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.