Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Hive configuration

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

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 scratchdir: ${hive.exec.scratchdir} / 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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report