Re: [Neo4j] Unrecovable transaction error

2011-01-31 Thread Gian Luca Farina Perseu
Hi Mattias,

I'll send you in next minutes, in your personal email, the log required.

Regards.

Gian Luca

On Sun, Jan 30, 2011 at 8:11 PM, Mattias Persson
matt...@neotechnology.com wrote:
 Hi Gian,

 could you please supply the contents of messages.log found in your neo4j
 database directory? It seems like the indexing jar files are missing or
 fails to load at the time of recovery. The messages.log file can give hints
 about the problem.

 2011/1/29 Gian Luca Farina Perseu farinaper...@gmail.com

 Hi to all,

 we recently (for 2nd time) engaged a transaction error using neo4j
 embedded.

 We need to investigate well about this error origin, BUT I need to
 understand how to resolve the following error:

 java.lang.RuntimeException: No mapping found for branchId[0x162374]

 The steps:

 1) two users work on the application
 2) one user receive a transaction error (sorry, not traced ..
 maybe an error on begin transaction)
 3) shutting down the server (as usual)
 4) restarting the server
 5) receiving the error:

  java.lang.RuntimeException: No mapping found for branchId[0x162374]
        at
 com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jGraph.init(Neo4jGraph.java:58)
        at
 com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jGraph.init(Neo4jGraph.java:31)
        ..
 Caused by: org.neo4j.graphdb.TransactionFailureException: No mapping
 found for branchId[0x162374]
        at
 org.neo4j.kernel.impl.transaction.XaDataSourceManager.getXaResource(XaDataSourceManager.java:186)
        at
 org.neo4j.kernel.impl.transaction.TxManager.getXaResource(TxManager.java:933)
        at
 org.neo4j.kernel.impl.transaction.TxManager.buildRecoveryInfo(TxManager.java:414)
        at
 org.neo4j.kernel.impl.transaction.TxManager.recover(TxManager.java:255)
        at
 org.neo4j.kernel.impl.transaction.TxManager.init(TxManager.java:181)
        at
 org.neo4j.kernel.impl.transaction.TxModule.start(TxModule.java:85)
        at org.neo4j.kernel.GraphDbInstance.start(GraphDbInstance.java:156)
        at
 org.neo4j.kernel.EmbeddedGraphDbImpl.init(EmbeddedGraphDbImpl.java:167)
        at
 org.neo4j.kernel.EmbeddedGraphDatabase.init(EmbeddedGraphDatabase.java:81)
        at
 org.neo4j.kernel.EmbeddedGraphDatabase.init(EmbeddedGraphDatabase.java:65)
        at
 com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jGraph.init(Neo4jGraph.java:41)
        ... 7 more

 We are (still) working on Neo4j 1.2M04 thru Blueprints.

 I dont want to understand (in this help request) why and where I
 create the transaction error (maybe a not well closed transaction or
 other) but I need to understand HOW TO RECOVER a DB that generate the
 error at point 5 THAT DOES NOT START ANYMORE. :-(

 Thank you for your support !

 Regards !

 Gian Luca Farina Perseu
 Torino - Italy
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




 --
 Mattias Persson, [matt...@neotechnology.com]
 Hacker, Neo Technology
 www.neotechnology.com
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Calculating shortest paths in a large graph

2011-01-31 Thread Tobias Ivarsson
Much better, I'll have a look at this tonight.

-tobias

On Mon, Jan 31, 2011 at 4:35 PM, Saikat Kanjilal sxk1...@hotmail.comwrote:


 Tobias,I apologize, I am creating the zips on the command line and they
 appear to be flaky, I am attaching the database zip file again, can you take
 a look and let me know if this is ok.  I will see if I can put the heap file
 on dropbox and send it across.Thanks in advance

  From: tobias.ivars...@neotechnology.com
  Date: Mon, 31 Jan 2011 16:26:33 +0100
  To: user@lists.neo4j.org
  Subject: Re: [Neo4j] Calculating shortest paths in a large graph
 
  Since you have not sent a heap dump file (what you have sent is a stack
  trace, and they aren't very useful on OOME), what I would need to do is
 to
  recreate your database from your xml-file (the database zip you sent was
  empty), and rerun your code on that to reproduce the problem.
 
  I have not had time to do that yet.
 
  If you could send the actual *.hprof-file that is written to the working
  directory of the java process when the OutOfMemoryError occurs (if you've
  started the jvm with -XX:+HeapDumpOnOutOfMemoryError) then I could
 analyze
  this quicker. If the file is too large to send as an e-mail attachment
  perhaps you could upload it to dropbox or similar. Otherwise I'll let you
  know when I've had time to recreate your database and analyze the
 problem.
 
  -tobias
 
  On Mon, Jan 31, 2011 at 4:13 PM, Saikat Kanjilal sxk1...@hotmail.com
 wrote:
 
  
   Tobias/Michael et al,I was wondering if you guys had a chance to do
 some
   more analysis on this heap space issue, I have sent you the zipped up
   contents of part of the heap dump file problem report, the graph
 directory
   and parts of the code.  Additionally I am also sending the spring
   configuration files and the web services code zipped up in this email.
Yesterday I increased the heap size to be really large and the process
 ran
   for about 10 minutes to calculate the shortest path without arriving at
 the
   answer.
  
   Let me know if I am missing something obvious.Regards
  
From: michael.hun...@neotechnology.com
Date: Sun, 30 Jan 2011 17:19:46 +0100
To: user@lists.neo4j.org
Subject: Re: [Neo4j] Calculating shortest paths in a large graph
   
You can also zip the graph database directory and send it to me or
   tobias.
   
Do you run the algorithm just after the insertion of the data or in a
   separate run?
   
Thanks
   
Michael
   
Am 30.01.2011 um 16:44 schrieb Saikat Kanjilal:
   

 Looks like the heap dump file didn't come across in my post, so
 here's
   the heap dump:








 java.lang.OutOfMemoryError: Java heap space
 at org.neo4j.kernel.impl.util.ArrayMap.put(ArrayMap.java:75)
 at
  
 org.neo4j.kernel.impl.nioneo.xa.ReadTransaction.relGetProperties(ReadTransaction.java:157)
 at
  
 org.neo4j.kernel.impl.nioneo.xa.NioNeoDbPersistenceSource$ReadOnlyResourceConnection.relLoadProperties(NioNeoDbPersistenceSource.java:255)
 at
  
 org.neo4j.kernel.impl.persistence.PersistenceManager.loadRelProperties(PersistenceManager.java:113)
 at
  
 org.neo4j.kernel.impl.core.NodeManager.loadProperties(NodeManager.java:638)
 at
  
 org.neo4j.kernel.impl.core.RelationshipImpl.loadProperties(RelationshipImpl.java:88)
 at
  
 org.neo4j.kernel.impl.core.Primitive.ensureFullProperties(Primitive.java:574)
 at
   org.neo4j.kernel.impl.core.Primitive.getProperty(Primitive.java:141)
 at
  
 org.neo4j.kernel.impl.core.RelationshipProxy.getProperty(RelationshipProxy.java:91)
 at
  
 org.neo4j.graphalgo.impl.util.DoubleEvaluator.getCost(DoubleEvaluator.java:39)
 at
  
 org.neo4j.graphalgo.impl.util.DoubleEvaluator.getCost(DoubleEvaluator.java:27)
 at
  
 org.neo4j.graphalgo.impl.path.Dijkstra$SelectorFactory.calculateValue(Dijkstra.java:101)
 at
  
 org.neo4j.graphalgo.impl.path.Dijkstra$SelectorFactory.calculateValue(Dijkstra.java:89)
 at
  
 org.neo4j.graphalgo.impl.util.BestFirstSelectorFactory$BestFirstSelector.next(BestFirstSelectorFactory.java:67)
 at
  
 org.neo4j.kernel.impl.traversal.TraverserImpl$TraverserIterator.fetchNextOrNull(TraverserImpl.java:128)
 at
  
 org.neo4j.kernel.impl.traversal.TraverserImpl$TraverserIterator.fetchNextOrNull(TraverserImpl.java:95)
 at
  
 org.neo4j.helpers.collection.PrefetchingIterator.hasNext(PrefetchingIterator.java:56)
 at
  
 org.neo4j.graphalgo.impl.util.StopAfterWeightIterator.fetchNextOrNull(StopAfterWeightIterator.java:46)
 at
  
 org.neo4j.graphalgo.impl.util.StopAfterWeightIterator.fetchNextOrNull(StopAfterWeightIterator.java:30)
 at
  
 org.neo4j.helpers.collection.PrefetchingIterator.hasNext(PrefetchingIterator.java:56)
 at
   org.neo4j.graphalgo.impl.path.Dijkstra.findSinglePath(Dijkstra.java:86)
 at
   

Re: [Neo4j] Calculating shortest paths in a large graph

2011-01-31 Thread Saikat Kanjilal

Thanks and btw here's a public link to my dropbox heap dump file.
http://dl.dropbox.com/u/20014383/java_pid590.hprof
Hope this helps.Regards

 From: tobias.ivars...@neotechnology.com
 Date: Mon, 31 Jan 2011 16:44:28 +0100
 To: user@lists.neo4j.org
 Subject: Re: [Neo4j] Calculating shortest paths in a large graph
 
 Much better, I'll have a look at this tonight.
 
 -tobias
 
 On Mon, Jan 31, 2011 at 4:35 PM, Saikat Kanjilal sxk1...@hotmail.comwrote:
 
 
  Tobias,I apologize, I am creating the zips on the command line and they
  appear to be flaky, I am attaching the database zip file again, can you take
  a look and let me know if this is ok.  I will see if I can put the heap file
  on dropbox and send it across.Thanks in advance
 
   From: tobias.ivars...@neotechnology.com
   Date: Mon, 31 Jan 2011 16:26:33 +0100
   To: user@lists.neo4j.org
   Subject: Re: [Neo4j] Calculating shortest paths in a large graph
  
   Since you have not sent a heap dump file (what you have sent is a stack
   trace, and they aren't very useful on OOME), what I would need to do is
  to
   recreate your database from your xml-file (the database zip you sent was
   empty), and rerun your code on that to reproduce the problem.
  
   I have not had time to do that yet.
  
   If you could send the actual *.hprof-file that is written to the working
   directory of the java process when the OutOfMemoryError occurs (if you've
   started the jvm with -XX:+HeapDumpOnOutOfMemoryError) then I could
  analyze
   this quicker. If the file is too large to send as an e-mail attachment
   perhaps you could upload it to dropbox or similar. Otherwise I'll let you
   know when I've had time to recreate your database and analyze the
  problem.
  
   -tobias
  
   On Mon, Jan 31, 2011 at 4:13 PM, Saikat Kanjilal sxk1...@hotmail.com
  wrote:
  
   
Tobias/Michael et al,I was wondering if you guys had a chance to do
  some
more analysis on this heap space issue, I have sent you the zipped up
contents of part of the heap dump file problem report, the graph
  directory
and parts of the code.  Additionally I am also sending the spring
configuration files and the web services code zipped up in this email.
 Yesterday I increased the heap size to be really large and the process
  ran
for about 10 minutes to calculate the shortest path without arriving at
  the
answer.
   
Let me know if I am missing something obvious.Regards
   
 From: michael.hun...@neotechnology.com
 Date: Sun, 30 Jan 2011 17:19:46 +0100
 To: user@lists.neo4j.org
 Subject: Re: [Neo4j] Calculating shortest paths in a large graph

 You can also zip the graph database directory and send it to me or
tobias.

 Do you run the algorithm just after the insertion of the data or in a
separate run?

 Thanks

 Michael

 Am 30.01.2011 um 16:44 schrieb Saikat Kanjilal:

 
  Looks like the heap dump file didn't come across in my post, so
  here's
the heap dump:
 
 
 
 
 
 
 
 
  java.lang.OutOfMemoryError: Java heap space
  at org.neo4j.kernel.impl.util.ArrayMap.put(ArrayMap.java:75)
  at
   
  org.neo4j.kernel.impl.nioneo.xa.ReadTransaction.relGetProperties(ReadTransaction.java:157)
  at
   
  org.neo4j.kernel.impl.nioneo.xa.NioNeoDbPersistenceSource$ReadOnlyResourceConnection.relLoadProperties(NioNeoDbPersistenceSource.java:255)
  at
   
  org.neo4j.kernel.impl.persistence.PersistenceManager.loadRelProperties(PersistenceManager.java:113)
  at
   
  org.neo4j.kernel.impl.core.NodeManager.loadProperties(NodeManager.java:638)
  at
   
  org.neo4j.kernel.impl.core.RelationshipImpl.loadProperties(RelationshipImpl.java:88)
  at
   
  org.neo4j.kernel.impl.core.Primitive.ensureFullProperties(Primitive.java:574)
  at
org.neo4j.kernel.impl.core.Primitive.getProperty(Primitive.java:141)
  at
   
  org.neo4j.kernel.impl.core.RelationshipProxy.getProperty(RelationshipProxy.java:91)
  at
   
  org.neo4j.graphalgo.impl.util.DoubleEvaluator.getCost(DoubleEvaluator.java:39)
  at
   
  org.neo4j.graphalgo.impl.util.DoubleEvaluator.getCost(DoubleEvaluator.java:27)
  at
   
  org.neo4j.graphalgo.impl.path.Dijkstra$SelectorFactory.calculateValue(Dijkstra.java:101)
  at
   
  org.neo4j.graphalgo.impl.path.Dijkstra$SelectorFactory.calculateValue(Dijkstra.java:89)
  at
   
  org.neo4j.graphalgo.impl.util.BestFirstSelectorFactory$BestFirstSelector.next(BestFirstSelectorFactory.java:67)
  at
   
  org.neo4j.kernel.impl.traversal.TraverserImpl$TraverserIterator.fetchNextOrNull(TraverserImpl.java:128)
  at
   
  org.neo4j.kernel.impl.traversal.TraverserImpl$TraverserIterator.fetchNextOrNull(TraverserImpl.java:95)
  at
   
  org.neo4j.helpers.collection.PrefetchingIterator.hasNext(PrefetchingIterator.java:56)
  at
   
  

Re: [Neo4j] Neo4j is moving to git

2011-01-31 Thread Tobias Ivarsson
I am pleased to announce that we have now pushed the first repository to
Github: https://github.com/neo4j/graphdb
This repository contains the embedded components for the Neo4j Graph
Database.
Later during the day/evening we will be pushing the repositories for the
Neo4j Graph Database Server, and some of the Neo4j tools.

We will also be publishing a blog post on how we managed to migrate full
blame history for all files. This helps tremendously when tracking changes
back to subversion, since that will remain online in read only mode. We had
some challenges with migrating histories, but in the end git was even more
helpful than we had hoped, and I believe our experiences will be useful to
others as well.

Happy hacking!
-- 
Tobias Ivarsson tobias.ivars...@neotechnology.com
Hacker, Neo Technology
www.neotechnology.com
Cellphone: +46 706 534857
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Calculating shortest paths in a large graph

2011-01-31 Thread Tobias Ivarsson
Yes, that was a large file, I can see how you couldn't send that as an
attachment ;-)
Thanks a lot for powering through and getting this to me, I'll have a look
at it later tonight and let you know what I find.

Cheers,
Tobias

On Mon, Jan 31, 2011 at 4:49 PM, Saikat Kanjilal sxk1...@hotmail.comwrote:


 Thanks and btw here's a public link to my dropbox heap dump file.
 http://dl.dropbox.com/u/20014383/java_pid590.hprof
 Hope this helps.Regards

  From: tobias.ivars...@neotechnology.com
  Date: Mon, 31 Jan 2011 16:44:28 +0100
  To: user@lists.neo4j.org
  Subject: Re: [Neo4j] Calculating shortest paths in a large graph
 
  Much better, I'll have a look at this tonight.
 
  -tobias
 
  On Mon, Jan 31, 2011 at 4:35 PM, Saikat Kanjilal sxk1...@hotmail.com
 wrote:
 
  
   Tobias,I apologize, I am creating the zips on the command line and they
   appear to be flaky, I am attaching the database zip file again, can you
 take
   a look and let me know if this is ok.  I will see if I can put the heap
 file
   on dropbox and send it across.Thanks in advance
  
From: tobias.ivars...@neotechnology.com
Date: Mon, 31 Jan 2011 16:26:33 +0100
To: user@lists.neo4j.org
Subject: Re: [Neo4j] Calculating shortest paths in a large graph
   
Since you have not sent a heap dump file (what you have sent is a
 stack
trace, and they aren't very useful on OOME), what I would need to do
 is
   to
recreate your database from your xml-file (the database zip you sent
 was
empty), and rerun your code on that to reproduce the problem.
   
I have not had time to do that yet.
   
If you could send the actual *.hprof-file that is written to the
 working
directory of the java process when the OutOfMemoryError occurs (if
 you've
started the jvm with -XX:+HeapDumpOnOutOfMemoryError) then I could
   analyze
this quicker. If the file is too large to send as an e-mail
 attachment
perhaps you could upload it to dropbox or similar. Otherwise I'll let
 you
know when I've had time to recreate your database and analyze the
   problem.
   
-tobias
   
On Mon, Jan 31, 2011 at 4:13 PM, Saikat Kanjilal 
 sxk1...@hotmail.com
   wrote:
   

 Tobias/Michael et al,I was wondering if you guys had a chance to do
   some
 more analysis on this heap space issue, I have sent you the zipped
 up
 contents of part of the heap dump file problem report, the graph
   directory
 and parts of the code.  Additionally I am also sending the spring
 configuration files and the web services code zipped up in this
 email.
  Yesterday I increased the heap size to be really large and the
 process
   ran
 for about 10 minutes to calculate the shortest path without
 arriving at
   the
 answer.

 Let me know if I am missing something obvious.Regards

  From: michael.hun...@neotechnology.com
  Date: Sun, 30 Jan 2011 17:19:46 +0100
  To: user@lists.neo4j.org
  Subject: Re: [Neo4j] Calculating shortest paths in a large graph
 
  You can also zip the graph database directory and send it to me
 or
 tobias.
 
  Do you run the algorithm just after the insertion of the data or
 in a
 separate run?
 
  Thanks
 
  Michael
 
  Am 30.01.2011 um 16:44 schrieb Saikat Kanjilal:
 
  
   Looks like the heap dump file didn't come across in my post, so
   here's
 the heap dump:
  
  
  
  
  
  
  
  
   java.lang.OutOfMemoryError: Java heap space
   at
 org.neo4j.kernel.impl.util.ArrayMap.put(ArrayMap.java:75)
   at

  
 org.neo4j.kernel.impl.nioneo.xa.ReadTransaction.relGetProperties(ReadTransaction.java:157)
   at

  
 org.neo4j.kernel.impl.nioneo.xa.NioNeoDbPersistenceSource$ReadOnlyResourceConnection.relLoadProperties(NioNeoDbPersistenceSource.java:255)
   at

  
 org.neo4j.kernel.impl.persistence.PersistenceManager.loadRelProperties(PersistenceManager.java:113)
   at

  
 org.neo4j.kernel.impl.core.NodeManager.loadProperties(NodeManager.java:638)
   at

  
 org.neo4j.kernel.impl.core.RelationshipImpl.loadProperties(RelationshipImpl.java:88)
   at

  
 org.neo4j.kernel.impl.core.Primitive.ensureFullProperties(Primitive.java:574)
   at

 org.neo4j.kernel.impl.core.Primitive.getProperty(Primitive.java:141)
   at

  
 org.neo4j.kernel.impl.core.RelationshipProxy.getProperty(RelationshipProxy.java:91)
   at

  
 org.neo4j.graphalgo.impl.util.DoubleEvaluator.getCost(DoubleEvaluator.java:39)
   at

  
 org.neo4j.graphalgo.impl.util.DoubleEvaluator.getCost(DoubleEvaluator.java:27)
   at

  
 org.neo4j.graphalgo.impl.path.Dijkstra$SelectorFactory.calculateValue(Dijkstra.java:101)
   at

  
 org.neo4j.graphalgo.impl.path.Dijkstra$SelectorFactory.calculateValue(Dijkstra.java:89)
   at

  
 

[Neo4j] Neo4j + MapReduce

2011-01-31 Thread yehohanan7

Hi All,
I am a neo4j newbie and haven't yet started to use it. I am basically trying
to implement a recommendation engine to learn and understand machine
learning algorithms so thought neo4j would be a great choice.
however, I just want to understand if mapreduce feature will be provided to
process the data stored in neo4j? i might be completely wrong in putting
this question but what if i have an use-case where i don't need to traverse
but process all the nodes irrespective of its relation to other nodes? Is it
a wise idea to store data on a document database and relations/associations
in neo4j?

or should it be done as a batch processing where huge amount of data in a
document database and run map-reduce on it to build neo4j DB as a daily job? 
I am new to mapreduce and grapdb, but trying to see how best i can use
(learn) them as both has unique features...  

Thanks in advance,
John
-- 
View this message in context: 
http://neo4j-user-list.438527.n3.nabble.com/Neo4j-MapReduce-tp2389817p2389817.html
Sent from the Neo4J User List mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Unrecovable transaction error

2011-01-31 Thread Mattias Persson
Thanks Gian for the logs... You've run into a bug in the lucene-index
implementation which I now have fixed. If you update to the latest SNAPSHOT
of Neo4j and run the recovery process on your db again it should work.
However, since the Neo4j repository just moved to github the buildbox isn't
right where it should be so snapshots aren't built a.t.m. But I'll notify
you as soon as that's back on track.

Best,
Mattias

2011/1/31 Gian Luca Farina Perseu farinaper...@gmail.com

 Hi Mattias,

 I'll send you in next minutes, in your personal email, the log required.

 Regards.

 Gian Luca

 On Sun, Jan 30, 2011 at 8:11 PM, Mattias Persson
 matt...@neotechnology.com wrote:
  Hi Gian,
 
  could you please supply the contents of messages.log found in your
 neo4j
  database directory? It seems like the indexing jar files are missing or
  fails to load at the time of recovery. The messages.log file can give
 hints
  about the problem.
 
  2011/1/29 Gian Luca Farina Perseu farinaper...@gmail.com
 
  Hi to all,
 
  we recently (for 2nd time) engaged a transaction error using neo4j
  embedded.
 
  We need to investigate well about this error origin, BUT I need to
  understand how to resolve the following error:
 
  java.lang.RuntimeException: No mapping found for branchId[0x162374]
 
  The steps:
 
  1) two users work on the application
  2) one user receive a transaction error (sorry, not traced ..
  maybe an error on begin transaction)
  3) shutting down the server (as usual)
  4) restarting the server
  5) receiving the error:
 
   java.lang.RuntimeException: No mapping found for branchId[0x162374]
 at
 
 com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jGraph.init(Neo4jGraph.java:58)
 at
 
 com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jGraph.init(Neo4jGraph.java:31)
 ..
  Caused by: org.neo4j.graphdb.TransactionFailureException: No mapping
  found for branchId[0x162374]
 at
 
 org.neo4j.kernel.impl.transaction.XaDataSourceManager.getXaResource(XaDataSourceManager.java:186)
 at
 
 org.neo4j.kernel.impl.transaction.TxManager.getXaResource(TxManager.java:933)
 at
 
 org.neo4j.kernel.impl.transaction.TxManager.buildRecoveryInfo(TxManager.java:414)
 at
  org.neo4j.kernel.impl.transaction.TxManager.recover(TxManager.java:255)
 at
  org.neo4j.kernel.impl.transaction.TxManager.init(TxManager.java:181)
 at
  org.neo4j.kernel.impl.transaction.TxModule.start(TxModule.java:85)
 at
 org.neo4j.kernel.GraphDbInstance.start(GraphDbInstance.java:156)
 at
 
 org.neo4j.kernel.EmbeddedGraphDbImpl.init(EmbeddedGraphDbImpl.java:167)
 at
 
 org.neo4j.kernel.EmbeddedGraphDatabase.init(EmbeddedGraphDatabase.java:81)
 at
 
 org.neo4j.kernel.EmbeddedGraphDatabase.init(EmbeddedGraphDatabase.java:65)
 at
 
 com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jGraph.init(Neo4jGraph.java:41)
 ... 7 more
 
  We are (still) working on Neo4j 1.2M04 thru Blueprints.
 
  I dont want to understand (in this help request) why and where I
  create the transaction error (maybe a not well closed transaction or
  other) but I need to understand HOW TO RECOVER a DB that generate the
  error at point 5 THAT DOES NOT START ANYMORE. :-(
 
  Thank you for your support !
 
  Regards !
 
  Gian Luca Farina Perseu
  Torino - Italy
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 
 
 
  --
  Mattias Persson, [matt...@neotechnology.com]
  Hacker, Neo Technology
  www.neotechnology.com
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




-- 
Mattias Persson, [matt...@neotechnology.com]
Hacker, Neo Technology
www.neotechnology.com
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Neo4j + MapReduce

2011-01-31 Thread Peter Neubauer
John,
Paddy Fitzgerald has been doing some great work on this theme, see
https://github.com/paddydub/NeoHadoopTester for details. Paddy, do you
have any additional pointers?

Cheers,

/peter neubauer

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org               - Your high performance graph database.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Mon, Jan 31, 2011 at 5:03 PM, yehohanan7 yehohan...@gmail.com wrote:

 Hi All,
 I am a neo4j newbie and haven't yet started to use it. I am basically trying
 to implement a recommendation engine to learn and understand machine
 learning algorithms so thought neo4j would be a great choice.
 however, I just want to understand if mapreduce feature will be provided to
 process the data stored in neo4j? i might be completely wrong in putting
 this question but what if i have an use-case where i don't need to traverse
 but process all the nodes irrespective of its relation to other nodes? Is it
 a wise idea to store data on a document database and relations/associations
 in neo4j?

 or should it be done as a batch processing where huge amount of data in a
 document database and run map-reduce on it to build neo4j DB as a daily job?
 I am new to mapreduce and grapdb, but trying to see how best i can use
 (learn) them as both has unique features...

 Thanks in advance,
 John
 --
 View this message in context: 
 http://neo4j-user-list.438527.n3.nabble.com/Neo4j-MapReduce-tp2389817p2389817.html
 Sent from the Neo4J User List mailing list archive at Nabble.com.
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] help!

2011-01-31 Thread Anders Nawroth
Hi!

 I downloaded the newest version of the project to compile it in Eclipse.

Exactly what did you download? Your question would be so much easier to 
answer if we know what you are trying to build.


/anders

 What do I need to do?
 Thank you very much!
 Na Meng

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Unrecovable transaction error

2011-01-31 Thread Anders Nawroth
Hi!

The build just succeeded. You can download the snapshots from here:

http://neo4j.org/get?file=neo4j-1.3-SNAPSHOT-unix.tar.gz
http://neo4j.org/get?file=neo4j-1.3-SNAPSHOT-windows.zip

The individual jar files can also be found in this Maven repository:

http://m2.neo4j.org/snapshots/

/anders

2011-01-31 19:18, Gian Luca Farina Perseu skrev:
 Thank you very much Mattias ... I'll wait for your notification !

 Regards.

 Gianluca

 On Mon, Jan 31, 2011 at 5:21 PM, Mattias Persson
 matt...@neotechnology.comwrote:

 Thanks Gian for the logs... You've run into a bug in the lucene-index
 implementation which I now have fixed. If you update to the latest SNAPSHOT
 of Neo4j and run the recovery process on your db again it should work.
 However, since the Neo4j repository just moved to github the buildbox isn't
 right where it should be so snapshots aren't built a.t.m. But I'll notify
 you as soon as that's back on track.

 Best,
 Mattias

 2011/1/31 Gian Luca Farina Perseufarinaper...@gmail.com

 Hi Mattias,

 I'll send you in next minutes, in your personal email, the log required.

 Regards.

 Gian Luca

 On Sun, Jan 30, 2011 at 8:11 PM, Mattias Persson
 matt...@neotechnology.com  wrote:
 Hi Gian,

 could you please supply the contents of messages.log found in your
 neo4j
 database directory? It seems like the indexing jar files are missing or
 fails to load at the time of recovery. The messages.log file can give
 hints
 about the problem.

 2011/1/29 Gian Luca Farina Perseufarinaper...@gmail.com

 Hi to all,

 we recently (for 2nd time) engaged a transaction error using neo4j
 embedded.

 We need to investigate well about this error origin, BUT I need to
 understand how to resolve the following error:

 java.lang.RuntimeException: No mapping found for branchId[0x162374]

 The steps:

 1) two users work on the application
 2) one user receive a transaction error (sorry, not traced ..
 maybe an error on begin transaction)
 3) shutting down the server (as usual)
 4) restarting the server
 5) receiving the error:

   java.lang.RuntimeException: No mapping found for branchId[0x162374]
 at


 com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jGraph.init(Neo4jGraph.java:58)
 at


 com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jGraph.init(Neo4jGraph.java:31)
 ..
 Caused by: org.neo4j.graphdb.TransactionFailureException: No mapping
 found for branchId[0x162374]
 at


 org.neo4j.kernel.impl.transaction.XaDataSourceManager.getXaResource(XaDataSourceManager.java:186)
 at


 org.neo4j.kernel.impl.transaction.TxManager.getXaResource(TxManager.java:933)
 at


 org.neo4j.kernel.impl.transaction.TxManager.buildRecoveryInfo(TxManager.java:414)
 at

 org.neo4j.kernel.impl.transaction.TxManager.recover(TxManager.java:255)
 at
 org.neo4j.kernel.impl.transaction.TxManager.init(TxManager.java:181)
 at
 org.neo4j.kernel.impl.transaction.TxModule.start(TxModule.java:85)
 at
 org.neo4j.kernel.GraphDbInstance.start(GraphDbInstance.java:156)
 at

 org.neo4j.kernel.EmbeddedGraphDbImpl.init(EmbeddedGraphDbImpl.java:167)
 at


 org.neo4j.kernel.EmbeddedGraphDatabase.init(EmbeddedGraphDatabase.java:81)
 at


 org.neo4j.kernel.EmbeddedGraphDatabase.init(EmbeddedGraphDatabase.java:65)
 at


 com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jGraph.init(Neo4jGraph.java:41)
 ... 7 more

 We are (still) working on Neo4j 1.2M04 thru Blueprints.

 I dont want to understand (in this help request) why and where I
 create the transaction error (maybe a not well closed transaction or
 other) but I need to understand HOW TO RECOVER a DB that generate the
 error at point 5 THAT DOES NOT START ANYMORE. :-(

 Thank you for your support !

 Regards !

 Gian Luca Farina Perseu
 Torino - Italy
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




 --
 Mattias Persson, [matt...@neotechnology.com]
 Hacker, Neo Technology
 www.neotechnology.com
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




 --
 Mattias Persson, [matt...@neotechnology.com]
 Hacker, Neo Technology
 www.neotechnology.com
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Neo4j is moving to git

2011-01-31 Thread Anders Nawroth
Hi!

 Later during the day/evening we will be pushing the repositories for the
 Neo4j Graph Database Server, and some of the Neo4j tools.

For your information, pushing more repositories was postponed until 
tomorrow. Instead, we got the continuous integration running again for 
the Neo4j Graph Database (that is https://github.com/neo4j/graphdb) 
project as well as the Neo4j Shell (project located at 
https://github.com/neo4j/shell).


/anders
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] neo4j 1.1 Download? -- for Use with Current Python Bindings

2011-01-31 Thread James Thornton
Since the current python bindings only work with neo4j 1.1 (as per
this bug report https://trac.neo4j.org/ticket/302 and
http://wiki.neo4j.org/content/Getting_Started_With_Python), where can
you download neo4j 1.1 in the meantime until the python bindings are
updated?
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Neo4j + MapReduce

2011-01-31 Thread Paddy
Hi,

Would you like to create map-reduce views using only the graph nodes?

That would be very interesting. Could you maybe provide a sample map-reduce
process?


One possibility might be to store all the data in a neo4j graph.

Run the batch processing on the graph using multiple Mappers

and build a new neo4j graph in one Reducer.


Regards,

Paddy



On Mon, Jan 31, 2011 at 8:43 AM, Saikat Kanjilal sxk1...@hotmail.comwrote:


 John,If you havent already take a look at some of the algorithms in mahout,
 they are currently using hadoop (http://mahout.apache.org) and it may be
 the case where some of their algorithms are taylored more towards hadoop
 style data-stores.
 Regards

  Date: Mon, 31 Jan 2011 17:34:25 +0100
  From: peter.neuba...@neotechnology.com
  To: user@lists.neo4j.org
  Subject: Re: [Neo4j] Neo4j + MapReduce
 
  John,
  Paddy Fitzgerald has been doing some great work on this theme, see
  https://github.com/paddydub/NeoHadoopTester for details. Paddy, do you
  have any additional pointers?
 
  Cheers,
 
  /peter neubauer
 
  GTalk:  neubauer.peter
  Skype   peter.neubauer
  Phone   +46 704 106975
  LinkedIn   http://www.linkedin.com/in/neubauer
  Twitter  http://twitter.com/peterneubauer
 
  http://www.neo4j.org   - Your high performance graph
 database.
  http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
 
 
 
  On Mon, Jan 31, 2011 at 5:03 PM, yehohanan7 yehohan...@gmail.com
 wrote:
  
   Hi All,
   I am a neo4j newbie and haven't yet started to use it. I am basically
 trying
   to implement a recommendation engine to learn and understand machine
   learning algorithms so thought neo4j would be a great choice.
   however, I just want to understand if mapreduce feature will be
 provided to
   process the data stored in neo4j? i might be completely wrong in
 putting
   this question but what if i have an use-case where i don't need to
 traverse
   but process all the nodes irrespective of its relation to other nodes?
 Is it
   a wise idea to store data on a document database and
 relations/associations
   in neo4j?
  
   or should it be done as a batch processing where huge amount of data in
 a
   document database and run map-reduce on it to build neo4j DB as a daily
 job?
   I am new to mapreduce and grapdb, but trying to see how best i can use
   (learn) them as both has unique features...
  
   Thanks in advance,
   John
   --
   View this message in context:
 http://neo4j-user-list.438527.n3.nabble.com/Neo4j-MapReduce-tp2389817p2389817.html
   Sent from the Neo4J User List mailing list archive at Nabble.com.
   ___
   Neo4j mailing list
   User@lists.neo4j.org
   https://lists.neo4j.org/mailman/listinfo/user
  
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Spring Data Graph - Neo4j Support 1.0.0.M2 Released

2011-01-31 Thread Peter Neubauer
Hi everyone,

I'm happy to announce the second milestone release of Spring Data Graph 1.0
project with Neo4j support.

In this M2 release we provide these improvements:

* Simplified annotation driven programming model for Neo4j applications
* Strategy to handle representation of java types in the graph
* AspectJ ITD backed field mapping for plain Java objects
* Annotations for graph persistence
* Support for building traversal descriptions
* Support for cross-store persistence including basic transaction support
* Abstract configuration class

See the official announcement at http://www.springsource.org/node/3012

Feedback welcome!
--
Thomas Risberg
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user