swsnu / bdcsfall2014

0 stars 0 forks source link

Help : Runtime Error : Unable to instantiate the clock #15

Open puppybit opened 10 years ago

puppybit commented 10 years ago

After successful code build, I run the problem. but the result is as follows....... OTL What is my mistake ? Anyone help me !

Here is my full error log.

10월 17, 2014 8:39:49 오후 org.apache.hadoop.mapred.FileInputFormat listStatus 정보: Total input paths to process : 1 10월 17, 2014 8:39:49 오후 com.microsoft.reef.runtime.common.launch.REEFErrorHandler onNext 심각: Uncaught exception. java.lang.Exception: Unable to instantiate the clock at com.microsoft.reef.runtime.common.launch.LaunchClass.fail(LaunchClass.java:179) at com.microsoft.reef.runtime.common.launch.LaunchClass.getClock(LaunchClass.java:146) at com.microsoft.reef.runtime.common.launch.LaunchClass.run(LaunchClass.java:159) at com.microsoft.reef.runtime.common.Launcher.main(Launcher.java:108) Caused by: java.lang.RuntimeException: com.microsoft.tang.exceptions.InjectionException: Cannot inject com.microsoft.wake.time.Clock$RuntimeStartHandler: com.microsoft.wake.time.Clock$RuntimeStartHandler(set) includes infeasible plans [ com.microsoft.reef.driver.parameters.ContextActiveHandlers(set) includes infeasible plans [ No known implementations / injectable constructors for edu.snu.bio.reef.DataLoadingTask$ContextActiveHandler ] ] at com.microsoft.tang.InjectionFuture.get(InjectionFuture.java:124) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:475) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:487) at com.microsoft.tang.InjectionFuture.get(InjectionFuture.java:115) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:475) at com.microsoft.tang.implementation.java.InjectorImpl.getNamedInstance(InjectorImpl.java:500) at com.microsoft.tang.InjectionFuture.get(InjectionFuture.java:113) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:475) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:487) at com.microsoft.tang.InjectionFuture.get(InjectionFuture.java:115) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:475) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:487) at com.microsoft.tang.InjectionFuture.get(InjectionFuture.java:115) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:475) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:487) at com.microsoft.tang.InjectionFuture.get(InjectionFuture.java:115) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:475) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:487) at com.microsoft.tang.InjectionFuture.get(InjectionFuture.java:115) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:475) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:487) at com.microsoft.tang.InjectionFuture.get(InjectionFuture.java:115) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:475) at com.microsoft.tang.implementation.java.InjectorImpl.getNamedInstance(InjectorImpl.java:500) at com.microsoft.tang.InjectionFuture.get(InjectionFuture.java:113) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:475) at com.microsoft.tang.implementation.java.InjectorImpl.getNamedInstance(InjectorImpl.java:500) at com.microsoft.tang.InjectionFuture.get(InjectionFuture.java:113) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:475) at com.microsoft.tang.implementation.java.InjectorImpl.getNamedInstance(InjectorImpl.java:500) at com.microsoft.tang.InjectionFuture.get(InjectionFuture.java:113) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:475) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:487) at com.microsoft.reef.runtime.common.launch.LaunchClass.getClock(LaunchClass.java:144) ... 2 more Caused by: com.microsoft.tang.exceptions.InjectionException: Cannot inject com.microsoft.wake.time.Clock$RuntimeStartHandler: com.microsoft.wake.time.Clock$RuntimeStartHandler(set) includes infeasible plans [ com.microsoft.reef.driver.parameters.ContextActiveHandlers(set) includes infeasible plans [ No known implementations / injectable constructors for edu.snu.bio.reef.DataLoadingTask$ContextActiveHandler ] ] at com.microsoft.tang.implementation.java.InjectorImpl.injectFromPlan(InjectorImpl.java:550) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:469) at com.microsoft.tang.implementation.java.InjectorImpl.getNamedInstance(InjectorImpl.java:500) at com.microsoft.tang.InjectionFuture.get(InjectionFuture.java:113) ... 35 more

