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

Error message when writing SCollection of size 0 to hdfs sink. #158

Closed
andrewsmartin opened this issue May 27, 2016 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@andrewsmartin
Copy link
Contributor

andrewsmartin commented May 27, 2016

SDK throws a FileNotFoundException when HadoopWriteOperation tries to finalize, expecting temporary files to be there in all cases.

May 27, 2016, 3:05:37 PM
(430f73e8aa5bd9ce): java.io.FileNotFoundException: File hdfs://[hdfs-path]/_temporary/0 does not exist. at 
org.apache.hadoop.hdfs.DistributedFileSystem.listStatusInternal(DistributedFileSystem.java:795) at 
org.apache.hadoop.hdfs.DistributedFileSystem.access$700(DistributedFileSystem.java:106) at 
org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:853) at 
org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:849) at 
org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) at 
org.apache.hadoop.hdfs.DistributedFileSystem.listStatus(DistributedFileSystem.java:860) at 
org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1515) at 
org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1555) at 
org.apache.hadoop.mapreduce.lib.output.FileOutputCommitter.getAllCommittedTaskPaths(FileOutputCommitter.java:283) at 
org.apache.hadoop.mapreduce.lib.output.FileOutputCommitter.commitJob(FileOutputCommitter.java:325) at 
com.google.cloud.dataflow.contrib.hadoop.HadoopFileSink$HadoopWriteOperation.finalize(HadoopFileSink.java:132) at 
com.google.cloud.dataflow.contrib.hadoop.simpleauth.SimpleAuthHadoopFileSink$SimpleAuthHadoopWriteOperation._finalize(SimpleAuthHadoopFileSink.java:74) at 
com.google.cloud.dataflow.contrib.hadoop.simpleauth.SimpleAuthHadoopFileSink$SimpleAuthHadoopWriteOperation.access$000(SimpleAuthHadoopFileSink.java:51) at 
com.google.cloud.dataflow.contrib.hadoop.simpleauth.SimpleAuthHadoopFileSink$SimpleAuthHadoopWriteOperation$1.run(SimpleAuthHadoopFileSink.java:67) at 
com.google.cloud.dataflow.contrib.hadoop.simpleauth.SimpleAuthHadoopFileSink$SimpleAuthHadoopWriteOperation$1.run(SimpleAuthHadoopFileSink.java:64)
@andrewsmartin andrewsmartin self-assigned this May 27, 2016
@andrewsmartin
Copy link
Contributor Author

Should handle this gracefully without crashing - this should be considered a normal circumstance

@nevillelyh nevillelyh added the bug Something isn't working label May 27, 2016
nevillelyh added a commit that referenced this issue Jun 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants