[jira] [Updated] (YARN-5177) Make Node-Manager Download-Resource Component extensible.

2016-06-07 Thread Emeka (JIRA)

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

Emeka updated YARN-5177:

Attachment: YARN-5177-V0.patch

> Make Node-Manager Download-Resource Component extensible.
> -
>
> Key: YARN-5177
> URL: https://issues.apache.org/jira/browse/YARN-5177
> Project: Hadoop YARN
>  Issue Type: Improvement
>  Components: nodemanager
>Affects Versions: 2.7.0
>Reporter: Emeka
>Priority: Minor
> Attachments: YARN-5177-V0.patch
>
>
> Problem:
> - Downloading files to a local machine/node is called "resource-localization".
> - There are two components that perform resource-location (PublicLocalizer 
> and ComponetLocalizers)
> - Both components utilizes FSDownload.class to perform their downloads.
> - We need a custom implementation of FSDownload.
> Solution:
> - With this change, we make FSDownload.class extensible by wrapping it in a 
> new ResourceDownloader.interface
> - We also update the PublicLocalizer and ComponetLocalizers to load 
> ResourceDownloader rather than FSDownload.
> - NOTE: We use reflection to load the right implementation during runtime.



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

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Created] (YARN-5177) Make Node-Manager Download-Resource Component extensible.

2016-05-27 Thread Emeka (JIRA)
Emeka created YARN-5177:
---

 Summary: Make Node-Manager Download-Resource Component extensible.
 Key: YARN-5177
 URL: https://issues.apache.org/jira/browse/YARN-5177
 Project: Hadoop YARN
  Issue Type: Improvement
  Components: nodemanager
Affects Versions: 2.7.0
Reporter: Emeka
Priority: Minor


Problem:
- Downloading files to a local machine/node is called "resource-localization".
- There are two components that perform resource-location (PublicLocalizer and 
ComponetLocalizers)
- Both components utilizes FSDownload.class to perform their downloads.
- We need a custom implementation of FSDownload.

Solution:
- With this change, we make FSDownload.class extensible by wrapping it in a new 
ResourceDownloader.interface
- We also update the PublicLocalizer and ComponetLocalizers to load 
ResourceDownloader rather than FSDownload.
- NOTE: We use reflection to load the right implementation during runtime.





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

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org