Accessing HCatalog Tables from Hive

About this task

To access tables created in HCatalog in Hive, use the following command to append paths to your HADOOP_CLASSPATH environment variable:
export HADOOP_CLASSPATH=${HADOOP_CLASSPATH}:$HCAT_HOME/share/hcatalog/storage-handlers/hbase/lib/hbase-storage-handler-<version>.jar:$HCAT_HOME/share/hcatalog/hcatalog-core-<version>-mapr.jar:$HCAT_HOME/share/hcatalog/hcatalog-pig-adapter-<version>-mapr.jar:$HCAT_HOME/share/hcatalog/hcatalog-server-extensions-<version>-mapr.jar