Known Issues in Cloudera Search
Learn about the known issues in Cloudera Search, the impact or changes to the functionality, and the workaround.
- Unable to see single valued and multivalued empty string values when querying collections after upgrade to CDP
- After upgrading from CDH or HDP to CDP, you are not able to see
single valued and multi Valued empty string values in CDP.
This behavior in CDP is due to the
remove-blank
processor present insolrconfig.xml
in Solr 8. - Cannot create multiple heap dump files because of file name error
- Heap dump generation fails with a similar error
message:
The cause of the problem is thatjava.lang.OutOfMemoryError: Java heap space Dumping heap to /data/tmp/solr_solr-SOLR_SERVER-fc9dacc265fabfc500b92112712505e3_pid{{PID}}.hprof ... Unable to create /data/tmp/solr_solr-SOLR_SERVER-fc9dacc265fabfc500b92112712505e3_pid{{PID}}.hprof: File exists
{{PID}}
does not get substituted during dump file creation with an actual process ID and because of that, a generic file name is generated. This causes the next dump file creation to fail, as the existing file with the same name cannot be overwritten. - Solr coreAdmin status throws Null Pointer Exception
You get a Null Pointer Exception with a similar stacktrace:
This is caused by an error in handling solr admin core STATUS after collections are rebuilt.Caused by: java.lang.NullPointerException at org.apache.solr.core.SolrCore.getInstancePath(SolrCore.java:333) at org.apache.solr.handler.admin.CoreAdminOperation.getCoreStatus(CoreAdminOperation.java:324) at org.apache.solr.handler.admin.StatusOp.execute(StatusOp.java:46) at org.apache.solr.handler.admin.CoreAdminOperation.execute(CoreAdminOperation.java:362)
- Applications fail because of mixed authentication methods within dependency chain of services
- Using different types of authentication methods within a dependency chain, for example, configuring your indexer tool to authenticate using Kerberos and configuring your Solr Server to use LDAP for authentication may cause your application to time out and eventually fail.
- API calls fail with error when used with alias, but work with collection name
- API calls fail with a similar error message when used with an
alias, but they work when made using the collection
name:
[ ] o.a.h.s.t.d.w.DelegationTokenAuthenticationFilter Authentication exception: User: xyz@something.example.com is not allowed to impersonate xyz@something.example.com [c:RTOTagMetaOdd s:shard3 r:core_node11 x:RTOTagMetaOdd_shard3_replica_n8] o.a.h.s.t.d.w.DelegationTokenAuthenticationFilter Authentication exception: User: xyz@something.example.com is not allowed to impersonate xyz@something.example.com
- Mergeindex operation with --go-live fails after CDH 6 to CDP upgrade
-
During an upgrade from CDH6 to CDP, collections are not reindexed because Lucene 8 (CDP) can read Lucene 7 (CDH6) indexes.
If you try to execute MapReduceIndexerTool (MRIT) or HBase Indexer MRIT with--go-live
against such a collection, you get a similar error message:Caused by: java.lang.IllegalArgumentException: Cannot merge a segment that has been created with major version 8 into this index which has been created by major version 7 at org.apache.lucene.index.IndexWriter.validateMergeReader(IndexWriter.java:2894) at org.apache.lucene.index.IndexWriter.addIndexes(IndexWriter.java:2960) at org.apache.solr.update.DirectUpdateHandler2.mergeIndexes(DirectUpdateHandler2.java:570) at org.apache.solr.update.processor.RunUpdateProcessor.processMergeIndexes(RunUpdateProcessorFactory.java:95) at org.apache.solr.update.processor.UpdateRequestProcessor.processMergeIndexes(UpdateRequestProcessor.java:63)
This happens because CDP MRIT and HBase indexer use Solr 8 as embedded Solr, which creates a Lucene 8 index. It cannot be merged (using MERGEINDEXES) into an older Lucene 7 index.
- MapreduceIndexerTool performance problem in CDP
-
The reduce step of the MorphlineMapper task of the MapReduceIndexerTool (MRIT) can take very long to finish in CDPD. The reason of the slowness is merging norms without HDFS caching.
- Creating a config on Local File System does not work on upgraded clusters
-
During upgrades it is possible that the localFSTemplate is not uploaded to ZooKeeper. In this case the
solrctl config --create newconfig localFSTemplate
call does not work.
- Indexing fails with socketTimeout
-
Starting from CDH 6.0, the HTTP client library used by Solr has a default socket timeout of 10 minutes. Because of this, if a single request sent from an indexer executor to Solr takes more than 10 minutes to be serviced, the indexing process fails with a timeout error.
This timeout has been raised to 24 hours. Nevertheless, there still may be use cases where even this extended timeout period proves insufficient.
- Splitshard operation on HDFS index checks local filesystem and fails
-
When performing a shard split on an index that is stored on HDFS,
SplitShardCmd
still evaluates free disk space on the local file system of the server where Solr is installed. This may cause the command to fail, perceiving that there is no adequate disk space to perform the shard split.
- DOCS-5717: Lucene index handling limitation
- The Lucene index can only be upgraded by one major version. Solr 8 will not open an index that was created with Solr 6 or earlier.
- CDH-82042: Solr service with no added collections causes the upgrade process to fail.
- Upgrade fails while performing the bootstrap collections step of the
solr-upgrade.sh
script with the error message:
if there are no collections present in Solr.Failed to execute command Bootstrap Solr Collections on service Solr
- CDH-34050: Collection Creation No Longer Supports Automatically Selecting A Configuration If Only One Exists.
- Before CDH 5.5.0, a collection could be created without specifying a configuration.
If no
-c
value was specified, then:-
If there was only one configuration, that configuration was chosen.
-
If the collection name matched a configuration name, that configuration was chosen.
Search now includes multiple built-in configurations. As a result, there is no longer a case in which only one configuration can be chosen by default.
-
- CDH-22190: CrunchIndexerTool which includes Spark indexer requires specific input file format specifications.
- If the
--input-file-format
option is specified with CrunchIndexerTool, then its argument must betext
,avro
, oravroParquet
, rather than a fully qualified class name. - CDH-19923: he
quickstart.sh
file does not validate ZooKeeper and the NameNode on some operating systems. -
The
quickstart.sh
file uses thetimeout
function to determine if ZooKeeper and the NameNode are available. To ensure this check can be complete as intended, thequickstart.sh
determines if the operating system on which the script is running supportstimeout
. If the script detects that the operating system does not supporttimeout
, the script continues without checking if the NameNode and ZooKeeper are available. If your environment is configured properly or you are using an operating system that supportstimeout
, this issue does not apply. - CDH-26856: ield value class guessing and Automatic schema field addition are not supported with the MapReduceIndexerTool nor with the HBaseMapReduceIndexerTool.
- The MapReduceIndexerTool and the HBaseMapReduceIndexerTool can be used with a Managed Schema created via NRT indexing of documents or via the Solr Schema API. However, neither tool supports adding fields automatically to the schema during ingest.
- CDH-19407: The Browse and Spell Request Handlers are not enabled in schemaless mode.
- The Browse and Spell Request Handlers require certain fields to be present in the schema. Since those fields cannot be guaranteed to exist in a Schemaless setup, the Browse and Spell Request Handlers are not enabled by default.
- CDH-17978: Enabling blockcache writing may result in unusable indexes.
- It is possible to create indexes with
solr.hdfs.blockcache.write.enabled
set totrue
. Such indexes may appear corrupt to readers, and reading these indexes may irrecoverably corrupt indexes. Blockcache writing is disabled by default. - CDH-58276: Users with insufficient Solr permissions may receive a "Page Loading" message from the Solr Web Admin UI.
- Users who are not authorized to use the Solr Admin UI are not given a page explaining that access is denied to them, instead receive a web page that never finishes loading.
- CDH-15441: Using MapReduceIndexerTool or HBaseMapReduceIndexerTool multiple times may produce duplicate entries in a collection
- Repeatedly running the MapReduceIndexerTool on the same set of input files can result in duplicate entries in the Solr collection. This occurs because the tool can only insert documents and cannot update or delete existing Solr documents. This issue does not apply to the HBaseMapReduceIndexerTool unless it is run with more than zero reducers.
- CDH-58694: Deleting collections might fail if hosts are unavailable.
- It is possible to delete a collection when hosts that host some of the collection are unavailable. After such a deletion, if the previously unavailable hosts are brought back online, the deleted collection may be restored.
- CDPD-4139: Collection state goes down after Solr SSL.
- If you enable TLS/SSL on a Solr instance with existing collections, the collections will break and become unavailable. Collections created after enabling TLS/SSL are not affected by this issue.
- CDPD-13923: Every Configset is Untrusted Without Kerberos
- Solr 8 introduces the concept of ‘untrusted configset’, denoting configsets that were uploaded without authentication. Collections created with an untrusted configset will not initialize if <lib> directives are used in the configset.
Unsupported features
- Package Management System
- HTTP/2
- Solr SQL/JDBC
- Graph Traversal
- Cross Data Center Replication (CDCR)
- SolrCloud Autoscaling
- HDFS Federation
- Saving search results
- Solr contrib modules (Spark, MapReduce and Lily HBase indexers are not contrib modules but part of the Cloudera Search product itself, therefore they are supported).
Limitations
- Default Solr core names cannot be changed
- Although it is technically possible to give user-defined Solr core names during core creation, it is to be avoided in te context of Cloudera Search. Cloudera Manager expects core names in the default "collection_shardX_replicaY" format. Altering core names results in Cloudera Manager being unable to fetch Solr metrics for the given core and this, eventually, may corrupt data collection for co-located core, or even shard and server level charts.