Fixed Issues in Apache Solr

Review the list of Apache Solr issues that are resolved in Cloudera Runtime 7.1.7 SP2.

CDPD-45967: Upgraded HSQLDB version as part of CVE fix.
This issue is resolved.
HBase indexer fails to start due to a python3 syntax error
While upgrading from CDP 7.1.7 SP2 to CM 7.11.3, which requires python3 to work with, the hbase-indexer service fails with the following error:
SyntaxError: invalid syntax
/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2038.45262390/bin/../lib/hbase-solr/bin/hbase-indexer: line 56: /root/hbase-indexer-config.sh: No such file or directory

The problem is caused by a print API compatibility issue between python2 and python3, which causes the hbase-indexer to crash. In python3, print is a function, whereas it is a statement in python2.

This issue is now fixed by changing the print statement to a print function, as this is compatible with both python2 and python3 versions.

Apache patch information

  • None