luban-elasticsearch 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7e609163b6c607d76660ecb403fd237a9410470
|
4
|
+
data.tar.gz: d2412a4ddfa38750a469735fe234a0533978d0b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef8c206e5dcf1d78d84f01949467e8f80d13013ab2da4a954c0689301e65609aea06303170a2966b23e5f78558925a8c71c51b9b464ef795344b04ce58e1ae74
|
7
|
+
data.tar.gz: e3241e4fcb14c54650f2dc457e281e46ce2b2ff967ea124cdf3fdeb598be807a2e8c553ccd75b322faeb18a5f50b92b967743cf82b3072c8567446915286cf53
|
data/CHANGLOG.md
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
# Change log
|
2
2
|
|
3
|
-
## Version 0.1.
|
3
|
+
## Version 0.1.1 (Aug 31, 2016)
|
4
|
+
|
5
|
+
Minor enhancements:
|
6
|
+
* Specified bin path for current version of Java in Elasticsearch start command to ensure the right version of Java is being used during Elasticsearch startup
|
7
|
+
* Turned on bootstrap.mlockall to true to boost up elasticsearch performance
|
8
|
+
|
9
|
+
## Version 0.1.0 (Aug 30, 2016)
|
4
10
|
|
5
11
|
New features:
|
6
12
|
* Initialized Luban deployemnt package of Elasticsearch
|
@@ -8,8 +8,8 @@ module Luban
|
|
8
8
|
base.define_executable 'elasticsearch'
|
9
9
|
end
|
10
10
|
|
11
|
-
def
|
12
|
-
@
|
11
|
+
def java_bin_path
|
12
|
+
@java_bin_path ||= package_bin_path('java')
|
13
13
|
end
|
14
14
|
|
15
15
|
def process_pattern
|
@@ -17,7 +17,7 @@ module Luban
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def start_command
|
20
|
-
@start_command ||= "#{elasticsearch_executable} -d -p #{pid_file_path} --path.conf=#{profile_path}"
|
20
|
+
@start_command ||= "PATH=#{java_bin_path}:$PATH #{elasticsearch_executable} -d -p #{pid_file_path} --path.conf=#{profile_path}"
|
21
21
|
end
|
22
22
|
|
23
23
|
def stop_command
|
@@ -40,7 +40,7 @@ path.logs: <%= logs_path %>
|
|
40
40
|
#
|
41
41
|
# Lock the memory on startup:
|
42
42
|
#
|
43
|
-
|
43
|
+
bootstrap.mlockall: true
|
44
44
|
#
|
45
45
|
# Make sure that the `ES_HEAP_SIZE` environment variable is set to about half the memory
|
46
46
|
# available on the system and that the owner of the process is allowed to use this limit.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: luban-elasticsearch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rubyist Chi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: luban
|