[jira] [Commented] (MAPREDUCE-5109) Job view-acl should apply to job listing too

2013-06-27 Thread Xi Fang (JIRA)

[ 
https://issues.apache.org/jira/browse/MAPREDUCE-5109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13695116#comment-13695116
 ] 

Xi Fang commented on MAPREDUCE-5109:


Hi Vinod, thanks for your patch. If Hadoop runs with this patch on Windows, 
there would be a problem because file name can't have "*" on Windows. After 
discussed Chris, we have two proposals specifically for Windows:

1. Use an entirely different wildcard character on Windows (for example: using 
"!" instead of "*")
2. Add an encoder and a decoder specifically for "*" in 
JobHistory#encodeJobHistoryFileName() and decodeJobHistoryFileName() 
respectively, on Windows. For example, we can encode "*" to "%20F". In this 
case, getNewJobHistoryFileName should also be changed accordingly. 

Do you have any suggestion on these two options?

> Job view-acl should apply to job listing too
> 
>
> Key: MAPREDUCE-5109
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5109
> Project: Hadoop Map/Reduce
>  Issue Type: Improvement
>Reporter: Arun C Murthy
>Assignee: Vinod Kumar Vavilapalli
> Attachments: MAPREDUCE-5109-20130405.2.txt
>
>
> Job view-acl should apply to job listing too, currently it only applies to 
> job details pages.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (MAPREDUCE-5109) Job view-acl should apply to job listing too

2013-04-22 Thread Vinod Kumar Vavilapalli (JIRA)

[ 
https://issues.apache.org/jira/browse/MAPREDUCE-5109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13638227#comment-13638227
 ] 

Vinod Kumar Vavilapalli commented on MAPREDUCE-5109:


One way to test this is the following:
 - Enable hadoop security, enable acls by setting mapred.acls.enabled to true
 - set hadoop.http.filter.initializers to 
org.apache.hadoop.http.lib.StaticUserWebFilter
 - If we now go to webui, the user will be Dr.Who.
 - Submit job as a user, and play with permissions to Dr.Who
   -- by setting mapreduce.job.acl-view-job

> Job view-acl should apply to job listing too
> 
>
> Key: MAPREDUCE-5109
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5109
> Project: Hadoop Map/Reduce
>  Issue Type: Improvement
>Reporter: Arun C Murthy
>Assignee: Vinod Kumar Vavilapalli
> Attachments: MAPREDUCE-5109-20130405.2.txt
>
>
> Job view-acl should apply to job listing too, currently it only applies to 
> job details pages.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira