If I understand correctly, to get the JobConf I have to get a MapContext...
I am not sure how to get it outside of the map/reduce class, and I would
like to perform initialization to
the pipes application prior to running the task using HadoopPipes::runTask
(outside of Map/Reduce class)...
So I thought maybe I could pass on command-line parameters. If there is a
way to get the JobConf outside of a Map/Reduce class, that would be nice
too!

Thanks.

Jerr.




Owen O'Malley-2 wrote:
> 
> 
> On Nov 27, 2007, at 11:42 AM, jerrro wrote:
> 
>> I have a c++ pipe application that I would like to pass command-line
>> parameters to. Is it possible to do that with
>> hadoop pipes?
> 
> It is not currently possible although it wouldn't be that hard to  
> add. Currently pipes applications get all of their information via  
> the job conf, which is just a string->string map. What is the use  
> case that having command line arguments is more convenient than using  
> the job conf?
> 
> -- Owen
> 
> 

-- 
View this message in context: 
http://www.nabble.com/c%2B%2B-pipe-application-with-parameters-tf4883950.html#a14032847
Sent from the Hadoop Users mailing list archive at Nabble.com.

Reply via email to