[jira] [Updated] (TEZ-1879) Create local UGI instances for each task and the AM, when running in LocalMode

2015-01-16 Thread Siddharth Seth (JIRA)

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

Siddharth Seth updated TEZ-1879:

Attachment: TEZ-1879.4.1.txt

Thanks for the reviews. Attaching commit patch with amTokens renamed, and 
committing.

> Create local UGI instances for each task and the AM, when running in LocalMode
> --
>
> Key: TEZ-1879
> URL: https://issues.apache.org/jira/browse/TEZ-1879
> Project: Apache Tez
>  Issue Type: Sub-task
>Reporter: Siddharth Seth
>Assignee: Siddharth Seth
> Attachments: TEZ-1879.1.txt, TEZ-1879.2.txt, TEZ-1879.3.txt, 
> TEZ-1879.4.1.txt, TEZ-1879.4.txt
>
>
> Modifying the client UGI can cause issues when the client tries to submit 
> another job - or has tokens already populated in the UGI.



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


[jira] [Updated] (TEZ-1879) Create local UGI instances for each task and the AM, when running in LocalMode

2015-01-15 Thread Siddharth Seth (JIRA)

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

Siddharth Seth updated TEZ-1879:

Attachment: TEZ-1879.4.txt

Fixed.

> Create local UGI instances for each task and the AM, when running in LocalMode
> --
>
> Key: TEZ-1879
> URL: https://issues.apache.org/jira/browse/TEZ-1879
> Project: Apache Tez
>  Issue Type: Sub-task
>Reporter: Siddharth Seth
>Assignee: Siddharth Seth
> Attachments: TEZ-1879.1.txt, TEZ-1879.2.txt, TEZ-1879.3.txt, 
> TEZ-1879.4.txt
>
>
> Modifying the client UGI can cause issues when the client tries to submit 
> another job - or has tokens already populated in the UGI.



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


[jira] [Updated] (TEZ-1879) Create local UGI instances for each task and the AM, when running in LocalMode

2015-01-15 Thread Siddharth Seth (JIRA)

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

Siddharth Seth updated TEZ-1879:

Attachment: TEZ-1879.3.txt

Thanks for the review. Updated patch.

bq. Can the above ugi instantiation be done in the DAGAppMaster constructor 
itself?
Fixed.

bq. LocalClient uses amCredentials where as the AM itself uses amTokens - a bit 
confusing. Probably does not need a change right now but might be helpful for 
readability.
Will rename amTokens to amCredentials just before commit.

[~hitesh] - do you want to look at this again, or should i commit it.

> Create local UGI instances for each task and the AM, when running in LocalMode
> --
>
> Key: TEZ-1879
> URL: https://issues.apache.org/jira/browse/TEZ-1879
> Project: Apache Tez
>  Issue Type: Sub-task
>Reporter: Siddharth Seth
>Assignee: Siddharth Seth
> Attachments: TEZ-1879.1.txt, TEZ-1879.2.txt, TEZ-1879.3.txt
>
>
> Modifying the client UGI can cause issues when the client tries to submit 
> another job - or has tokens already populated in the UGI.



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


[jira] [Updated] (TEZ-1879) Create local UGI instances for each task and the AM, when running in LocalMode

2015-01-15 Thread Siddharth Seth (JIRA)

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

Siddharth Seth updated TEZ-1879:

Attachment: TEZ-1879.2.txt

Updated patch. Applies on top of TEZ-1962.

> Create local UGI instances for each task and the AM, when running in LocalMode
> --
>
> Key: TEZ-1879
> URL: https://issues.apache.org/jira/browse/TEZ-1879
> Project: Apache Tez
>  Issue Type: Sub-task
>Reporter: Siddharth Seth
>Assignee: Siddharth Seth
> Attachments: TEZ-1879.1.txt, TEZ-1879.2.txt
>
>
> Modifying the client UGI can cause issues when the client tries to submit 
> another job - or has tokens already populated in the UGI.



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


[jira] [Updated] (TEZ-1879) Create local UGI instances for each task and the AM, when running in LocalMode

2015-01-14 Thread Siddharth Seth (JIRA)

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

Siddharth Seth updated TEZ-1879:

Attachment: TEZ-1879.1.txt

Fairly straighforward patch which requires Credentials to be moved around. UGI 
for the AM and Child are already being created explicitly, so didn't need to do 
much there. No new unit tests since this functionality is covered by the 
existing local mode and MiniCluster tests.

[~hitesh] - please review.

> Create local UGI instances for each task and the AM, when running in LocalMode
> --
>
> Key: TEZ-1879
> URL: https://issues.apache.org/jira/browse/TEZ-1879
> Project: Apache Tez
>  Issue Type: Sub-task
>Reporter: Siddharth Seth
>Assignee: Siddharth Seth
> Attachments: TEZ-1879.1.txt
>
>
> Modifying the client UGI can cause issues when the client tries to submit 
> another job - or has tokens already populated in the UGI.



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