![]() Make sure you provide adequate memory to the Solr process. if you have 3 shards and 2 replications, then you have 6 Solr instances. Please note, Solr recommends that you should have SOLR_SHARD * SOLR_REPLICATION Solr instances. This gives redundancy to index data and also load balancing of Solr queries. It is highly recommended to set up at least 2 nodes and replicate the indexes. Make sure the number of shards is equal or less than the number of Solr nodes you will be running. If you wish to distribute your audit logs, then you can use multiple shards. You have to give the zookeeper node only for the last node. In this way, you can use ZooKeeper for other installations of Solr also. It is recommended to give sub-folder to create the Ranger Audit related configurations. The value solrclould will configure solr to run as SolrCloud. So make sure you set the value to the folder where the volume as enough disk space. ![]() Please note, in SolrCloud, there is no publicly configurable option to provide the location for storing the index data. This is the location where the scripts and index data will be stored. Make sure you provide adequate memory to the Solr processĪfter updating the install.properties with the above values, run the following command: Please delete old log files on regular basis. Make sure the volume for this folder has enough disk space. The folder where where want Solr logs to go. Please take regular backup of this folder. It is recommended to have at least 1 TB free space for index data. It is important that the volume for this folder has enough disk space. This is the folder where you want the index data to be stored. The value standalone will configure solr to run as standalone. This is the location where Ranger related configuration and schema files will be copied This is the same property used if you want setup.sh to install Solr Please note, Solr only support JDK 1.7 and above. If it is Hadoop, then you can check /etc/hadoop/conf/hadoop-env.sh for the value of JAVA_HOME. Provide the path to where you have installed JDK. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |