maxdemarzi / cypher_batch_writer Goto Github PK
View Code? Open in Web Editor NEWLet's try batching some cypher queries
License: MIT License
Let's try batching some cypher queries
License: MIT License
After follow your instructions to install and run your plugin on neo4j I got the following exception:
Starting Neo4j failed: com/maxdemarzi/Service : Unsupported major.minor version 52.0
I am using latest java8 version and Neo4j instace 3.2 on Mac.
Managed to build your project locally and take the jar:
Running com.maxdemarzi.ServiceTest
Mar 20, 2016 4:37:18 PM com.maxdemarzi.BatchWriterService
INFO: Started BatchWriterService
Mar 20, 2016 4:37:18 PM com.maxdemarzi.BatchWriterService
INFO: Started BatchWriterService
Mar 20, 2016 4:37:18 PM com.maxdemarzi.BatchWriterService
INFO: Started BatchWriterService
Mar 20, 2016 4:37:18 PM com.maxdemarzi.BatchWriterService
INFO: Started BatchWriterService
Mar 20, 2016 4:37:18 PM com.maxdemarzi.BatchWriterService
INFO: Started BatchWriterService
Mar 20, 2016 4:37:18 PM com.maxdemarzi.BatchWriterService
INFO: Started BatchWriterService
Mar 20, 2016 4:37:18 PM com.maxdemarzi.BatchWriterService
INFO: Started BatchWriterService
Mar 20, 2016 4:37:18 PM com.maxdemarzi.BatchWriterService
INFO: Started BatchWriterService
Mar 20, 2016 4:37:20 PM com.maxdemarzi.BatchWriterService runOneIteration
SEVERE: Error Executing Cypher Statement: {statement=ETAERC (u:User {user_id: {user_id} }), parameters={user_id=-87762391}}
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.847 sec
Results :
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ cypher_batch_writer ---
[INFO] Building jar: /Users/idan/IdeaProjects/cypher_batch_writer/target/cypher_batch_writer-1.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.952 s
[INFO] Finished at: 2016-03-20T16:37:27+02:00
[INFO] Final Memory: 32M/325M
[INFO] ------------------------------------------------------------------------
Any idea what's wrong ?
I noticed that there isn't a way to now if a batch failed, since once it's registered into the queue, a 200 status code is returned. I was thinking about, instead of returning a 200 status code, return 201 and some id that relates to the created batch. So you can query /services//batch/<id>
and get the status of this transaction.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.