hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod Kumar Vavilapalli (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-10537) eclipse running NameNode Class Exception
Date Mon, 11 Jul 2016 22:03:11 GMT

     [ https://issues.apache.org/jira/browse/HDFS-10537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vinod Kumar Vavilapalli updated HDFS-10537:
-------------------------------------------
    Fix Version/s:     (was: 2.7.3)

> eclipse running NameNode Class Exception
> ----------------------------------------
>
>                 Key: HDFS-10537
>                 URL: https://issues.apache.org/jira/browse/HDFS-10537
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs
>    Affects Versions: 2.7.0
>            Reporter: .D.
>            Priority: Minor
>
> I import hadoop2.7.0 source code to eclipse workspace
> I like in eclipse runinng NameNode.java
> args = "-fromat"
> get Error Message:
> 2016-06-16 22:50:09,074 ERROR namenode.NameNode (NameNode.java:main(1558)) - Failed to
start namenode.
> java.lang.IllegalArgumentException: URI has an authority component
> 	at java.io.File.<init>(File.java:423)
> 	at org.apache.hadoop.hdfs.server.namenode.NNStorage.getStorageDirectory(NNStorage.java:329)
> 	at org.apache.hadoop.hdfs.server.namenode.FSEditLog.initJournals(FSEditLog.java:276)
> 	at org.apache.hadoop.hdfs.server.namenode.FSEditLog.initJournalsForWrite(FSEditLog.java:247)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:984)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1428)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1553)
> 2016-06-16 22:50:09,076 INFO  util.ExitUtil (ExitUtil.java:terminate(124)) - Exiting
with status 1
> 2016-06-16 22:50:09,078 INFO  namenode.NameNode (LogAdapter.java:info(47)) - SHUTDOWN_MSG:

> /************************************************************
> SHUTDOWN_MSG: Shutting down NameNode at xxxx-Pro.local/127.0.0.1
> ************************************************************/
> I will core-site.xml and hdfs-site.xml join hadoop project down
> core-site.xml
> <configuration>
> 	<configuration>
> 		<property>
> 			<name>fs.defaultFS</name>
> 			<value>hdfs://master:9000/</value>
> 		</property>
> 	</configuration>
> 	<property>
> 		<name>hadoop.tmp.dir</name>
> 		<value>file:///Users/Joker/tmp</value>
> 		<description>Abase for other temporary directories.</description>
> 	</property>
> </configuration>
> hdfs-site.xml
> <configuration>
> 	<property>
> 		<name>dfs.replication</name>
> 		<value>1</value>
> 	</property>
> 	<property>
> 		<name>dfs.namenode.name.dir</name>
> 		<value>file:///Users/Joker/Documents/code_framework/java/hadoop-2.7.0/dfs/name</value>
> 	</property>
> 	<property>
> 		<name>dfs.datanode.data.dir</name>
> 		<value>file:///Users/Joker/Documents/code_framework/java/hadoop-2.7.0/dfs/data</value>
> 	</property>
> </configuration>
> Thanks !



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message