How to RUN a scala file(OnDemandDruidExhaustJob) in Sunbird Obsrv core-dataproduct without using testcase ? #109
-
I have installated core-dataproduct from Sunbird-Obsrv Building block and able to trigger OnDemandDruidExhaustJob via testfile called TestOnDemandDruidExhaustJob.scala , But how do i trigger OnDemandDruidExhaustJob without testcases. I have the following system/software config
Steps that I followed
Error after running the above command
@manjudr - Can you please help here. Cc - @vijiurs @aks30 @kiranharidas187 @Vivek-M-08 @rakeshSgr |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
@sumanvpacewisdom - did you include the analytics-core jar dependency in your run job script? |
Beta Was this translation helpful? Give feedback.
-
According to the shell script , I have updated the variables. Here is the used to run in local Run ScriptError For above script
In Job Exceuter in main function there we need to get the job using jobFactory class and in this class the above exception is thrown. I was able to find where it is casuing error , I tried to resolve it by using the model-config template but i got the same above error. I was unable to process further . @manjudr Can you help me through steps, which i feel would be great, so it would easy to understanding and work on it . |
Beta Was this translation helpful? Give feedback.
-
This Issue is resolved . @manjudr Thank you for solving my issue this helped me to run the job needed. |
Beta Was this translation helpful? Give feedback.
What is the job are you trying to execute?
For example, If you are running the "wfs" job, all the job configurations should be defined in the model-config.sh and also define the model name in the case class of the run-job.sh
Command to run the job -
nohup ./run-job.sh wfs $