passing arguments to MRRunner job - by erincon

Status : 

 


2
0
Sign in
to vote
ID 806502 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 10/24/2013 3:19:45 PM
Access Restriction Public

Description

if I run the following command: 
 mrlib\mrrunner -dll myClass.exe -class Count.CountJob -- /lineas /salida 

 where /lineas and /salida are the InputPath and the OutputForder arguments for the Job, I get this error: 
 ERROR: Error during job execution: Constructor on type 'Count.CountJob' not found. 

 If I remove the arguments and "hardcode" the arguments in the HadoopJobConfiguration, all works correctly. 

 Could be that MRRunner does not support passing arguments to the jobs? 

 the documentation seems clear, but aparently is not working: 

 MRRunner.exe -dll DllPath [-class ClassName] [-- job_args] 
 ... 
 job-args: all args after -- are passed to M/R job via ExecutionContext.Arguments 

 Thank you
Sign in to post a comment.