The following procedure represents a new sub-section for the Configuring Aster Database and HCatalog section in the Teradata Aster® Database User Guide for Aster Appliances.
-
If CDH Hadoop version is higher than the CDH Hadoop version used by Aster, then replace the following files/symbolic links from Hadoop cluster to /home/beehive/partner/hadoop/<hadoop-version>/native on the Aster queen node:
/var/opt/teradata/cloudera/parcels/<hadoop-version>/lib/hadoop/lib/native/libsnappy.so /var/opt/teradata/cloudera/parcels/<hadoop-version>/lib/hadoop/lib/native/libsnappy.so.1 /var/opt/teradata/cloudera/parcels/<hadoop-version>/lib/hadoop/lib/native/libsnappy.so.1.1.1 /var/opt/teradata/cloudera/parcels/<hadoop-version>/lib/hadoop/lib/native/libsnappy.a
libsnappy.so and libsnappy.so.1 are symbolic links to libsnappy.so.1.1.1 on Hadoop machines. When you replace them to the Aster native directory, they become files that have the same content as libsnappy.so.1.1.1 and will work whether they are symbolic links are files.
-
Distribute the native libraries to all nodes by running:
ncli node clonefile <filepath>
Your Aster-Hadoop connector query should now run successfully.