Hive Learning

[Configuration] hive
    hive
    MySQL
        
[hive] operating practices
HQL:    
data definitions;
    create modify and delete - databases, tables (internal table, external table, partition table), views, functions and indexes; see: http: //dblab.xmu .edu.cn / blog / 1080-2 /
    UDF    
data operation;
    data import (import hive)
    data export (Hbase, mysql, hdfs)
            
            
[hive appreciated:]
    hive as a data warehouse two points:
    a data store
        large unstructured data can be saved as structured data;
    extracting second data / data primary processing [HQL]
        extracting data based on the needs of large data; extracting desired fields;
        serve the needs of the next stage;
    
    

[large data using data Hive case analysis -] Solutions
    1 Hive uploaded data;
    2 Hive data analysis: HQL;
        need to extract data stored in a table Hive;
    data mutual conductance between 3 Hive-HBase-MySQL;
        by Sqoop;    
        can be introduced HBase, using HBase provided the API programming, utilizing structured data
        Can be introduced MySQL, provide data to support the business logic unit;
    4 data visualization;
        Web;
        R & lt;
    
    Case: http: //dblab.xmu.edu.cn/blog/959/

Guess you like

Origin www.cnblogs.com/floakss/p/11462902.html