10월 17, 2014 8:39:49 오후 com.microsoft.reef.runtime.common.launch.REEFErrorHandler onNext 심각: Uncaught exception. java.lang.Exception: Fatal exception while executing the clock at com.microsoft.reef.runtime.common.launch.LaunchClass.fail(LaunchClass.java:179) at com.microsoft.reef.runtime.common.launch.LaunchClass.run(LaunchClass.java:161) at com.microsoft.reef.runtime.common.Launcher.main(Launcher.java:108) Caused by: java.lang.RuntimeException: Unable to instantiate the clock at com.microsoft.reef.runtime.common.launch.LaunchClass.getClock(LaunchClass.java:147) at com.microsoft.reef.runtime.common.launch.LaunchClass.run(LaunchClass.java:159) ... 1 more Caused by: java.lang.RuntimeException: com.microsoft.tang.exceptions.InjectionException: Cannot inject com.microsoft.wake.time.Clock$RuntimeStartHandler: com.microsoft.wake.time.Clock$RuntimeStartHandler(set) includes infeasible plans [ com.microsoft.reef.driver.parameters.ContextActiveHandlers(set) includes infeasible plans [ No known implementations / injectable constructors for edu.snu.bio.reef.DataLoadingTask$ContextActiveHandler ] ] at com.microsoft.tang.InjectionFuture.get(InjectionFuture.java:124) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:475) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:487) at com.microsoft.tang.InjectionFuture.get(InjectionFuture.java:115) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:475) at com.microsoft.tang.implementation.java.InjectorImpl.getNamedInstance(InjectorImpl.java:500) at com.microsoft.tang.InjectionFuture.get(InjectionFuture.java:113) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:475) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:487) at com.microsoft.tang.InjectionFuture.get(InjectionFuture.java:115) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:475) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:487) at com.microsoft.tang.InjectionFuture.get(InjectionFuture.java:115) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:475) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:487) at com.microsoft.tang.InjectionFuture.get(InjectionFuture.java:115) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:475) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:487) at com.microsoft.tang.InjectionFuture.get(InjectionFuture.java:115) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:475) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:487) at com.microsoft.tang.InjectionFuture.get(InjectionFuture.java:115) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:475) at com.microsoft.tang.implementation.java.InjectorImpl.getNamedInstance(InjectorImpl.java:500) at com.microsoft.tang.InjectionFuture.get(InjectionFuture.java:113) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:475) at com.microsoft.tang.implementation.java.InjectorImpl.getNamedInstance(InjectorImpl.java:500) at com.microsoft.tang.InjectionFuture.get(InjectionFuture.java:113) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:475) at com.microsoft.tang.implementation.java.InjectorImpl.getNamedInstance(InjectorImpl.java:500) at com.microsoft.tang.InjectionFuture.get(InjectionFuture.java:113) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:475) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:487) at com.microsoft.reef.runtime.common.launch.LaunchClass.getClock(LaunchClass.java:144) ... 2 more Caused by: com.microsoft.tang.exceptions.InjectionException: Cannot inject com.microsoft.wake.time.Clock$RuntimeStartHandler: com.microsoft.wake.time.Clock$RuntimeStartHandler(set) includes infeasible plans [ com.microsoft.reef.driver.parameters.ContextActiveHandlers(set) includes infeasible plans [ No known implementations / injectable constructors for edu.snu.bio.reef.DataLoadingTask$ContextActiveHandler ] ] at com.microsoft.tang.implementation.java.InjectorImpl.injectFromPlan(InjectorImpl.java:550) at com.microsoft.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:469) at com.microsoft.tang.implementation.java.InjectorImpl.getNamedInstance(InjectorImpl.java:500) at com.microsoft.tang.InjectionFuture.get(InjectionFuture.java:113) ... 35 more

10월 17, 2014 8:39:49 오후 com.microsoft.reef.runtime.common.Launcher main 정보: Exiting Launcher.main()

yunseong commented 10 years ago

Do you have @Unit annotation in your Task class (edu.snu.bio.reef.DataLoadingTask)?

puppybit commented 10 years ago

No, I didnt Thanks I try !!!!

yunseong commented 10 years ago

By the way, it seems little bit strange to me to have ContextActiveHandler in your Task class. Does DataLoadingTask class contain the driver code?

bchocho commented 10 years ago

You may also want to double check that you have a constructor with @Inject for ContextActiveHandler:

No known implementations / injectable constructors for edu.snu.bio.reef.DataLoadingTask$ContextActiveHandler