Impala Installation
环境搭建 hadoop    2019-05-06 06:51:53    46    0    0
louyj   环境搭建 hadoop

Config Metastore

Install the Hive metastore somewhere in your cluster, see hive installation.

As part of this process, you configure the Hive metastore to use an external database as a metastore. Impala uses this same database for its own table metadata. You can choose either a MySQL or PostgreSQL database as the metastore.

It is recommends setting up a Hive metastore service rather than connecting directly to the metastore database; this configuration is required when running Impala under CDH 4.1. Make sure the /etc/impala/conf/hive-site.xml file contains the following setting, substituting the appropriate hostname for metastore_server_host:

  1. <property>
  2. <name>hive.metastore.uris</name>
  3. <value>thrift://metastore_server_host:9083</value>
  4. </property>
  5. <property>
  6. <name>hive.metastore.client.socket.timeout</name>
  7. <value>3600</value>
  8. <description>MetaStore Client socket timeout in seconds</description>
  9. </property>

Install Impala

  1. wget http://mirrors.cnnic.cn/apache/incubator/impala/2.7.0/apache-impala-incubating-2.7.0.tar.gz

Pre: Spark Installation

Next: Simple Authentication for Hadoop

46
Sign in to leave a comment.
No Leanote account? Sign up now.
0 comments
Table of content