Skip to content

Conversation

@nezihyigitbasi
Copy link
Contributor

Reads of the finishCalled variable are properly synchronized, but writes are not -- so there's some sort of inconsistent synch. going on here. This PR fixes that.

/cc @rdblue can you please take a look?

@rdblue
Copy link
Contributor

rdblue commented Apr 17, 2016

@nezihyigitbasi, looks like the compatibility check is catching this change. It's not a binary incompatible change according to the Oracle docs, so it should be safe to add a temporary exclusion for this in the root pom. Could you add that and then I'll merge? Thanks!

@julienledem
Copy link
Member

I guess another option is to make it a synchronized(this) block inside the method

@nezihyigitbasi
Copy link
Contributor Author

thanks @rdblue, yeah this is a safe change so I excluded it.

@asfgit asfgit closed this in 39a3cd0 Apr 25, 2016
piyushnarang pushed a commit to piyushnarang/parquet-mr that referenced this pull request Jun 15, 2016
Reads of the `finishCalled` variable are properly synchronized, but writes are not -- so there's some sort of inconsistent synch. going on here. This PR fixes that.

/cc @rdblue can you please take a look?

Author: Nezih Yigitbasi <nyigitbasi@netflix.com>

Closes apache#334 from nezihyigitbasi/sc-synch-fix and squashes the following commits:

a85cf0c [Nezih Yigitbasi] Synchronize writes to the finishCalled variable
rdblue pushed a commit to rdblue/parquet-mr that referenced this pull request Jan 6, 2017
Reads of the `finishCalled` variable are properly synchronized, but writes are not -- so there's some sort of inconsistent synch. going on here. This PR fixes that.

/cc @rdblue can you please take a look?

Author: Nezih Yigitbasi <nyigitbasi@netflix.com>

Closes apache#334 from nezihyigitbasi/sc-synch-fix and squashes the following commits:

a85cf0c [Nezih Yigitbasi] Synchronize writes to the finishCalled variable
rdblue pushed a commit to rdblue/parquet-mr that referenced this pull request Jan 10, 2017
Reads of the `finishCalled` variable are properly synchronized, but writes are not -- so there's some sort of inconsistent synch. going on here. This PR fixes that.

/cc @rdblue can you please take a look?

Author: Nezih Yigitbasi <nyigitbasi@netflix.com>

Closes apache#334 from nezihyigitbasi/sc-synch-fix and squashes the following commits:

a85cf0c [Nezih Yigitbasi] Synchronize writes to the finishCalled variable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants