Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在IDEA中运行报错 #118

Open
qiuqingyu opened this issue Sep 23, 2019 · 1 comment
Open

在IDEA中运行报错 #118

qiuqingyu opened this issue Sep 23, 2019 · 1 comment

Comments

@qiuqingyu
Copy link

19-09-23 09:20:34 ERROR[main][SylphMaster.java:83]-SERVER START FAILED...
java.lang.NoClassDefFoundError: org/apache/hadoop/yarn/conf/YarnConfiguration
at ideal.sylph.runtime.yarn.YarnModule.configure(YarnModule.java:42)
at com.github.harbby.gadtry.ioc.BindMapping.create(BindMapping.java:163)
at com.github.harbby.gadtry.ioc.BindMapping.create(BindMapping.java:92)
at com.github.harbby.gadtry.ioc.IocFactory.create(IocFactory.java:55)
at ideal.sylph.runner.flink.FlinkContainerFactory.(FlinkContainerFactory.java:67)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at ideal.sylph.main.service.JobEngineManager.lambda$createRunner$1(JobEngineManager.java:117)
at com.github.harbby.gadtry.base.Throwables.noCatch(Throwables.java:94)
at ideal.sylph.main.service.JobEngineManager.createRunner(JobEngineManager.java:117)
at ideal.sylph.main.service.JobEngineManager.lambda$loadRunners$0(JobEngineManager.java:103)
at com.github.harbby.gadtry.classloader.PluginLoader$Builder.loadModule(PluginLoader.java:205)
at com.github.harbby.gadtry.classloader.PluginLoader$Builder.load(PluginLoader.java:189)
at ideal.sylph.main.service.JobEngineManager.loadRunners(JobEngineManager.java:106)
at ideal.sylph.main.SylphMaster.main(SylphMaster.java:73)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.yarn.conf.YarnConfiguration
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at com.github.harbby.gadtry.classloader.PluginClassLoader.loadClass(PluginClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 18 common frames omitted

@dylenWu
Copy link

dylenWu commented Oct 30, 2019

应该是没有设置HADOOP_HOME

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants