Incompatible changes in elasticsearch from 0.90 to 1.2-system and settings

Source: Internet
Author: User
This article adds personal understanding to the translation of official documents. The elasticsearch (elasticsearch) version is 1.2.1. 1. In terms of system level and settings, 1.1 elasticsearch is started as a foreground program by default. If you want to use elasticsearch as a background daemon, add the-D parameter to the startup command. 1.2 command line parameters. By default, no-Des. prefix is required. The new format is as follows:
./bin/elasticsearch --node.name=search_1 --cluster.name=production

 

1.3 On a 64-bit Linux system, the memory ing file (mmapfs) is used as the underlying storage structure by default. Make sure that the Linux parameter max_map_count is large enough. Because in Linux systems of the RedHat series and Debian series, the default value is 262144. 1.4 For Linux systems of RedHat and Debian, elasticsearch is not automatically started with the system by default. I personally think that elasticsearch installed with the RPM public library may have started automatically with the system. 1.5 cluster. routing. allocation. disable_allocation, cluster. routing. allocation. disable_new_allocation and cluster. routing. allocation. the disable_replica_location parameters are merged into one parameter. The new parameter name and value are as follows:
cluster.routing.allocation.enable: all|primaries|new_primaries|none
 

Personally, MongoDB uses MMAP as the underlying storage method. This file system differs greatly from the traditional file system, reduce the trouble of using the operating system as the intermediary to transmit data. The program can directly fl data into the disk or load the data from the disk to the memory, instead of loading the disk data to the kernel zone, the operating system must first load the data in the buffer zone passed to the user program.

For more information about memory ing files and possible problems, refer to my previous blog, MongoDB FAQ storage (storage) Article MongoDB can't Map File Memory. Please support Originality: http://www.cnblogs.com/donlianli/p/3834882.html original address: small ...... about me, Handan. Interested in such topics? Send an email [Email protected]  

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.