java.net.URISyntaxException: Illegal character in opaque part at index 2: C:\Hadoop\data\namenode

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 Stack Overflow by Ahmed Shayan Durrani
, 5 months ago
Illegal character in opaque part at index 2: F:\had oop-2.7.2\data\namenode
via toodey.com by Unknown author, 1 year ago
Illegal character in opaque part at index 2: C:\Hadoop\data\namenode
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
via Eclipse Bugzilla by chuonglepham, 1 year ago
Illegal character in opaque part at index 2: D:\Project\website/WebContent/META-INF
java.net.URISyntaxException: Illegal character in opaque part at index 2: C:\Hadoop\data\namenode
at java.net.URI$Parser.fail(URI.java:2848)
at java.net.URI$Parser.checkChars(URI.java:3021)
at java.net.URI$Parser.parse(URI.java:3058)
at java.net.URI.(URI.java:588)
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.FSNamesystem.checkConfiguration(FSNamesystem.java:615)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:669)
at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:584)
at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:644)
at org.apache.hadoop.hdfs.server.namenode.NameNode.(NameNode.java:811)
at org.apache.hadoop.hdfs.server.namenode.NameNode.(NameNode.java:795)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1488)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 7 months ago
Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 month ago
Once, 4 months ago
66 more bugmates

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