Hadoop Distributedcache use case

Source: Internet
Author: User

Company data processing has two computing frames, single frame and Mr Framework. Now I've abstracted a set of API interface for business computing developers to use.

The operation schedule of API is implemented in two computing frames respectively. The application developer has time to upload the override configuration file. To adjust the number of business calculation parameters. The stand-alone framework is easy to implement. However, in the Mr Framework, the distribution of the override configuration file needs to be resolved.


1. Pass in the configuration file path through the command line;

2. The MR job client reads in the local configuration file and adds Distributedcache. The command-line parameters are appended to the MR Child JVM startup parameter array.

3. When the MR child JVM starts, it checks the startup parameters, discovers the configuration file, and the configuration file does not exist. Replace the configuration file path with the corresponding local path to the Distributedcache.

4. The child JVM job reads in the replaced configuration file and applies it to the Mr Job. Implement changes to the calculation parameters.



Hadoop Distributedcache use case

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.