[jira] Commented: (MAPREDUCE-1941) Need a servlet in JobTracker to stream contents of the job history file

2010-07-14 Thread Amareshwari Sriramadasu (JIRA)

[ 
https://issues.apache.org/jira/browse/MAPREDUCE-1941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12888697#action_12888697
 ] 

Amareshwari Sriramadasu commented on MAPREDUCE-1941:


This can be done in Job client itself, no? History url is already available in 
JobStatus. 

 Need a servlet in JobTracker to stream contents of the job history file
 ---

 Key: MAPREDUCE-1941
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1941
 Project: Hadoop Map/Reduce
  Issue Type: New Feature
  Components: jobtracker
Affects Versions: 0.22.0
Reporter: Srikanth Sundarrajan
Assignee: Srikanth Sundarrajan

 There is no convenient mechanism to retrieve the contents of the job history 
 file. Need a way to retrieve the job history file contents from Job Tracker. 
 This can perhaps be implemented as a servlet on the Job tracker.
 * Create a jsp/servlet that accepts job id as a request parameter
 * Stream the contents of the history file corresponding to the job id, if 
 user has permissions to view the job details.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (MAPREDUCE-1941) Need a servlet in JobTracker to stream contents of the job history file

2010-07-14 Thread Srikanth Sundarrajan (JIRA)

[ 
https://issues.apache.org/jira/browse/MAPREDUCE-1941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12888710#action_12888710
 ] 

Srikanth Sundarrajan commented on MAPREDUCE-1941:
-

{quote}
This can be done in Job client itself, no? History url is already available in 
JobStatus. 
{quote} 

While the history file name may be available through JobStatus, the history 
file is owned by user who runs the job tracker. However access to history file 
should be governed by JobACL.VIEW_JOB. Hence the request to have a separate 
servlet to provide job history file contents.  

 Need a servlet in JobTracker to stream contents of the job history file
 ---

 Key: MAPREDUCE-1941
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1941
 Project: Hadoop Map/Reduce
  Issue Type: New Feature
  Components: jobtracker
Affects Versions: 0.22.0
Reporter: Srikanth Sundarrajan
Assignee: Srikanth Sundarrajan

 There is no convenient mechanism to retrieve the contents of the job history 
 file. Need a way to retrieve the job history file contents from Job Tracker. 
 This can perhaps be implemented as a servlet on the Job tracker.
 * Create a jsp/servlet that accepts job id as a request parameter
 * Stream the contents of the history file corresponding to the job id, if 
 user has permissions to view the job details.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.