Hive安装部署以及问题处理

解压

tar -zxvf apache-hive-2.3.9-bin.tar.gz -C /opt

解压后路径:/opt/apache-hive-2.3.9-bin

配置

创建配置文件 hive-site.xml

cp hive-default.xml.template hive-site.xml

修改hive-site.xml内容:




 
    javax.jdo.option.ConnectionURL
    jdbc:mysql://ip:3306/hive_metadata?&createDatabaseIfNotExist=true&characterEncoding=UTF-8&useSSL=false
 

    javax.jdo.option.ConnectionUserName
    root


    javax.jdo.option.ConnectionPassword
    root


    javax.jdo.option.ConnectionDriverName
    com.mysql.cj.jdbc.Driver


    datanucleus.schema.autoCreateAll
    true 

    hive.metastore.schema.verification
    false
 
    
    
hive.support.concurrency
true


hive.enforce.bucketing
true


hive.exec.dynamic.partition.mode
nonstrict


hive.txn.manager
org.apache.

你可能感兴趣的:(Hive安装部署,hive,hadoop)