Ali received a call to say practice and match intelligence two choose one, really sad, exercise before the right to active aging.
To summarize ODPs next write map/reduce and make a purchase forecast process.
First of all, the Hadoop input and output is in the form of a table, we need an input table and an output table.
Input table for the supplied T_alibaba_bigdata_user_brand_total_1 output table for your own defined Wc_out
Wc_out need to be defined beforehand. The function of the following instance is to merge the user's actions on the item and record the number of repetitions, creating the Wc_out table structure as:
CREATE TABLE Wc_out (user_id string,brand_id string,type string,visit_datetime string,count bigint);
The Map/recduce program is then written in Eclipse.
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvtfrpyw5jagfv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/center ">
Export project as a jar file. Slightly
Create a resource in ODPs and execute
Execution complete
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvtfrpyw5jagfv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/center ">
The next step is to design more complex models for bank predictions.
Copyright notice: This article blog original article. Blogs, without consent, may not be reproduced.
ODPS Next Map/reduce Ready