Prerequisite: Hadoop cluster is avalable; Mysql installed on namenode; Step1: download the latest hive tar packages and extract . Download:http://apache.dataguru.cn/hive/hive-0.12.0/ .tar.gz Step2: set the environment for hive. # su to root add hive
<property><name>hive.metastore.uris</name><value></value><description>Thrift uri for the remote metastore. Used by metastore client to connect to remote metastore.</description></property> <property>&l
2015-11-13 14:44:44,681 ERROR [main]: DataNucleus.Datastore (Log4JLogger.java:error(115)) - An exception was thrown while adding/validating class(es) : Specified key was too long; max key length is 1000 bytescom.mysql.jdbc.exceptions.jdbc4.MySQLSynta