[jira] [Updated] (MAPREDUCE-6429) running M/R tasks under a security policy

2015-07-14 Thread Purvesh Patel (JIRA)

 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-6429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Purvesh Patel updated MAPREDUCE-6429:
-
Attachment: (was: Patch.pdf)

 running M/R tasks under a security policy
 -

 Key: MAPREDUCE-6429
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6429
 Project: Hadoop Map/Reduce
  Issue Type: Improvement
  Components: mrv2
Affects Versions: 2.5.0
Reporter: Purvesh Patel
Priority: Minor
 Attachments: MAPREDUCE-6429-1.patch


 When running M/R tasks under a security policy without the 
 'java.lang.reflect.ReflectPermission suppressAccessChecks' granted to the 
 user code, we are unable to instantiate new keys for a WritableComparator. 
 This patch wraps the WritableComparator#newKey in a doPrivileged block 
 handling non-public key constructors. Please see attached file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MAPREDUCE-6429) running M/R tasks under a security policy

2015-07-14 Thread Purvesh Patel (JIRA)

 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-6429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Purvesh Patel updated MAPREDUCE-6429:
-
Attachment: MAPREDUCE-6429-1.patch

 running M/R tasks under a security policy
 -

 Key: MAPREDUCE-6429
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6429
 Project: Hadoop Map/Reduce
  Issue Type: Improvement
  Components: mrv2
Affects Versions: 2.5.0
Reporter: Purvesh Patel
Priority: Minor
 Attachments: MAPREDUCE-6429-1.patch


 When running M/R tasks under a security policy without the 
 'java.lang.reflect.ReflectPermission suppressAccessChecks' granted to the 
 user code, we are unable to instantiate new keys for a WritableComparator. 
 This patch wraps the WritableComparator#newKey in a doPrivileged block 
 handling non-public key constructors. Please see attached file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MAPREDUCE-6427) Fix typo in JobHistoryEventHandler

2015-07-14 Thread Chris Douglas (JIRA)

 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-6427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Douglas updated MAPREDUCE-6427:
-
Summary: Fix typo in JobHistoryEventHandler  (was: Fix Typo in 
JobHistoryEventHandler#processEventForTimelineServer)

 Fix typo in JobHistoryEventHandler
 --

 Key: MAPREDUCE-6427
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6427
 Project: Hadoop Map/Reduce
  Issue Type: Bug
Reporter: Brahma Reddy Battula
Assignee: Ray Chiang
Priority: Minor
 Fix For: 2.8.0

 Attachments: MAPREDUCE-6427.001.branch-2.patch, 
 MAPREDUCE-6427.001.patch


  JobHistoryEventHandler#processEventForTimelineServer
  {code}tEvent.addEventInfo(WORKLFOW_ID, jse.getWorkflowId());{code}
  *should be like below.* 
  {code}tEvent.addEventInfo(WORKFLOW_ID, jse.getWorkflowId()); {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MAPREDUCE-6427) Fix Typo in JobHistoryEventHandler#processEventForTimelineServer

2015-07-14 Thread Chris Douglas (JIRA)

 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-6427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Douglas updated MAPREDUCE-6427:
-
   Resolution: Fixed
 Hadoop Flags: Incompatible change,Reviewed  (was: Incompatible change)
Fix Version/s: 2.8.0
 Release Note: There is a typo in the event string WORKFLOW_ID (as 
WORKLFOW_ID).  The branch-2 change will publish both event strings for 
compatibility with consumers, but the misspelled metric will be removed in 
trunk.  (was: There is a typo in the event string WORKFLOW_ID (as 
WORKLFOW_ID).  The branch-2 change will publish both event strings.

The trunk solution will be an incompatible change going forward, with only the 
correctly spelled string.)
   Status: Resolved  (was: Patch Available)

+1 I committed this. Thanks Ray

 Fix Typo in JobHistoryEventHandler#processEventForTimelineServer
 

 Key: MAPREDUCE-6427
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6427
 Project: Hadoop Map/Reduce
  Issue Type: Bug
Reporter: Brahma Reddy Battula
Assignee: Ray Chiang
Priority: Minor
 Fix For: 2.8.0

 Attachments: MAPREDUCE-6427.001.branch-2.patch, 
 MAPREDUCE-6427.001.patch


  JobHistoryEventHandler#processEventForTimelineServer
  {code}tEvent.addEventInfo(WORKLFOW_ID, jse.getWorkflowId());{code}
  *should be like below.* 
  {code}tEvent.addEventInfo(WORKFLOW_ID, jse.getWorkflowId()); {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MAPREDUCE-6427) Fix typo in JobHistoryEventHandler

2015-07-14 Thread Hudson (JIRA)

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

Hudson commented on MAPREDUCE-6427:
---

FAILURE: Integrated in Hadoop-trunk-Commit #8165 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/8165/])
MAPREDUCE-6427. Fix typo in JobHistoryEventHandler. Contributed by Ray Chiang 
(cdouglas: rev f4ccdb11dca17db139a3746584e321d884651d01)
* hadoop-mapreduce-project/CHANGES.txt
* 
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/jobhistory/JobHistoryEventHandler.java


 Fix typo in JobHistoryEventHandler
 --

 Key: MAPREDUCE-6427
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6427
 Project: Hadoop Map/Reduce
  Issue Type: Bug
Reporter: Brahma Reddy Battula
Assignee: Ray Chiang
Priority: Minor
 Fix For: 2.8.0

 Attachments: MAPREDUCE-6427.001.branch-2.patch, 
 MAPREDUCE-6427.001.patch


  JobHistoryEventHandler#processEventForTimelineServer
  {code}tEvent.addEventInfo(WORKLFOW_ID, jse.getWorkflowId());{code}
  *should be like below.* 
  {code}tEvent.addEventInfo(WORKFLOW_ID, jse.getWorkflowId()); {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MAPREDUCE-6427) Fix typo in JobHistoryEventHandler

2015-07-14 Thread Ray Chiang (JIRA)

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

Ray Chiang commented on MAPREDUCE-6427:
---

Thanks for the reviews getting to this point.  And for the commit.

 Fix typo in JobHistoryEventHandler
 --

 Key: MAPREDUCE-6427
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6427
 Project: Hadoop Map/Reduce
  Issue Type: Bug
Reporter: Brahma Reddy Battula
Assignee: Ray Chiang
Priority: Minor
 Fix For: 2.8.0

 Attachments: MAPREDUCE-6427.001.branch-2.patch, 
 MAPREDUCE-6427.001.patch


  JobHistoryEventHandler#processEventForTimelineServer
  {code}tEvent.addEventInfo(WORKLFOW_ID, jse.getWorkflowId());{code}
  *should be like below.* 
  {code}tEvent.addEventInfo(WORKFLOW_ID, jse.getWorkflowId()); {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MAPREDUCE-5762) Port MAPREDUCE-3223 and MAPREDUCE-4695 (Remove MRv1 config from mapred-default.xml) to branch-2

2015-07-14 Thread Akira AJISAKA (JIRA)

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

Akira AJISAKA commented on MAPREDUCE-5762:
--

Thanks [~mingma] for the review. Could you give +1 for the patch?

 Port MAPREDUCE-3223 and MAPREDUCE-4695 (Remove MRv1 config from 
 mapred-default.xml) to branch-2
 ---

 Key: MAPREDUCE-5762
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5762
 Project: Hadoop Map/Reduce
  Issue Type: Improvement
  Components: documentation
Affects Versions: 2.3.0
Reporter: Akira AJISAKA
Assignee: Akira AJISAKA
Priority: Minor
 Attachments: MAPREDUCE-5762-branch-2-002.patch, 
 MAPREDUCE-5762-branch-2.03.patch, MAPREDUCE-5762-branch-2.patch, 
 MAPREDUCE-5762.003.branch-2.patch


 MRv1 configs are removed in trunk, but they are not removed in branch-2.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MAPREDUCE-5762) Port MAPREDUCE-3223 and MAPREDUCE-4695 (Remove MRv1 config from mapred-default.xml) to branch-2

2015-07-14 Thread Akira AJISAKA (JIRA)

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

Akira AJISAKA commented on MAPREDUCE-5762:
--

After this issue is fixed, I'd like to port MAPREDUCE-6057 to branch-2 to 
remove unused MRv1 config completely.

 Port MAPREDUCE-3223 and MAPREDUCE-4695 (Remove MRv1 config from 
 mapred-default.xml) to branch-2
 ---

 Key: MAPREDUCE-5762
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5762
 Project: Hadoop Map/Reduce
  Issue Type: Improvement
  Components: documentation
Affects Versions: 2.3.0
Reporter: Akira AJISAKA
Assignee: Akira AJISAKA
Priority: Minor
 Attachments: MAPREDUCE-5762-branch-2-002.patch, 
 MAPREDUCE-5762-branch-2.03.patch, MAPREDUCE-5762-branch-2.patch, 
 MAPREDUCE-5762.003.branch-2.patch


 MRv1 configs are removed in trunk, but they are not removed in branch-2.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)