189 8069 5689

hive配置

 vi ./bin/hive-config.sh

为古冶等地区用户提供了全套网页设计制作服务,及古冶网站建设行业解决方案。主营业务为成都做网站、网站制作、古冶网站设计,以传统方式定制建设网站,并提供域名空间备案等一条龙服务,秉承以专业、用心的态度为用户提供真诚的服务。我们深信只要达到每一位用户的要求,就会得到认可,从而选择与我们长期合作。这样,我们也可以走得更远!

export JAVA_HOME=/usr/local/jdk/jdk1.8.0

export HADOOP_HOME=/usr/local/hadoop

export HIVE_HOME=/usr/local/hive/apache-hive-1.2.1

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

    hive.metastore.warehouse.dir

    /usr/local/hive/apache-hive-1.2.1/warehouse

    location of default database for the warehouse

 

    hive.exec.scratchdir

    /usr/local/hive/apache-hive-1.2.1/tmp

    HDFS root scratch dir for Hive jobs which gets created with write all     (733) permission. For each connecting user, an HDFS scratch dir:     ${hive.exec.scratchdir}/<username> is created, with     ${hive.scratch.dir.permission}.

    

 

 

    hive.exec.local.scratchdir

    /usr/local/hive/apache-hive-1.2.1/tmp

    Local scratch space for Hive jobs

 

    hive.downloaded.resources.dir

    /usr/local/hive/apache-hive-1.2.1/resources

    Temporary local directory for added resources in the remote file system.

 

cp hive-log4j.properties.template hive-log4j.properties

vi hive-log4j.properties

#log4j.appender.EventCounter=org.apache.hadoop.hive.shims.HiveEventCounter

log4j.appender.EventCounter=org.apache.hadoop.log.metrics.EventCounter


网页题目:hive配置
文章URL:http://jkwzsj.com/article/gssgei.html

其他资讯