Apache Solr Search Installation
Also available as:
PDF
loading table of contents...

HDP Search 5.0 Known Issues

Issue Description:

When SSL or Kerberos is enabled Solr services fail to start with MPack version 5.0.0.

Workaround:

Download MPack version 5.0.0.7 or later and upgrade your MPack with Ambari.

  • Obtain the latest MPack

     wget https://archive.cloudera.com/p/HDP-SOLR/5.0.0.7-401/repos/centos7/mpack/cloudera-hdp-solr-mpack-5.0.0.7.tar.gz
  • Upgrade the installed MPack to 5.0.0.7

     ambari-server install-mpack --mpack=cloudera-hdp-solr-mpack-5.0.0.7.tar.gz
  • Restart Ambari server

     ambari-server restart

Issue Description:

When Serde jar is added using ADD JAR command in Hive CLI/Beeline, External table created in Hive for Solr stores NULL in place of all data inserted. ie: Select query on this external table returns NULL.

Workaround:

To get around this issue, you must add Serde jar in Hive’s class path. This can be done in multiple ways. The one we recommend is :

  • create an "auxlib" directory in /usr/hdp/current/hive-server2

  • cp serde jar (/usr/cloudera-hdp-solr/current/cloudera-hdp-solr/hive/solr-hive-serde-4.0.1.jar) to auxlib directory

  • Restart Hive

Issue Description:

  • On kerberized clusters, accessing the Banana UI gives a Kerberos Replay Error and fails to load.

Workaround:

  • Disable the jvm kerberos replay cache for the solr process instance. Note this does not affect the global kerberos replay cache for the KDC, and therefore other services.

To accomplish this:

Go to Ambari UI -> Solr -> Configs -> Advanced solr-config-env -> solr.in.sh.template, then add:

  SOLR_OPTS="$SOLR_OPTS -Dsun.security.krb5.rcache=none"

Then restart the Solr service.