How to get username/jobid/taskid/localdir in LinuxTaskController#createLogDir?

2013-08-21 Thread sam liu
this feature through ShellCommandExecutor in LinuxTaskController#createLogDir. However, I found the default LinuxTaskController#createLogDir only has two input parameters (TaskAttemptID taskID,boolean isCleanup), and does not satisfy the input parameters of function initialize_task(const char* user,const

TaskID

2013-04-25 Thread Bharati
Hi Folks, I need to find the task ID of the map task. Please send me any ideas or suggestions. Thanks, Bharati Sent from my iPad Fortigate Filtered

Re: TaskID

2013-04-25 Thread Chris Nauroth
Hi Bharati, Your mapper class implementation methods have access to a MapContext: http://hadoop.apache.org/docs/current/api/org/apache/hadoop/mapreduce/MapContext.html This is a subclass of TaskAttemptContext:

Re: Pass the TaskId from map to Reduce

2010-02-18 Thread Amogh Vasekar
after every map or after all the maps? Am I doing something wrong? Thanks Ankit -- View this message in context: http://old.nabble.com/Pass-the-TaskId-from-map-to-Reduce-tp27575531p27634001.html Sent from the Hadoop core-user mailing list archive at Nabble.com.

Re: Pass the TaskId from map to Reduce

2010-02-17 Thread Don Bosco
() as the task id would have changed Ankit -- View this message in context: http://old.nabble.com/Pass-the-TaskId-from-map-to-Reduce-tp27575531p27633914.html Sent from the Hadoop core-user mailing list archive at Nabble.com.

Re: Pass the TaskId from map to Reduce

2010-02-17 Thread ANKITBHATNAGAR
when is closed function called after every map or after all the maps? Am I doing something wrong? Thanks Ankit -- View this message in context: http://old.nabble.com/Pass-the-TaskId-from-map-to-Reduce-tp27575531p27634001.html Sent from the Hadoop core-user mailing list archive at Nabble.com.

Pass the TaskId from map to Reduce

2010-02-13 Thread ANKITBHATNAGAR
of reduce. I could give a task id as name of the file but dont know how will I read the same file in configure() as the task id would have changed Ankit -- View this message in context: http://old.nabble.com/Pass-the-TaskId-from-map-to-Reduce-tp27575531p27575531.html Sent from the Hadoop core-user

Re: Pass the TaskId from map to Reduce

2010-02-13 Thread Ted Yu
read the same file in configure() as the task id would have changed Ankit -- View this message in context: http://old.nabble.com/Pass-the-TaskId-from-map-to-Reduce-tp27575531p27575531.html Sent from the Hadoop core-user mailing list archive at Nabble.com.