我在我的Ubuntu 14.04上安装了hadoop 2.7.1。在我运行jps命令后安装它显示了以下内容:
sukalyan @ sukalyan-Lenovo-G50-80:〜$ jps
7601 NodeManager
7464 ResourceManager
7921 Jps
7292 SecondaryNameNode
7099 DataNode
可以清楚地看到namenode缺失,因此当我在浏览器上运行localhost:50070时,它显示“问题加载页面”。我经历了很多解决方案,但不幸的是它们都没有工作。可能是错的,如何让namenode运行?谢谢
答案 0 :(得分:1)
最初我的localhost设置为9000,我认为由于某种原因已经占用了。我将它更改为另一个位置54310,现在我的名字节点似乎像奇迹一样工作!
答案 1 :(得分:0)
尝试在hdfs-site.xml中添加以下内容。
C:\STS\wsRestTemplate\TestDeployment>mvn clean package
...
[INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ TestDeployment ---
[INFO] Building jar: C:\STS\wsRestTemplate\TestDeployment\target\embeddedApp.jar
[INFO]
[INFO] --- appassembler-maven-plugin:1.10:assemble (default) @ TestDeployment --
-
[WARNING] The usage of program name (App) is deprecated. Please use program.id i
nstead.
[INFO] Installing artifact C:\Users\e049447\.m2\repository\org\springframework\s
pring-web\4.2.5.RELEASE\spring-web-4.2.5.RELEASE.jar to C:\STS\wsRestTemplate\Te
stDeployment\target\repo\org\springframework\spring-web\4.2.5.RELEASE\spring-web
-4.2.5.RELEASE.jar
[INFO] Installing artifact C:\Users\e049447\.m2\repository\org\springframework\s
pring-aop\4.2.5.RELEASE\spring-aop-4.2.5.RELEASE.jar to C:\STS\wsRestTemplate\Te
stDeployment\target\repo\org\springframework\spring-aop\4.2.5.RELEASE\spring-aop
-4.2.5.RELEASE.jar
...
[INFO] Installing artifact C:\STS\wsRestTemplate\TestDeployment\target\embeddedA
pp.jar to C:\STS\wsRestTemplate\TestDeployment\target\repo\com\mastercard\ictt\b
atchs\TestDeployment\0.0.1-SNAPSHOT\TestDeployment-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- maven-shade-plugin:1.3.3:shade (default) @ TestDeployment ---
[INFO] Including org.springframework:spring-web:jar:4.2.5.RELEASE in the shaded
jar.
[INFO] Including org.springframework:spring-aop:jar:4.2.5.RELEASE in the shaded
...[INFO] Including commons-io:commons-io:jar:2.2 in the shaded jar.
[INFO] Including javax.servlet:javax.servlet-api:jar:3.0.1 in the shaded jar.
[WARNING] We have a duplicate org/apache/jasper/Constants.class in C:\Users\e049
447\.m2\repository\org\apache\tomcat\tomcat-jasper\8.0.32\tomcat-jasper-8.0.32.j
ar
[WARNING] We have a duplicate org/apache/jasper/EmbeddedServletOptions.class in
C:\Users\e049447\.m2\repository\org\apache\tomcat\tomcat-jasper\8.0.32\tomcat-ja
sper-8.0.32.jar
[WARNING] We have a duplicate org/apache/jasper/JasperException.class in C:\User
s\e049447\.m2\repository\org\apache\tomcat\tomcat-jasper\8.0.32\tomcat-jasper-8.
0.32.jar
[WARNING] We have a duplicate org/apache/jasper/JspC.class in C:\Users\e049447\.
m2\repository\org\apache\tomcat\tomcat-jasper\8.0.32\tomcat-jasper-8.0.32.jar
[WARNING] We have a duplicate org/apache/jasper/JspCompilationContext.class in C
:\Users\e049447\.m2\repository\org\apache\tomcat\tomcat-jasper\8.0.32\tomcat-jas
per-8.0.32.jar