Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Rest API issue
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Peter Neubauer  
View profile  
 More options Sep 11 2012, 2:50 am
From: Peter Neubauer <peter.neuba...@neotechnology.com>
Date: Tue, 11 Sep 2012 08:50:15 +0200
Local: Tues, Sep 11 2012 2:50 am
Subject: Re: [Neo4j] Rest API issue
Sudhakar,
first, the impl over REST sounds a bit expensive roundtrip-wise.
Secondly, could you extract a simple test that gets this problem? I
think it might be that since you are using the iterator index hits,
the second time, it is already empty?

Cheers,

/peter neubauer

Neo4j 1.8.RC1 "Vindeln Vy" -
http://blog.neo4j.org/2012/09/neo4j-18rc1-really-careful-ftw.html

G:  neubauer.peter
S:  peter.neubauer
P:  +46 704 106975
L:   http://www.linkedin.com/in/neubauer
T:   @peterneubauer

Wanna learn something new? Come to @graphconnect.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sudhakar G  
View profile  
 More options Sep 11 2012, 4:22 am
From: Sudhakar G <sudhakar.t...@gmail.com>
Date: Tue, 11 Sep 2012 01:22:35 -0700 (PDT)
Local: Tues, Sep 11 2012 4:22 am
Subject: Re: [Neo4j] Rest API issue

Hi Peter,

We are fine with the round trip delay as we have multiple services
connecting to the same Neo4j node and communicating through REST API is the
only way in which that can be done(Correct me if am wrong).

Secondly, the same vertex is being queried multiple times.
So the result should be consistent across all the calls.
Here is my sample code.
*
*
* Index<Vertex> sampleIndex= indexableGraph.getIndex(*
* indexName, Vertex.class);*
*
*
*
*
* Vertex sampleVertex= IteratorUtil.getSingle(sampleIndex.get(*
* index, indexValue)*
* .iterator());*

The same is being called multiple times in a single transaction with the
same value.
For first call, everything is fine.
But for the second call, the below exception is coming......


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Hunger  
View profile  
 More options Sep 11 2012, 7:25 am
From: Michael Hunger <michael.hun...@neotechnology.com>
Date: Tue, 11 Sep 2012 14:23:44 +0300
Local: Tues, Sep 11 2012 7:23 am
Subject: Re: [Neo4j] Rest API issue
Which versions are you using? (neo4j, batch-rest-api)

Do you use batching or tx boundaries (in the newer versions of the java-rest-binding?)

If so, your requests are batched and only be available after tx.finish() / end of batch callback, to go back to the non-batching tx you should set the system property.

org.neo4j.rest.batch_transactions=false

Michael

Am 11.09.2012 um 08:53 schrieb Sudhakar G:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sudhakar G  
View profile  
 More options Sep 11 2012, 1:10 pm
From: Sudhakar G <sudhakar.t...@gmail.com>
Date: Tue, 11 Sep 2012 10:10:48 -0700 (PDT)
Local: Tues, Sep 11 2012 1:10 pm
Subject: Re: [Neo4j] Rest API issue

Hi Peter,

I am using Blueprints 1.2 over Neo4J database running on 1.8M06.
The rest API Impl version is blueprints-neo4j-graph-1.2.

The problems that I am facing is that sometimes I am able to read
vertex/node from a previously completed transaction and sometimes I am not
able to read the same vertex/node with the same node id.

I am running my application with the
property org.neo4j.rest.batch_transactions set to true.

Also I would like to know if the latest blueprints-neo4j-graph that runs
over blueprints 2.0

Thanks,
Sudhakar Gurram


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Neubauer  
View profile  
 More options Sep 12 2012, 5:06 am
From: Peter Neubauer <peter.neuba...@neotechnology.com>
Date: Wed, 12 Sep 2012 11:05:56 +0200
Local: Wed, Sep 12 2012 5:05 am
Subject: Re: [Neo4j] Rest API issue
Mmh,
can you recreate the test in some way that you can share? Would love
to debug it. I am working on the upgrade to Blueprints 2.1, hope to
get it into master soonish.

Cheers,

/peter neubauer

Neo4j 1.8.RC1 "Vindeln Vy" -
http://blog.neo4j.org/2012/09/neo4j-18rc1-really-careful-ftw.html

G:  neubauer.peter
S:  peter.neubauer
P:  +46 704 106975
L:   http://www.linkedin.com/in/neubauer
T:   @peterneubauer

Wanna learn something new? Come to @graphconnect.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sudhakar Gurram  
View profile  
 More options Sep 12 2012, 5:36 am
From: Sudhakar Gurram <sudhakar.t...@gmail.com>
Date: Wed, 12 Sep 2012 15:06:41 +0530
Local: Wed, Sep 12 2012 5:36 am
Subject: Re: [Neo4j] Rest API issue

Hi Peter,

Could you please let me know when the upgradation to Blueprints 2.1 will be
commited.
If the ETA is within our project deadlines, we will wait for the upgraded
version.

Meanwhile, I will send the modified testcase.

Thanks And Regards,
Sudhakar Gurram

On Wed, Sep 12, 2012 at 2:35 PM, Peter Neubauer <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sudhakar G  
View profile  
 More options Sep 13 2012, 9:51 am
From: Sudhakar G <sudhakar.t...@gmail.com>
Date: Thu, 13 Sep 2012 06:51:12 -0700 (PDT)
Local: Thurs, Sep 13 2012 9:51 am
Subject: Re: [Neo4j] Rest API issue

Hi Peter,

Just came to know that this issue is coming when the same node index is
queried before the previous iterator is closed.
Can you check from that angle and let us know if that is the actual issue.

Also, can you let us know when the REST API impl over blueprints 2.1 would
be committed.

Thanks in Advance..


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Neubauer  
View profile  
 More options Sep 13 2012, 9:59 am
From: Peter Neubauer <neubauer.pe...@gmail.com>
Date: Thu, 13 Sep 2012 15:59:46 +0200
Local: Thurs, Sep 13 2012 9:59 am
Subject: Re: [Neo4j] Rest API issue

Hi there,
The pull requests for the upgrade are now on pulls.neo4j.org, hope to get
it in soon.

/peter

Send from mobile device.
On Sep 13, 2012 3:51 PM, "Sudhakar G" <sudhakar.t...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »