
SNAPPY COMPRESSION SLES INSTALL
To install PostgreSQL on a SLES system: $ sudo zypper install postgresql-server To install PostgreSQL on a RHEL system: $ sudo yum install postgresql-server Install and start PostgreSQL if you have not already done so.IP address (or fully-qualified domain name) and port of the metastore hostīefore you can run the Hive metastore with a remote PostgreSQL database, you must configure a connector to the remote PostgreSQL database, set up the initial database schema, andĬonfigure the PostgreSQL user account for the Hive user. Hive 0.10) setting is sufficient to indicate that you are using a remote metastore. Note: The property is no longer supported (as of
SNAPPY COMPRESSION SLES PASSWORD
Given a MySQL database running on myhost and the user account hive with the password mypassword, set the configuration as follows (overwriting any existing values). Metastore, HiveServer), is the only property that must be configured on all of them the others are used only on the Though you can use the same hive-site.xml on all hosts (client, This step shows the configuration properties you need to set in hive-site.xml ( /usr/lib/hive/conf/hive-site.xml) toĬonfigure the metastore service to communicate with the MySQL database, and provides sample settings.

To set the MySQL root password: $ sudo /usr/bin/mysql_secure_installationĮnter current password for root (enter for none): Key when you're prompted for the root password. Note that in the following procedure, your current root password is blank. $ ln -s /usr/share/java/libmysql-java.jar /usr/lib/hive/lib/libmysql-java.jarĬonfigure MySQL to use a strong password and to start at boot. To install the MySQL connector on a Debian/Ubuntu system:ĭirectory. $ sudo zypper install mysql-connector-java To install the MySQL connector on a SLES system:ĭirectory.

If you are using MySQL version 5.6, you must use version 5.1.26 or higher of the driver. Note: At the time of publication, version was 5.1.31, but the version may have changed by the time you read this.

ForĮxample: $ sudo cp mysql-connector-java- version/mysql-connector-java- version-bin.jar /usr/lib/hive/lib/ Then copy it to the /usr/lib/hive/lib/ directory.
SNAPPY COMPRESSION SLES DOWNLOAD
You will need to sign up for an account if you do not already have one, and log in, before you can download it. To install the MySQL connector on a RHEL 5 system: $ ln -s /usr/share/java/mysql-connector-java.jar /usr/lib/hive/lib/mysql-connector-java.jar On the Hive metastore server host, install mysql-connector-java and symbolically link the file into the /usr/lib/hive/lib/ĭirectory. To install the MySQL connector on a RHEL 6 system:
