neo4j-core 2.1.0-java → 2.2.0-java
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +0 -10
- data/README.rdoc +2 -130
- data/config/neo4j/config.yml~ +102 -0
- data/lib/db/active_tx_log +1 -0
- data/lib/db/index/lucene-store.db +0 -0
- data/lib/db/index/lucene.log.active +0 -0
- data/lib/db/index/lucene.log.v0 +0 -0
- data/lib/db/messages.log +285 -0
- data/lib/db/neostore +0 -0
- data/lib/db/neostore.id +0 -0
- data/lib/db/neostore.nodestore.db +1 -0
- data/lib/db/neostore.nodestore.db.id +0 -0
- data/lib/db/neostore.propertystore.db +1 -0
- data/lib/db/neostore.propertystore.db.arrays +0 -0
- data/lib/db/neostore.propertystore.db.arrays.id +0 -0
- data/lib/db/neostore.propertystore.db.id +0 -0
- data/lib/db/neostore.propertystore.db.index +1 -0
- data/lib/db/neostore.propertystore.db.index.id +0 -0
- data/lib/db/neostore.propertystore.db.index.keys +0 -0
- data/lib/db/neostore.propertystore.db.index.keys.id +0 -0
- data/lib/db/neostore.propertystore.db.strings +0 -0
- data/lib/db/neostore.propertystore.db.strings.id +0 -0
- data/lib/db/neostore.relationshipstore.db +1 -0
- data/lib/db/neostore.relationshipstore.db.id +0 -0
- data/lib/db/neostore.relationshiptypestore.db +1 -0
- data/lib/db/neostore.relationshiptypestore.db.id +0 -0
- data/lib/db/neostore.relationshiptypestore.db.names +0 -0
- data/lib/db/neostore.relationshiptypestore.db.names.id +0 -0
- data/lib/db/nioneo_logical.log.active +0 -0
- data/lib/db/nioneo_logical.log.v0 +0 -0
- data/lib/db/tm_tx_log.1 +0 -0
- data/lib/neo4j-core.rb +4 -4
- data/lib/neo4j-core/database.rb +1 -0
- data/lib/neo4j-core/index/index_config.rb +1 -1
- data/lib/neo4j-core/property/property.rb +11 -0
- data/lib/neo4j-core/relationship/class_methods.rb +1 -3
- data/lib/neo4j-core/traversal/traverser.rb +19 -29
- data/lib/neo4j-core/version.rb +1 -1
- data/lib/neo4j-core/version.rb~ +5 -0
- data/lib/neo4j/config.rb +2 -2
- data/lib/neo4j/config.rb~ +136 -0
- data/lib/neo4j/neo4j.rb +3 -3
- data/neo4j-core.gemspec +1 -0
- metadata +81 -6
- data/lib/neo4j-core/cypher/cypher.rb +0 -1033
- data/lib/neo4j-core/cypher/result_wrapper.rb +0 -48
- data/lib/neo4j/cypher.rb +0 -180
data/Gemfile
CHANGED
@@ -7,16 +7,6 @@ gem 'neo4j-enterprise', '>= 1.8.M05', '< 1.9', :require => false
|
|
7
7
|
|
8
8
|
group 'development' do
|
9
9
|
gem 'pry'
|
10
|
-
# gem 'guard'
|
11
|
-
# gem 'rcov', '0.9.11'
|
12
|
-
# gem 'ruby_gntp', :require => false # GrowlNotify for Mac
|
13
|
-
# gem 'rb-inotify', :require => false
|
14
|
-
# gem 'rb-fsevent', :require => false
|
15
|
-
# gem 'rb-fchange', :require => false
|
16
|
-
# gem "guard-rspec"
|
17
|
-
#gem 'ruby-debug-base19' if RUBY_VERSION.include? "1.9"
|
18
|
-
#gem 'ruby-debug-base' if RUBY_VERSION.include? "1.8"
|
19
|
-
#gem "ruby-debug-ide"
|
20
10
|
end
|
21
11
|
|
22
12
|
group 'test' do
|
data/README.rdoc
CHANGED
@@ -24,6 +24,8 @@ The Neo4j module is public and the Neo4j::Core(::*) are internal modules.
|
|
24
24
|
|
25
25
|
== Cypher
|
26
26
|
|
27
|
+
The neo4j-core gem depends on the neo4j-cypher gem, see http://github.com/andreasronge/neo4j-cypher
|
28
|
+
|
27
29
|
Example:
|
28
30
|
Neo4j.query { node(3) }
|
29
31
|
|
@@ -33,136 +35,6 @@ Example with parameters:
|
|
33
35
|
:x
|
34
36
|
end
|
35
37
|
|
36
|
-
Notice
|
37
|
-
* The last statement in the expression will be the return value.
|
38
|
-
* You can skip the start, match, where and ret (they are just empty methods).
|
39
|
-
|
40
|
-
=== Cypher Examples
|
41
|
-
|
42
|
-
See {Neo4j Wiki Cypher}[https://github.com/andreasronge/neo4j/wiki/Neo4j::Core-Cypher]
|
43
|
-
|
44
|
-
"START n0=node(3) RETURN n0"
|
45
|
-
Neo4j.query do
|
46
|
-
start n = node(3)
|
47
|
-
ret n
|
48
|
-
end
|
49
|
-
# the above is same as:
|
50
|
-
Neo4j.query { node(3) }
|
51
|
-
|
52
|
-
"START n0=node(42) RETURN n0"
|
53
|
-
node(Neo4j::Node.new)
|
54
|
-
|
55
|
-
"START r0=relationship(3,4) RETURN r0"
|
56
|
-
rel(3,4)
|
57
|
-
|
58
|
-
"START n0=node(3) MATCH (n0)--(x) RETURN x"
|
59
|
-
start n = node(3)
|
60
|
-
match n <=> :x
|
61
|
-
ret :x
|
62
|
-
|
63
|
-
"START n0=node(3) MATCH (n0)--(v0) RETURN v0"
|
64
|
-
x = node
|
65
|
-
n = node(3)
|
66
|
-
match n <=> x
|
67
|
-
ret x
|
68
|
-
|
69
|
-
"START n0=node(3) MATCH (n0)--(v0) RETURN v0.name"
|
70
|
-
x = node
|
71
|
-
n = node(3)
|
72
|
-
match n <=> x
|
73
|
-
ret x[:name]
|
74
|
-
|
75
|
-
"START n0=node(1) RETURN n0.name AS SomethingTotallyDifferent"
|
76
|
-
x = node(1)
|
77
|
-
x[:name].as('SomethingTotallyDifferent')
|
78
|
-
|
79
|
-
"START n0=node:fooindex_exact(name:A) RETURN n0"
|
80
|
-
query(FooIndex, "name:A")
|
81
|
-
|
82
|
-
"START n0=node:fooindex_fulltext(desc="A") RETURN n0"
|
83
|
-
lookup(FooIndex, "desc", "A")
|
84
|
-
|
85
|
-
"START n0=node(1),n1=node(2) RETURN n0,n1"
|
86
|
-
[node(1), node(2)]
|
87
|
-
|
88
|
-
"START n0=node(3) MATCH (n0)-->(c)-->(d) RETURN c"
|
89
|
-
node(3) >> node(:c) >> :d
|
90
|
-
:c
|
91
|
-
|
92
|
-
"START n0=node(3) MATCH (n0)-[r]->(x) RETURN r"
|
93
|
-
node(3) > :r > :x
|
94
|
-
:r
|
95
|
-
|
96
|
-
"START n0=node(3) MATCH (n0)-[r:friends]->(x) RETURN r"
|
97
|
-
r = rel('r:friends').as(:r)
|
98
|
-
node(3) > r > :x
|
99
|
-
r
|
100
|
-
|
101
|
-
"START n0=node(3,1) WHERE n0.age < 30 RETURN n0"
|
102
|
-
n=node(3, 1)
|
103
|
-
where n[:age] < 30
|
104
|
-
ret n
|
105
|
-
|
106
|
-
"START n0=node(3,4) WHERE n0.desc = "hej" RETURN n0"
|
107
|
-
n=node(3, 4)
|
108
|
-
n[:desc] == "hej"
|
109
|
-
n
|
110
|
-
|
111
|
-
"START n0=node(3) MATCH (n0)<-[:knows]-(c) RETURN c"
|
112
|
-
a=node(3)
|
113
|
-
a < ':knows' < :c
|
114
|
-
:c
|
115
|
-
|
116
|
-
"START n0=node(3) MATCH (n0)-[r]->(v1) WHERE type(r) =~ /K.*/ RETURN r"
|
117
|
-
n=node(3)
|
118
|
-
n > (r=rel('r')) > node
|
119
|
-
r.rel_type =~ /K.*/
|
120
|
-
r
|
121
|
-
|
122
|
-
"START n0=node(3) MATCH m2 = (n0)-->(b) RETURN b,length(m2)"
|
123
|
-
p = node(3) >> :b; [:b, p.length]
|
124
|
-
|
125
|
-
"START n0=node(1) MATCH (n0)-->(b) RETURN distinct n0"
|
126
|
-
n=node(1); n>>:b; n.distinct
|
127
|
-
|
128
|
-
"START n0=node(2) MATCH (n0)-->(x) RETURN n0,count(*)"
|
129
|
-
n = node(2))>>:x
|
130
|
-
[n, count]
|
131
|
-
|
132
|
-
"START n0=node(2,3,4) RETURN sum(n0.property)"
|
133
|
-
n=node(2, 3, 4)
|
134
|
-
n[:property].sum
|
135
|
-
|
136
|
-
"START n0=node(2) MATCH (n0)-->(b) RETURN count(distinct n0.eyes)"
|
137
|
-
n=node(2); n>>:b
|
138
|
-
n[:eyes].distinct.count
|
139
|
-
|
140
|
-
"START n0=node(3,4,5) RETURN ID(n0)"
|
141
|
-
node(3, 4, 5).neo_id
|
142
|
-
|
143
|
-
"START n0=node(2) WHERE any(x in n0.array WHERE x = "one") RETURN n0"
|
144
|
-
a = node(2)
|
145
|
-
a[:array].any? { |x| x == 'one' }
|
146
|
-
a
|
147
|
-
|
148
|
-
"START n0=node(3),n1=node(4),n2=node(1) MATCH m4 = (n0)-->(n1)-->(n2) RETURN extract(x in nodes(m4) : x.age)"
|
149
|
-
a=node(3)
|
150
|
-
b=node(4)
|
151
|
-
c=node(1)
|
152
|
-
p=a>>b>>c
|
153
|
-
p.nodes.extract { |x| x[:age] }
|
154
|
-
|
155
|
-
"START n0=node(3) WHERE abs(n0.x) = 3 RETURN n0"
|
156
|
-
a=node(3); a[:x].abs==3
|
157
|
-
a
|
158
|
-
|
159
|
-
"START n0=node(3,4,5,1,2) RETURN n0 ORDER BY n0.name SKIP 1 LIMIT 2"
|
160
|
-
a=node(3,4,5,1,2); ret(a).asc(a[:name]).skip(1).limit(2)
|
161
|
-
# o same as
|
162
|
-
a=node(3,4,5,1,2); ret a, :asc => a[:name], :skip => 1, :limit => 2
|
163
|
-
|
164
|
-
For more examples, see the RSpecs
|
165
|
-
|
166
38
|
|
167
39
|
=== License
|
168
40
|
* Neo4j.rb - MIT, see the LICENSE file http://github.com/andreasronge/neo4j-core/tree/master/LICENSE.
|
@@ -0,0 +1,102 @@
|
|
1
|
+
#=== Neo4j.rb configuration settings
|
2
|
+
|
3
|
+
# The folder location of the neo4j and lucene database
|
4
|
+
storage_path: db
|
5
|
+
|
6
|
+
# If enable neo4j.rb will create _all relationship to all instances inheriting from Neo4j::Rails::Model
|
7
|
+
# If disabled all custom rules will also be unavailable.
|
8
|
+
enable_rules: true
|
9
|
+
|
10
|
+
# if identity map should be on or not
|
11
|
+
# It may impact the performance. Using the identity map will keep all loaded wrapper node/relationship
|
12
|
+
# object in memory for each thread and transaction - which may speed up or slow down operations.
|
13
|
+
identity_map: true
|
14
|
+
|
15
|
+
# When using the Neo4j::Model you can let neo4j automatically set timestamps when updating/creating nodes.
|
16
|
+
# If set to true neo4j.rb automatically timestamps create and update operations if the model has properties named created_at/created_on or updated_at/updated_on
|
17
|
+
# (similar to ActiveRecord).
|
18
|
+
timestamps: true
|
19
|
+
|
20
|
+
# Configuration for lucene
|
21
|
+
lucene: { fulltext: { provider: lucene,
|
22
|
+
type: fulltext },
|
23
|
+
exact: { provider: lucene,
|
24
|
+
type: exact}
|
25
|
+
}
|
26
|
+
|
27
|
+
# If migrations should be run in a new thread
|
28
|
+
# If set to true it you can use the database while it is migrating.
|
29
|
+
migration_thread: false
|
30
|
+
|
31
|
+
# If online backup should be available, if it is the Online JAR file will be loaded,
|
32
|
+
# Notice it must be either 'true' or 'false' as string
|
33
|
+
enable_online_backup: 'false'
|
34
|
+
|
35
|
+
#use the clustered Neo4j GraphDatabase (org.neo4j.kernel.HighlyAvailableGraphDatabase)
|
36
|
+
ha.db: false
|
37
|
+
|
38
|
+
# Example of HA Configuration, see http://wiki.neo4j.org/content/High_Availability_Cluster
|
39
|
+
# This is only used when ha.db is set to true
|
40
|
+
ha.server_id: 2
|
41
|
+
ha.server: 'localhost:6002'
|
42
|
+
ha.coordinators: 'localhost:2181,localhost:2182,localhost:2183'
|
43
|
+
|
44
|
+
# if enabled you can use the bin/neo4j-shell command to access the database
|
45
|
+
enable_remote_shell: "port=9332"
|
46
|
+
|
47
|
+
#===Memory mapped I/O settings===
|
48
|
+
|
49
|
+
#Each file in the Neo store can use memory mapped I/O for reading/writing.
|
50
|
+
#Best performance is achived if the full file can be memory mapped but if
|
51
|
+
#there isn't enough memory for that Neo will try and make the best use of
|
52
|
+
#the memory it gets (regions of the file that get accessed often will more
|
53
|
+
#likley be memory mapped).
|
54
|
+
|
55
|
+
#For high traversal speed it is important to have the nodestore.db and
|
56
|
+
#relationshipstore.db files.
|
57
|
+
|
58
|
+
neostore.nodestore.db.mapped_memory: 25M
|
59
|
+
neostore.relationshipstore.db.mapped_memory: 50M
|
60
|
+
neostore.propertystore.db.mapped_memory: 90M
|
61
|
+
neostore.propertystore.db.index.mapped_memory: 1M
|
62
|
+
neostore.propertystore.db.index.keys.mapped_memory: 1M
|
63
|
+
neostore.propertystore.db.strings.mapped_memory: 130M
|
64
|
+
neostore.propertystore.db.arrays.mapped_memory: 130M
|
65
|
+
|
66
|
+
|
67
|
+
#: ": ": "Cache settings: ": ": "
|
68
|
+
|
69
|
+
#use adaptive caches YES|NO. Let Neo try make best use of available heap.
|
70
|
+
use_adaptive_cache: YES
|
71
|
+
|
72
|
+
#heap usage/max heap size ratio. Neo will increase caches while ratio
|
73
|
+
#is less and decrease if greater. Default 0.77 seems to be a good over
|
74
|
+
#all ratio of heap usage to avoid GC trashing. Larger heaps may allow for
|
75
|
+
#a higher ratio while tiny heaps may need even less.
|
76
|
+
adaptive_cache_heap_ratio: 0.77
|
77
|
+
|
78
|
+
#how aggressive Neo will decrease caches once heap ratio reached
|
79
|
+
adaptive_cache_manager_decrease_ratio: 1.15
|
80
|
+
|
81
|
+
#how aggresive Neo will increase caches if ratio isn't yet reached
|
82
|
+
adaptive_cache_manager_increase_ratio: 1.1
|
83
|
+
|
84
|
+
#if no requests are made to Neo this is the amount of time in ms Neo will wait
|
85
|
+
#before it checks the heap usage and adapts the caches if needed
|
86
|
+
adaptive_cache_worker_sleep_time: 3000
|
87
|
+
|
88
|
+
#minimum size (number of nodes) of node cache. If adaptive cache is in use
|
89
|
+
#node cache will not be decreased under this value
|
90
|
+
min_node_cache_size: 0
|
91
|
+
|
92
|
+
#minimum size (number of relationships) of relationship cache. If adaptive
|
93
|
+
#cache is in use relationship cache will not be decreased under this value
|
94
|
+
min_relationship_cache_size: 0
|
95
|
+
|
96
|
+
#maximum size (number of nodes) of node cache. If adaptive cache is not in
|
97
|
+
#use the node cache will not be increased above this value
|
98
|
+
max_node_cache_size: 1500
|
99
|
+
|
100
|
+
#maximum size (number of relationship) of node cache. If adaptive cache is
|
101
|
+
#not in use the relationship cache will not be increased above this value
|
102
|
+
max_relationship_cache_size: 3500
|
@@ -0,0 +1 @@
|
|
1
|
+
tm_tx_log.1
|
Binary file
|
Binary file
|
Binary file
|
data/lib/db/messages.log
ADDED
@@ -0,0 +1,285 @@
|
|
1
|
+
2012-08-21 13:43:33.857+0000: WARNING! Deprecated configuration options used. See manual for details
|
2
|
+
2012-08-21 13:43:33.861+0000: enable_online_backup has been replaced with online_backup_enabled and online_backup_port
|
3
|
+
2012-08-21 13:43:33.861+0000: neo4j.ext.udc.disable has been replaced with neo4j.ext.udc.enabled
|
4
|
+
2012-08-21 13:43:33.946+0000: Creating new db @ /Users/andreasronge/projects/neo4j-core/lib/db/neostore
|
5
|
+
2012-08-21 13:43:34.096+0000: Opened logical log [/Users/andreasronge/projects/neo4j-core/lib/db/nioneo_logical.log.1] version=0, lastTxId=1 (clean)
|
6
|
+
2012-08-21 13:43:34.103+0000: TM new log: tm_tx_log.1
|
7
|
+
2012-08-21 13:43:34.142+0000: Opened logical log [/Users/andreasronge/projects/neo4j-core/lib/db/index/lucene.log.1] version=0, lastTxId=1 (clean)
|
8
|
+
2012-08-21 13:43:34.145+0000: --- STARTUP diagnostics START ---
|
9
|
+
2012-08-21 13:43:34.150+0000: Neo4j Kernel properties:
|
10
|
+
read_only=false
|
11
|
+
forced_kernel_id=
|
12
|
+
neo4j.ext.udc.host=localhost:8888
|
13
|
+
logical_log=nioneo_logical.log
|
14
|
+
min_node_cache_size=0
|
15
|
+
intercept_committing_transactions=false
|
16
|
+
node_auto_indexing=false
|
17
|
+
remote_shell_name=shell
|
18
|
+
relationship_cache_size=116523008
|
19
|
+
cache_type=soft
|
20
|
+
intercept_deserialized_transactions=false
|
21
|
+
ha.db=NO
|
22
|
+
use_adaptive_cache=YES
|
23
|
+
lucene_searcher_cache_size=2147483647
|
24
|
+
neo4j.ext.udc.interval=86400000
|
25
|
+
use_memory_mapped_buffers=true
|
26
|
+
timestamps=YES
|
27
|
+
ha.coordinators=localhost:2181,localhost:2182,localhost:2183
|
28
|
+
rebuild_idgenerators_fast=true
|
29
|
+
neostore.propertystore.db.index.keys.mapped_memory=1M
|
30
|
+
max_node_cache_size=1500
|
31
|
+
neostore.propertystore.db.arrays.mapped_memory=130M
|
32
|
+
neostore.propertystore.db.strings.mapped_memory=130M
|
33
|
+
gcr_cache_min_log_interval=60s
|
34
|
+
relationship_grab_size=100
|
35
|
+
relationship_auto_indexing=false
|
36
|
+
remote_shell_read_only=false
|
37
|
+
storage_path=db
|
38
|
+
node_cache_array_fraction=1.0
|
39
|
+
allow_store_upgrade=false
|
40
|
+
execution_guard_enabled=false
|
41
|
+
relationship_cache_array_fraction=1.0
|
42
|
+
migration_thread=NO
|
43
|
+
remote_logging_host=127.0.0.1
|
44
|
+
store_dir=/Users/andreasronge/projects/neo4j-core/lib/db
|
45
|
+
online_backup_enabled=false
|
46
|
+
remote_logging_port=4560
|
47
|
+
enable_rules=YES
|
48
|
+
gc_monitor_threshold=200ms
|
49
|
+
load_kernel_extensions=true
|
50
|
+
array_block_size=120
|
51
|
+
neostore.relationshipstore.db.mapped_memory=50M
|
52
|
+
keep_logical_logs=true
|
53
|
+
dump_configuration=false
|
54
|
+
gc_monitor_wait_time=100ms
|
55
|
+
neostore.nodestore.db.mapped_memory=25M
|
56
|
+
neo4j.ext.udc.first_delay=100
|
57
|
+
remote_shell_enabled=true
|
58
|
+
min_relationship_cache_size=0
|
59
|
+
max_relationship_cache_size=3500
|
60
|
+
neo4j.ext.udc.reg=unreg
|
61
|
+
remote_shell_port=9332
|
62
|
+
adaptive_cache_heap_ratio=0.77
|
63
|
+
identity_map=YES
|
64
|
+
adaptive_cache_manager_decrease_ratio=1.15
|
65
|
+
ha.server_id=2
|
66
|
+
adaptive_cache_worker_sleep_time=3000
|
67
|
+
neo_store=neostore
|
68
|
+
logging.threshold_for_rotation=104857600
|
69
|
+
neostore.propertystore.db.index.mapped_memory=1M
|
70
|
+
adaptive_cache_manager_increase_ratio=1.1
|
71
|
+
backup_slave=false
|
72
|
+
neostore.propertystore.db.mapped_memory=90M
|
73
|
+
string_block_size=120
|
74
|
+
grab_file_lock=true
|
75
|
+
remote_logging_enabled=false
|
76
|
+
node_cache_size=116523008
|
77
|
+
ha.server=localhost:6002
|
78
|
+
neo4j.ext.udc.enabled=true
|
79
|
+
online_backup_port=6362
|
80
|
+
2012-08-21 13:43:34.156+0000: Diagnostics providers:
|
81
|
+
org.neo4j.kernel.configuration.Config
|
82
|
+
org.neo4j.kernel.info.DiagnosticsManager
|
83
|
+
SYSTEM_MEMORY
|
84
|
+
JAVA_MEMORY
|
85
|
+
OPERATING_SYSTEM
|
86
|
+
JAVA_VIRTUAL_MACHINE
|
87
|
+
CLASSPATH
|
88
|
+
LIBRARY_PATH
|
89
|
+
SYSTEM_PROPERTIES
|
90
|
+
2012-08-21 13:43:34.157+0000: System memory information:
|
91
|
+
Total Physical memory: 6.00 GB
|
92
|
+
Free Physical memory: 128.00 MB
|
93
|
+
Committed virtual memory: 64.00 MB
|
94
|
+
Total swap space: 0.00 B
|
95
|
+
Free swap space: 0.00 B
|
96
|
+
2012-08-21 13:43:34.160+0000: JVM memory information:
|
97
|
+
Free memory: 86.54 MB
|
98
|
+
Total memory: 117.63 MB
|
99
|
+
Max memory: 444.50 MB
|
100
|
+
Garbage Collector: PS Scavenge: [PS Eden Space, PS Survivor Space]
|
101
|
+
Garbage Collector: PS MarkSweep: [PS Eden Space, PS Survivor Space, PS Old Gen, PS Perm Gen]
|
102
|
+
Memory Pool: Code Cache (Non-heap memory): committed=2.44 MB, used=2.26 MB, max=48.00 MB, threshold=0.00 B
|
103
|
+
Memory Pool: PS Eden Space (Heap memory): committed=67.69 MB, used=6.97 MB, max=151.56 MB, threshold=?
|
104
|
+
Memory Pool: PS Survivor Space (Heap memory): committed=2.94 MB, used=2.94 MB, max=2.94 MB, threshold=?
|
105
|
+
Memory Pool: PS Old Gen (Heap memory): committed=47.00 MB, used=21.18 MB, max=333.38 MB, threshold=0.00 B
|
106
|
+
Memory Pool: PS Perm Gen (Non-heap memory): committed=29.94 MB, used=29.77 MB, max=82.00 MB, threshold=0.00 B
|
107
|
+
2012-08-21 13:43:34.169+0000: Operating system information:
|
108
|
+
Operating System: Mac OS X; version: 10.8; arch: x86_64; cpus: 8
|
109
|
+
Max number of file descriptors: 10240
|
110
|
+
Number of open file descriptors: 100
|
111
|
+
Process id: 3131@Andreass-MacBook-Pro-2.local
|
112
|
+
Byte order: LITTLE_ENDIAN
|
113
|
+
2012-08-21 13:43:34.343+0000: JVM information:
|
114
|
+
VM Name: Java HotSpot(TM) 64-Bit Server VM
|
115
|
+
VM Vendor: Oracle Corporation
|
116
|
+
VM Version: 23.1-b03
|
117
|
+
JIT compiler: HotSpot 64-Bit Tiered Compilers
|
118
|
+
VM Arguments: [-Djdk.home=, -Djruby.home=/Users/andreasronge/.rvm/rubies/jruby-1.7.0.preview2, -Djruby.script=jruby, -Djruby.shell=/bin/sh, -Djffi.boot.library.path=/Users/andreasronge/.rvm/rubies/jruby-1.7.0.preview2/lib/native/Darwin, -Xmx500m, -Xss2048k, -Djruby.memory.max=500m, -Djruby.stack.max=2048k, -Xbootclasspath/a:/Users/andreasronge/.rvm/rubies/jruby-1.7.0.preview2/lib/jruby.jar, -Dfile.encoding=UTF-8]
|
119
|
+
2012-08-21 13:43:34.345+0000: Java classpath:
|
120
|
+
[loader.2] file:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/ext/localedata.jar
|
121
|
+
[bootstrap] /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/rt.jar
|
122
|
+
[loader.2] file:/System/Library/Java/Extensions/dns_sd.jar
|
123
|
+
[loader.2] file:/System/Library/Java/Extensions/j3dutils.jar
|
124
|
+
[loader.2] file:/System/Library/Java/Extensions/MRJToolkit.jar
|
125
|
+
[loader.2] file:/System/Library/Java/Extensions/jai_core.jar
|
126
|
+
[loader.0] file:/Users/andreasronge/.rvm/gems/jruby-1.7.0.preview2/gems/neo4j-community-1.8.M07-java/lib/neo4j-community/jars/scala-library-2.9.1-1.jar
|
127
|
+
[loader.0] file:/Users/andreasronge/.rvm/gems/jruby-1.7.0.preview2/gems/neo4j-community-1.8.M07-java/lib/neo4j-community/jars/server-api-1.8.M07.jar
|
128
|
+
[bootstrap] /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/jce.jar
|
129
|
+
[loader.0] file:/Users/andreasronge/.rvm/gems/jruby-1.7.0.preview2/gems/neo4j-community-1.8.M07-java/lib/neo4j-community/jars/neo4j-graph-algo-1.8.M07.jar
|
130
|
+
[loader.2] file:/System/Library/Java/Extensions/vecmath.jar
|
131
|
+
[loader.0] file:/Users/andreasronge/.rvm/gems/jruby-1.7.0.preview2/gems/neo4j-community-1.8.M07-java/lib/neo4j-community/jars/org.apache.servicemix.bundles.jline-0.9.94_1.jar
|
132
|
+
[classpath + loader.1] file:/Users/andreasronge/projects/neo4j-core/lib/
|
133
|
+
[loader.2] file:/System/Library/Java/Extensions/libmlib_jai.jnilib
|
134
|
+
[loader.2] file:/System/Library/Java/Extensions/jai_codec.jar
|
135
|
+
[loader.0] file:/Users/andreasronge/.rvm/gems/jruby-1.7.0.preview2/gems/neo4j-community-1.8.M07-java/lib/neo4j-community/jars/neo4j-shell-1.8.M07.jar
|
136
|
+
[bootstrap] /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/charsets.jar
|
137
|
+
[loader.0] file:/Users/andreasronge/.rvm/gems/jruby-1.7.0.preview2/gems/neo4j-community-1.8.M07-java/lib/neo4j-community/jars/lucene-core-3.5.0.jar
|
138
|
+
[loader.0] file:/Users/andreasronge/.rvm/gems/jruby-1.7.0.preview2/gems/neo4j-community-1.8.M07-java/lib/neo4j-community/jars/neo4j-lucene-index-1.8.M07.jar
|
139
|
+
[loader.2] file:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/ext/zipfs.jar
|
140
|
+
[loader.2] file:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/ext/dnsns.jar
|
141
|
+
[loader.2] file:/System/Library/Java/Extensions/libJ3D.jnilib
|
142
|
+
[loader.2] file:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/ext/sunec.jar
|
143
|
+
[bootstrap] /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/jfr.jar
|
144
|
+
[loader.2] file:/System/Library/Java/Extensions/mlibwrapper_jai.jar
|
145
|
+
[loader.0] file:/Users/andreasronge/.rvm/gems/jruby-1.7.0.preview2/gems/neo4j-community-1.8.M07-java/lib/neo4j-community/jars/geronimo-jta_1.1_spec-1.1.1.jar
|
146
|
+
[loader.2] file:/System/Library/Java/Extensions/QTJava.zip
|
147
|
+
[loader.2] file:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar
|
148
|
+
[bootstrap] /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/JObjC.jar
|
149
|
+
[loader.0] file:/Users/andreasronge/.rvm/gems/jruby-1.7.0.preview2/gems/neo4j-community-1.8.M07-java/lib/neo4j-community/jars/neo4j-jmx-1.8.M07.jar
|
150
|
+
[loader.0] file:/Users/andreasronge/.rvm/gems/jruby-1.7.0.preview2/gems/neo4j-community-1.8.M07-java/lib/neo4j-community/jars/neo4j-udc-1.8.M07.jar
|
151
|
+
[loader.2] file:/System/Library/Java/Extensions/libJ3DAudio.jnilib
|
152
|
+
[loader.2] file:/System/Library/Java/Extensions/libAppleScriptEngine.jnilib
|
153
|
+
[bootstrap] /Users/andreasronge/.rvm/rubies/jruby-1.7.0.preview2/lib/jruby.jar
|
154
|
+
[loader.2] file:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar
|
155
|
+
[bootstrap] /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/sunrsasign.jar
|
156
|
+
[loader.2] file:/System/Library/Java/Extensions/j3daudio.jar
|
157
|
+
[loader.2] file:/System/Library/Java/Extensions/AppleScriptEngine.jar
|
158
|
+
[bootstrap] /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/classes
|
159
|
+
[loader.2] file:/System/Library/Java/Extensions/libJ3DUtils.jnilib
|
160
|
+
[loader.0] file:/Users/andreasronge/.rvm/gems/jruby-1.7.0.preview2/gems/neo4j-community-1.8.M07-java/lib/neo4j-community/jars/neo4j-kernel-1.8.M07.jar
|
161
|
+
[bootstrap] /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/jsse.jar
|
162
|
+
[loader.0] file:/Users/andreasronge/.rvm/gems/jruby-1.7.0.preview2/gems/neo4j-community-1.8.M07-java/lib/neo4j-community/jars/neo4j-cypher-1.8.M07.jar
|
163
|
+
[loader.2] file:/System/Library/Java/Extensions/libQTJNative.jnilib
|
164
|
+
[loader.0] file:/Users/andreasronge/.rvm/gems/jruby-1.7.0.preview2/gems/neo4j-community-1.8.M07-java/lib/neo4j-community/jars/neo4j-graph-matching-1.8.M07.jar
|
165
|
+
[loader.2] file:/System/Library/Java/Extensions/j3dcore.jar
|
166
|
+
[bootstrap] /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/resources.jar
|
167
|
+
[loader.2] file:/usr/lib/java/libjdns_sd.jnilib
|
168
|
+
2012-08-21 13:43:34.348+0000: Library path:
|
169
|
+
/Users/andreasronge/Library/Java/Extensions
|
170
|
+
/Library/Java/Extensions
|
171
|
+
/Network/Library/Java/Extensions
|
172
|
+
/System/Library/Java/Extensions
|
173
|
+
/usr/lib/java
|
174
|
+
/Users/andreasronge/projects/neo4j-core/lib
|
175
|
+
2012-08-21 13:43:34.348+0000: System.properties:
|
176
|
+
jruby.home = /Users/andreasronge/.rvm/rubies/jruby-1.7.0.preview2
|
177
|
+
sun.boot.library.path = /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib
|
178
|
+
user.country.format = SE
|
179
|
+
gopherProxySet = false
|
180
|
+
path.separator = :
|
181
|
+
file.encoding.pkg = sun.io
|
182
|
+
user.country = US
|
183
|
+
sun.java.launcher = SUN_STANDARD
|
184
|
+
sun.os.patch.level = unknown
|
185
|
+
user.dir = /Users/andreasronge/projects/neo4j-core/lib
|
186
|
+
neo4j.ext.udc.source = neo4rb
|
187
|
+
jdk.home =
|
188
|
+
sun.jnu.encoding = UTF-8
|
189
|
+
jruby.memory.max = 500m
|
190
|
+
sun.management.compiler = HotSpot 64-Bit Tiered Compilers
|
191
|
+
http.nonProxyHosts = local|*.local|169.254/16|*.169.254/16
|
192
|
+
jffi.boot.library.path = /Users/andreasronge/.rvm/rubies/jruby-1.7.0.preview2/lib/native/Darwin
|
193
|
+
user.home = /Users/andreasronge
|
194
|
+
user.timezone = Europe/Stockholm
|
195
|
+
file.encoding = UTF-8
|
196
|
+
jruby.stack.max = 2048k
|
197
|
+
jruby.script = jruby
|
198
|
+
user.name = andreasronge
|
199
|
+
jruby.shell = /bin/sh
|
200
|
+
sun.java.command = org/jruby/Main /Users/andreasronge/.rvm/gems/jruby-1.7.0.preview2/bin/ruby_noexec_wrapper /Users/andreasronge/.rvm/gems/jruby-1.7.0.preview2/bin/pry
|
201
|
+
sun.arch.data.model = 64
|
202
|
+
user.language = en
|
203
|
+
awt.toolkit = sun.lwawt.macosx.LWCToolkit
|
204
|
+
file.separator = /
|
205
|
+
sun.io.unicode.encoding = UnicodeBig
|
206
|
+
sun.cpu.endian = little
|
207
|
+
socksNonProxyHosts = local|*.local|169.254/16|*.169.254/16
|
208
|
+
ftp.nonProxyHosts = local|*.local|169.254/16|*.169.254/16
|
209
|
+
sun.cpu.isalist =
|
210
|
+
2012-08-21 13:43:34.349+0000: --- STARTUP diagnostics END ---
|
211
|
+
2012-08-21 13:43:34.448+0000: Extension org.neo4j.kernel.KernelExtension[kernel jmx] loaded ok
|
212
|
+
2012-08-21 13:43:34.455+0000: Extension org.neo4j.kernel.KernelExtension[kernel udc] loaded ok
|
213
|
+
2012-08-21 13:43:34.747+0000: Extension org.neo4j.kernel.KernelExtension[shell] loaded ok
|
214
|
+
2012-08-21 13:43:34.750+0000: --- STARTUP diagnostics for KernelDiagnostics:Versions START ---
|
215
|
+
2012-08-21 13:43:34.750+0000: Graph Database: org.neo4j.kernel.EmbeddedGraphDatabase StoreId[time:1345556613946, id:2509386930507999424, store version: 13561656364791302]
|
216
|
+
2012-08-21 13:43:34.750+0000: Kernel version: Neo4j - Graph Database Kernel 1.8.M07
|
217
|
+
2012-08-21 13:43:34.750+0000: Neo4j component versions:
|
218
|
+
2012-08-21 13:43:34.751+0000: Neo4j - Graph Database Kernel 1.8.M07
|
219
|
+
2012-08-21 13:43:34.751+0000: --- STARTUP diagnostics for KernelDiagnostics:Versions END ---
|
220
|
+
2012-08-21 13:43:34.754+0000: --- STARTUP diagnostics for NEO_STORE_VERSIONS START ---
|
221
|
+
2012-08-21 13:43:34.754+0000: Store versions:
|
222
|
+
Store versions:
|
223
|
+
NeoStore v0.A.0
|
224
|
+
NodeStore v0.A.0
|
225
|
+
RelationshipStore v0.A.0
|
226
|
+
RelationshipTypeStore v0.A.0
|
227
|
+
PropertyStore v0.A.0
|
228
|
+
PropertyIndexStore v0.A.0
|
229
|
+
StringPropertyStore v0.A.0
|
230
|
+
ArrayPropertyStore v0.A.0
|
231
|
+
2012-08-21 13:43:34.754+0000: --- STARTUP diagnostics for NEO_STORE_VERSIONS END ---
|
232
|
+
2012-08-21 13:43:34.754+0000: --- STARTUP diagnostics for NEO_STORE_ID_USAGE START ---
|
233
|
+
2012-08-21 13:43:34.754+0000: Id usage:
|
234
|
+
Id usage:
|
235
|
+
NodeStore: used=1 high=0
|
236
|
+
RelationshipStore: used=0 high=-1
|
237
|
+
RelationshipTypeStore: used=0 high=-1
|
238
|
+
PropertyStore: used=0 high=-1
|
239
|
+
PropertyIndexStore: used=0 high=-1
|
240
|
+
StringPropertyStore: used=1 high=0
|
241
|
+
ArrayPropertyStore: used=1 high=0
|
242
|
+
2012-08-21 13:43:34.755+0000: --- STARTUP diagnostics for NEO_STORE_ID_USAGE END ---
|
243
|
+
2012-08-21 13:43:34.755+0000: --- STARTUP diagnostics for KernelDiagnostics:StoreFiles START ---
|
244
|
+
2012-08-21 13:43:34.755+0000: Storage files:
|
245
|
+
active_tx_log: 11.00 B
|
246
|
+
index:
|
247
|
+
lucene-store.db: 40.00 B
|
248
|
+
lucene.log.1: 16.00 B
|
249
|
+
lucene.log.active: 4.00 B
|
250
|
+
- Total: 60.00 B
|
251
|
+
lock: 0.00 B
|
252
|
+
messages.log: 13.75 kB
|
253
|
+
neostore: 54.00 B
|
254
|
+
neostore.id: 9.00 B
|
255
|
+
neostore.nodestore.db: 9.00 B
|
256
|
+
neostore.nodestore.db.id: 9.00 B
|
257
|
+
neostore.propertystore.db: 0.00 B
|
258
|
+
neostore.propertystore.db.arrays: 128.00 B
|
259
|
+
neostore.propertystore.db.arrays.id: 9.00 B
|
260
|
+
neostore.propertystore.db.id: 9.00 B
|
261
|
+
neostore.propertystore.db.index: 0.00 B
|
262
|
+
neostore.propertystore.db.index.id: 9.00 B
|
263
|
+
neostore.propertystore.db.index.keys: 38.00 B
|
264
|
+
neostore.propertystore.db.index.keys.id: 9.00 B
|
265
|
+
neostore.propertystore.db.strings: 128.00 B
|
266
|
+
neostore.propertystore.db.strings.id: 9.00 B
|
267
|
+
neostore.relationshipstore.db: 0.00 B
|
268
|
+
neostore.relationshipstore.db.id: 9.00 B
|
269
|
+
neostore.relationshiptypestore.db: 0.00 B
|
270
|
+
neostore.relationshiptypestore.db.id: 9.00 B
|
271
|
+
neostore.relationshiptypestore.db.names: 38.00 B
|
272
|
+
neostore.relationshiptypestore.db.names.id: 9.00 B
|
273
|
+
nioneo_logical.log.1: 16.00 B
|
274
|
+
nioneo_logical.log.active: 4.00 B
|
275
|
+
tm_tx_log.1: 0.00 B
|
276
|
+
2012-08-21 13:43:34.758+0000: --- STARTUP diagnostics for KernelDiagnostics:StoreFiles END ---
|
277
|
+
2012-08-21 13:43:34.760+0000: Started - database is now available
|
278
|
+
2012-08-21 13:43:34.760+0000: GC Monitor started.
|
279
|
+
2012-08-21 13:44:00.601+0000: Stopping - database is now unavailable
|
280
|
+
2012-08-21 13:44:00.603+0000: TM shutting down
|
281
|
+
2012-08-21 13:44:00.607+0000: Closed log /Users/andreasronge/projects/neo4j-core/lib/db/index/lucene.log
|
282
|
+
2012-08-21 13:44:00.608+0000: Closed log /Users/andreasronge/projects/neo4j-core/lib/db/nioneo_logical.log
|
283
|
+
2012-08-21 13:44:00.613+0000: NeoStore closed
|
284
|
+
2012-08-21 13:44:00.613+0000: --- SHUTDOWN diagnostics START ---
|
285
|
+
2012-08-21 13:44:00.613+0000: --- SHUTDOWN diagnostics END ---
|