Home > other >  A great god to guide how to solve: centos7.7 hadoop2.8.3, JAVA system
A great god to guide how to solve: centos7.7 hadoop2.8.3, JAVA system

Time:09-18

/root @ hadoop1 ~ # start - all the sh
Home This script is Deprecated. Use the start - DFS. Sh and start - yarn. Sh
20/04/27 09:33:15 WARN util. NativeCodeLoader: Unable to load the native - hadoop library for your platform... Using the builtin - Java classes where applicable
[Fatal Error] yarn - site. XML: 25:1: XML document structures must start and end within the same entity.
20/04/27 09:33:16 FATAL conf. Configuration: error parsing the conf yarn - site. XML
Org. XML. Sax. SAXParseException; SystemId: file:/hadoop/soft/hadoop - 2.8.3/etc/hadoop/yarn - site. XML; LineNumber: 25; columnNumber: 1; XML document structures must start and end within the same entity.
The at org, apache xerces. Parsers. DOMParser. Parse (Unknown Source)
The at org, apache xerces. Jaxp. DocumentBuilderImpl. Parse (Unknown Source)
At javax.mail, XML parsers. DocumentBuilder. Parse (DocumentBuilder. Java: 150)
At org, apache hadoop. Conf. Configuration. The parse (2684) Configuration. Java:
At org, apache hadoop. Conf. Configuration. The parse (2672) Configuration. Java:
At org, apache hadoop. Conf. Configuration. The loadResource (2746) Configuration. Java:
At org, apache hadoop. Conf. Configuration. LoadResources (2696) Configuration. Java:
At org, apache hadoop. Conf. Configuration. GetProps (2579) Configuration. Java:
At org, apache hadoop. Conf. Configuration. The get (1091) Configuration. Java:
At org, apache hadoop. Conf. Configuration. GetTrimmed (1145) Configuration. Java:
At org, apache hadoop. Conf. Configuration. GetLong (1422) Configuration. Java:
At org, apache hadoop. Security. Groups. & lt; init> (113) Groups. Java:
At org, apache hadoop. Security. Groups. & lt; init> (102) Groups. Java:
At org, apache hadoop. Security. Groups. GetUserToGroupsMappingService (450) Groups. Java:
At org, apache hadoop. Security. UserGroupInformation. The initialize (UserGroupInformation. Java: 310)
At org, apache hadoop. Security. UserGroupInformation. The ensureInitialized (UserGroupInformation. Java: 277)
At org, apache hadoop. Security. UserGroupInformation. LoginUserFromSubject (UserGroupInformation. Java: 833)
At org, apache hadoop. Security. UserGroupInformation. GetLoginUser (UserGroupInformation. Java: 803)
At org, apache hadoop. Security. UserGroupInformation. GetCurrentUser (UserGroupInformation. Java: 676)
At org, apache hadoop. HDFS. View GetConf. Run (315) GetConf. Java:
At org, apache hadoop. Util. ToolRunner. Run (76) ToolRunner. Java:
At org, apache hadoop. Util. ToolRunner. Run (90) ToolRunner. Java:
At org, apache hadoop. HDFS. View GetConf. Main (332) GetConf. Java:
The Exception in the thread "main" Java. Lang. RuntimeException: org. XML. Sax. SAXParseException; SystemId: file:/hadoop/soft/hadoop - 2.8.3/etc/hadoop/yarn - site. XML; LineNumber: 25; columnNumber: 1; XML document structures must start and end within the same entity.
At org, apache hadoop. Conf. Configuration. The loadResource (2860) Configuration. Java:
At org, apache hadoop. Conf. Configuration. LoadResources (2696) Configuration. Java:
At org, apache hadoop. Conf. Configuration. GetProps (2579) Configuration. Java:
At org, apache hadoop. Conf. Configuration. The get (1091) Configuration. Java:
At org, apache hadoop. Conf. Configuration. GetTrimmed (1145) Configuration. Java:
At org, apache hadoop. Conf. Configuration. GetLong (1422) Configuration. Java:
At org, apache hadoop. Security. Groups. & lt; init> (113) Groups. Java:
At org, apache hadoop. Security. Groups. & lt; init> (102) Groups. Java:
At org, apache hadoop. Security. Groups. GetUserToGroupsMappingService (450) Groups. Java:
At org, apache hadoop. Security. UserGroupInformation. The initialize (UserGroupInformation. Java: 310)
At org, apache hadoop. Security. UserGroupInformation. The ensureInitialized (UserGroupInformation. Java: 277)
At org, apache hadoop. Security. UserGroupInformation. LoginUserFromSubject (UserGroupInformation. Java: 833)
At org, apache hadoop. Security. UserGroupInformation. GetLoginUser (UserGroupInformation. Java: 803)
At org, apache hadoop. Security. UserGroupInformation. GetCurrentUser (UserGroupInformation. Java: 676)
At org, apache hadoop. HDFS. View GetConf. Run (315) GetConf. Java:
At org, apache hadoop. Util. ToolRunner. Run (76) ToolRunner. Java:
At org, apache hadoop. Util. ToolRunner. Run (90) ToolRunner. Java:
At org, apache hadoop. HDFS. View GetConf. Main (332) GetConf. Java:
Under Caused by: org. XML. Sax. SAXParseException; SystemId: file:/hadoop/soft/hadoop - 2.8.3/etc/hadoop/yarn - site. XML; LineNumber: 25; columnNumber: 1; XML document structures must start and end within the same entity.
The at org, apache xerces. Parsers. DOMParser. Parse (Unknown Source)
The at org, apache xerces. Jaxp. DocumentBuilderImpl. Parse (Unknown Source)
At javax.mail, XML parsers. DocumentBuilder. Parse (DocumentBuilder. Java: 150)
At org, apache hadoop. Conf. Configuration. The parse (2684) Configuration. Java:
At org, apache hadoop. Conf. Configuration. The parse (2672) Configuration. Java:
At org, apache hadoop. Conf. Configuration. The loadResource (2746) Configuration. Java:
. 17 more
Starting namenodes on []
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related