Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileAlreadyExistException when writing tachyon table #339

Merged
merged 8 commits into from
Oct 2, 2014

Conversation

shimingfei
Copy link
Contributor

currently Shark write data into Tachyon table directly by RAWTable interface in Tachyon.
when speculation execution is on, it throws FileAlreadyExistException because two tasks attempts to write same partition into Tachyon table
the approach to solve the problem is first write output of each task into a temp folder, then commit the result when the task ends. just like write to HDFS.

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@GraceH
Copy link

GraceH commented Jun 24, 2014

yes. This fix is quite important in the speculative run. Otherwise, 2 conflict writes are working on the same target. any idea?

@haoyuan
Copy link
Member

haoyuan commented Sep 16, 2014

@aarondav can you take a look at this?

@haoyuan
Copy link
Member

haoyuan commented Sep 16, 2014

@aarondav , @rxin did this at. :)

@aarondav
Copy link
Contributor

LGTM, @rxin please merge!

rxin added a commit that referenced this pull request Oct 2, 2014
FileAlreadyExistException when writing tachyon table
@rxin rxin merged commit 662d5ba into amplab:master Oct 2, 2014
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.

None yet

6 participants