jeudi 15 mai 2014

MySQL - hivemetastore raccordement par l'intermédiaire de datanode - Stack Overflow


Currently i am using namednode, mysql for metastore and hive CLI on one single node. And another nodes as datanode. mysql is running on master (namenode). It works fine when i try to get metadata(show tables) hive(on master). Now i was trying to get the same metadata on datanode. But couldn't successed. I also tried starting thrift service on master and then tried to connect still didn't successed.




After reading this on the Apache wiki it looks like you have to go through the thift service if you have the metastore service running on a remote server.


I would just add the hive.metastore.uris property to your hive-site.xml and call it a day.



Currently i am using namednode, mysql for metastore and hive CLI on one single node. And another nodes as datanode. mysql is running on master (namenode). It works fine when i try to get metadata(show tables) hive(on master). Now i was trying to get the same metadata on datanode. But couldn't successed. I also tried starting thrift service on master and then tried to connect still didn't successed.



After reading this on the Apache wiki it looks like you have to go through the thift service if you have the metastore service running on a remote server.


I would just add the hive.metastore.uris property to your hive-site.xml and call it a day.


0 commentaires:

Enregistrer un commentaire