Skip to content

Conversation

@Xia-Hu
Copy link

@Xia-Hu Xia-Hu commented May 29, 2015

After adding SPARK-6197 as a patch to spark-1.3.1, I found it no longer
prints out an Error Exception in history log after a application is
failed. But while a application is running, it may still print out a
IOException Error, like this:

ERROR FsHistoryProvider: Failed to load application log data from FileStatus{path=hdfs://yarncluster/history/sparkhistory/application_1426843812583_0085.snappy.inprogress; isDirectory=false; length=270; replication=2; blocksize=134217728; modification_time=1432797327877; access_time=1432797327877; owner=hxia; group=supergroup; permission=rwxrwx---; isSymlink=false}.
java.io.IOException: failed to read chunk

… running

After adding SPARK-6197 as a patch to spark-1.3.1, I found it no longer
prints out an Error Exception in history log after a application is
failed. But while a application is running, it may still print out a
IOException Error, like this "ERROR FsHistoryProvider: Failed to load
application log data from
FileStatus{path=hdfs://yarncluster/history/sparkhistory/application_1426843812583_0085.snappy.inprogress;
isDirectory=false; length=270; replication=2; blocksize=134217728;
modification_time=1432797327877; access_time=1432797327877;
owner=hadoop; group=supergroup; permission=rwxrwx---; isSymlink=false}.
java.io.IOException: failed to read chunk"
@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@srowen
Copy link
Member

srowen commented May 29, 2015

No, I don't think this is a valid change. This error is not about an incomplete file, but missing chunks in HDFS. I am not sure what you back-ported where here. Would you close this PR?

@Xia-Hu
Copy link
Author

Xia-Hu commented May 29, 2015

Yeah, I agree with Owen this "failed to read chunk" problem is not caused by replaying an unfinished app. But there may be some other reasons for it, this doesn't happen before 1.3.1.

@Xia-Hu Xia-Hu closed this May 29, 2015
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