2024. 2. 12. 02:04, note
2024-02-12 01:56:42,265 FATAL resourcemanager.ResourceManager: Error starting ResourceManager
java.lang.NoClassDefFoundError: org/apache/hadoop/yarn/server/timelineservice/collector/TimelineCollectorManager
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getDeclaredMethods(Unknown Source)
at com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:688)
at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:380)
at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:399)
at com.google.inject.internal.BindingBuilder.toInstance(BindingBuilder.java:84)
at org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebApp.setup(RMWebApp.java:56)
at org.apache.hadoop.yarn.webapp.WebApp.configureServlets(WebApp.java:160)
at com.google.inject.servlet.ServletModule.configure(ServletModule.java:55)
at com.google.inject.AbstractModule.configure(AbstractModule.java:62)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340)
at com.google.inject.spi.Elements.getElements(Elements.java:110)
at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:138)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)
at com.google.inject.Guice.createInjector(Guice.java:96)
at com.google.inject.Guice.createInjector(Guice.java:73)
at com.google.inject.Guice.createInjector(Guice.java:62)
at org.apache.hadoop.yarn.webapp.WebApps$Builder.build(WebApps.java:356)
at org.apache.hadoop.yarn.webapp.WebApps$Builder.start(WebApps.java:401)
at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.startWepApp(ResourceManager.java:1137)
at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceStart(ResourceManager.java:1245)
at org.apache.hadoop.service.AbstractService.start(AbstractService.java:194)
at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.main(ResourceManager.java:1446)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.yarn.server.timelineservice.collector.TimelineCollectorManager
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 36 more
2024-02-12 01:56:42,270 INFO resourcemanager.ResourceManager: Transitioning to standby state
2024-02-12 01:56:42,270 INFO resourcemanager.ResourceManager: Transitioned to standby state
2024-02-12 01:56:42,271 INFO resourcemanager.ResourceManager: SHUTDOWN_MSG:
์๋์ฐ ํ๊ฒฝ์์ ํ๋ก ์ค์น ํ yarn demon์ ์คํํ์๋ ์์ ๊ฐ์ ์๋ฌ๊ฐ ๋ฐ์ํ์์ต๋๋ค.
์๋์ฐ cmd ์ฐฝ์์ java -version ์ผ๋ก ์ ์์ ์ผ๋ก ์ค์น๋์ด์๋์ง ํ์ธ. (1.8.x_xxx)
[ํ๋ก๊ฒฝ๋ก]/share/hadoop/yarn/timelineservice์
hadoop-yarn-server-timelineservice-3.0.3.jar ํ์ผ์
[ํ๋ก๊ฒฝ๋ก]/share/hadoop/yarn์ผ๋ก ๋ณต์ฌํ๋ค.
(ex) C:/hadoop-3.0.3/share/hadoop/yarn/timelineservice/hadoop-yarn-server-timelineservice-3.0.3.jar => copy to C:/hadoop-3.0.3/share/hadoop/yarn
๋ณต์ฌ ํ ๋ค์ start-yarn.cmd๋ฅผ ์คํํด๋ณด๋ฉด ์ ์์ ์ผ๋ก ๊ฒฝ๋ก๋ฅผ ์ธ์ํ๋ค.
'note' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[LangChain] LangChain์ ํ์ฉํ ๋ฌธ์ ๊ธฐ๋ฐ ์ฑ๋ด ๋ง๋ค๊ธฐ (0) | 2024.03.20 |
---|---|
2๋ ๋์ Kubernetes์์ Airflow๋ฅผ ์คํํ๊ณ ๋ฐฐ์ด ๊ฒ (๋ฒ์ญ) (0) | 2024.02.29 |
[Spark] Cluster Sizing - ์คํํฌ ํด๋ฌ์คํฐ ์ฌ์ด์ฆ ์ ํ๊ธฐ (0) | 2024.02.10 |
[test] ์ฝ๊ฒ ์์ํ๋ ํ์ด์ฌ ํ ์คํธ ์ฝ๋ (0) | 2024.01.30 |
๋คํธ์ํน์ ํตํด ๋ฐฐ์ด ๊ฒ๋ค (0) | 2023.12.31 |