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

Unable to close file exception #80

Closed
zhouhanc opened this issue Nov 17, 2016 · 2 comments
Closed

Unable to close file exception #80

zhouhanc opened this issue Nov 17, 2016 · 2 comments

Comments

@zhouhanc
Copy link

Map-Reduce client stacktrace


16/11/17 01:53:53 INFO mapred.LocalJobRunner: reduce task executor complete.
16/11/17 01:53:53 WARN mapred.LocalJobRunner: job_local1637994627_0001
java.lang.Exception: java.io.IOException: Unable to close file because the last block does not have enough number of replicas.
	at org.apache.hadoop.mapred.LocalJobRunner$Job.runTasks(LocalJobRunner.java:462)
	at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:529)
Caused by: java.io.IOException: Unable to close file because the last block does not have enough number of replicas.
	at org.apache.hadoop.hdfs.DFSOutputStream.completeFile(DFSOutputStream.java:2306)
	at org.apache.hadoop.hdfs.DFSOutputStream.closeImpl(DFSOutputStream.java:2267)
	at org.apache.hadoop.hdfs.DFSOutputStream.close(DFSOutputStream.java:2232)

The problem seems to be the client tries to create a file, but the file is never complete. Very detailed
error message and logic flows can be found here, at Current Issues, No.6

https://docs.google.com/document/d/1zIigUXavAnhtv-6UvkaW-7-PJfCNNIFVAXTQuKr3vbk/edit

@Vegetable26
Copy link
Contributor

Working on this

@zhouhanc
Copy link
Author

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants