Created
September 11, 2012 02:39
-
-
Save moaikids/3695543 to your computer and use it in GitHub Desktop.
org.apache.hadoop.hdfs.DFSClient.java (line:3456-3468)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// receive ack for connect | |
pipelineStatus = blockReplyStream.readShort(); | |
firstBadLink = Text.readString(blockReplyStream); | |
if (pipelineStatus != DataTransferProtocol.OP_STATUS_SUCCESS) { | |
if (pipelineStatus == DataTransferProtocol.OP_STATUS_ERROR_ACCESS_TOKEN) { | |
throw new InvalidBlockTokenException( | |
"Got access token error for connect ack with firstBadLink as " | |
+ firstBadLink); | |
} else { | |
throw new IOException("Bad connect ack with firstBadLink as " | |
+ firstBadLink); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment