简体   繁体   English

Cloudera 5.5和Hortonworks 2.4中的HBase应该使用哪个Phoenix版本?

[英]Which Phoenix version should I use with HBase in Cloudera 5.5 and Hortonworks 2.4?

是否有与Cloudera 5.5和Hortonworks 2.4中提供的HBase兼容的单一版本的phoenix?

Hortonworks provides custom fixes and "backports" to their version of Phoenix in their HDP distribution. Hortonworks在其HDP发行版中为其Phoenix版本提供了自定义修复程序和“反向移植”。 Cloudera may do the same as well. Cloudera也可以这样做。

I am assuming that you are asking about a client version that is compatible with both server versions. 我假设您要询问的是与两个服务器版本都兼容的客户端版本。

Are you using the "thin" client jars? 您是否正在使用“瘦”客户端jar? Do you find that your application does not work for one distribution or the other (dependent on which version jars you have)? 您是否发现您的应用程序不适用于一个发行版或其他发行版(取决于您所使用的jar版本)? Your application may work for both distributions if you use the non-thin jars. 如果您使用非薄罐,则您的应用程序可能对两种发行版均有效。

If you would like to continue using the thin client, you may have to set phoenix.queryserver.serialization to JSON . 如果您想继续使用瘦客户机,则可能必须将phoenix.queryserver.serialization设置为JSON HDP 2.3.4+ use PROTOBUF by default whereas CDH does not currently support PROTOBUF . HDP 2.3.4+默认情况下使用PROTOBUF ,而CDH当前不支持PROTOBUF





If you are asking about manually installing a version of the Phoenix server that can be installed on both distributions, both use HBase 1.1.x. 如果您要手动安装可以在两个发行版中安装的Phoenix服务器版本,请同时使用HBase1.1.x。 Any Phoenix version 4.4+ can be used on either distribution. 任何Phoenix 4.4+版本均可在任一发行版上使用。 But I recommend using the version that is distributed with the platform. 但是我建议使用随平台发行的版本。

A Phoenix 4.5.2 package for CDH 5.5.x is available via Cloudera Labs: 可通过Cloudera Labs获得CDH 5.5.x的Phoenix 4.5.2软件包:

http://blog.cloudera.com/blog/2015/11/new-apache-phoenix-4-5-2-package-from-cloudera-labs/ http://blog.cloudera.com/blog/2015/11/new-apache-phoenix-4-5-2-package-from-cloudera-labs/

Note however that Cloudera Labs packages are for dev/test only (not supported by Cloudera). 但是请注意,Cloudera Labs软件包仅用于开发/测试(Cloudera不支持)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM