简体   繁体   中英

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. Cloudera may do the same as well.

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? Do you find that your application does not work for one distribution or the other (dependent on which version jars you have)? 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 . HDP 2.3.4+ use PROTOBUF by default whereas CDH does not currently support 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. Any Phoenix version 4.4+ can be used on either distribution. 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:

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).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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