norikra 1.4.0-java → 1.5.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.ruby-version +1 -1
- data/.travis.yml +0 -2
- data/README.md +4 -0
- data/lib/norikra/logger.rb +3 -2
- data/lib/norikra/server.rb +3 -3
- data/lib/norikra/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 97f08b7ade0b66754cf7278e9e69c14adb2a457419c034cab01326d335af0862
|
4
|
+
data.tar.gz: 8f2b4052fb8985df6f29f058085407d4444e9f9dd67d7a2f54b621978ae6904c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 151733296bbb9bd1cfa8c0ade3271ed62e9b161817144a6f39f6f51da6043bb3fd07ec1abe33b85ecaa04e4d46f918e78f3426deb8d3060c4186784af24a14cc
|
7
|
+
data.tar.gz: 9654bae98847e2b356989780685fcb487b50f2243b7ab97a876951f5ab36d0d4ce46c89040bdb29d43e0533be15c8835c4ef2f4dd1ba7c6a71c21c77d2deac13
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
jruby-1.
|
1
|
+
jruby-9.1.13.0
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -64,7 +64,11 @@ See: http://norikra.github.io/
|
|
64
64
|
|
65
65
|
## Changes
|
66
66
|
|
67
|
+
* v1.5
|
68
|
+
* Fix a bug not to shutdown correctly
|
69
|
+
* Fix a bug to handle paths in logging incorrectly
|
67
70
|
* v1.4
|
71
|
+
* Add option handling about `-D` and `-agentlib` for JVM
|
68
72
|
* Dependency update for msgpack.gem
|
69
73
|
* v1.3
|
70
74
|
* Dynamic plugin reloading by SIGHUP
|
data/lib/norikra/logger.rb
CHANGED
@@ -78,17 +78,18 @@ module Norikra
|
|
78
78
|
else
|
79
79
|
# DailyRollingFileAppender ?
|
80
80
|
# http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/DailyRollingFileAppender.html
|
81
|
+
max_backup_index = opts[:backups] || LOGFILE_DEFAULT_MAX_BACKUP_INDEX
|
81
82
|
norikra_log = File.join(logdir, 'norikra.log')
|
82
83
|
p.setProperty('log4j.appender.default', 'org.apache.log4j.RollingFileAppender')
|
83
84
|
p.setProperty('log4j.appender.default.File', norikra_log)
|
84
85
|
p.setProperty('log4j.appender.default.MaxFileSize', opts[:filesize] || LOGFILE_DEFAULT_MAX_SIZE)
|
85
|
-
p.setProperty('log4j.appender.default.MaxBackupIndex',
|
86
|
+
p.setProperty('log4j.appender.default.MaxBackupIndex', max_backup_index.to_s)
|
86
87
|
|
87
88
|
builtin_log = File.join(logdir, 'builtin.log')
|
88
89
|
p.setProperty('log4j.appender.builtin', 'org.apache.log4j.RollingFileAppender')
|
89
90
|
p.setProperty('log4j.appender.builtin.File', builtin_log)
|
90
91
|
p.setProperty('log4j.appender.builtin.MaxFileSize', opts[:filesize] || LOGFILE_DEFAULT_MAX_SIZE)
|
91
|
-
p.setProperty('log4j.appender.builtin.MaxBackupIndex',
|
92
|
+
p.setProperty('log4j.appender.builtin.MaxBackupIndex', max_backup_index.to_s)
|
92
93
|
end
|
93
94
|
p.setProperty('log4j.rootLogger', "#{level},default")
|
94
95
|
org.apache.log4j.PropertyConfigurator.configure(p)
|
data/lib/norikra/server.rb
CHANGED
@@ -166,7 +166,7 @@ module Norikra
|
|
166
166
|
@running = true
|
167
167
|
info "Norikra server started."
|
168
168
|
|
169
|
-
shutdown_proc =
|
169
|
+
shutdown_proc = proc{ @running = false }
|
170
170
|
# JVM uses SIGQUIT / SIGUSR1 for thread/heap state dumping
|
171
171
|
[:INT, :TERM].each do |s|
|
172
172
|
Signal.trap(s, shutdown_proc)
|
@@ -178,10 +178,10 @@ module Norikra
|
|
178
178
|
else
|
179
179
|
nil
|
180
180
|
end
|
181
|
-
Signal.trap(:USR2,
|
181
|
+
Signal.trap(:USR2, proc{ @dump_stats = true })
|
182
182
|
|
183
183
|
@reload_plugins = false
|
184
|
-
Signal.trap(:HUP,
|
184
|
+
Signal.trap(:HUP, proc{ @reload_plugins = true })
|
185
185
|
|
186
186
|
memory_stat_next = Time.now
|
187
187
|
shut_off_mode = false
|
data/lib/norikra/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: norikra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- TAGOMORI Satoshi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -178,7 +178,8 @@ dependencies:
|
|
178
178
|
- - ">="
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0'
|
181
|
-
description: Norikra is a open source server software provides "Schema-les Stream
|
181
|
+
description: Norikra is a open source server software provides "Schema-les Stream
|
182
|
+
Processing" with SQL, written in JRuby, runs on JVM, licensed under GPLv2.
|
182
183
|
email:
|
183
184
|
- tagomoris@gmail.com
|
184
185
|
executables:
|
@@ -295,7 +296,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
295
296
|
version: '0'
|
296
297
|
requirements: []
|
297
298
|
rubyforge_project:
|
298
|
-
rubygems_version: 2.
|
299
|
+
rubygems_version: 2.6.13
|
299
300
|
signing_key:
|
300
301
|
specification_version: 4
|
301
302
|
summary: Schema-less stream processing server with SQL
|
@@ -313,4 +314,3 @@ test_files:
|
|
313
314
|
- spec/target_spec.rb
|
314
315
|
- spec/typedef_manager_spec.rb
|
315
316
|
- spec/typedef_spec.rb
|
316
|
-
has_rdoc:
|