[ 
https://issues.apache.org/jira/browse/HADOOP-6048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kan Zhang updated HADOOP-6048:
------------------------------

    Attachment: 6048-16.patch

attached a new patch. removed the testing for InvalidAccessTokenException in 
processDatanodeError() since it can never happen. processDatanodeError() is 
called in 2 places. 1) when an error happens while writing. since the pipeline 
has already been set up in this case, the error can't be access token error. 2) 
when initializing for append, in which case, there is no previous error yet.

> Need to handle access token expiration when re-establishing the pipeline for 
> dfs write
> --------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6048
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6048
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs, security
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: 6048-09.patch, 6048-11.patch, 6048-12.patch, 
> 6048-14.patch, 6048-15.patch, 6048-16.patch
>
>
> Original access token may have expired when re-establishing the pipeline 
> within processDatanodeError().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to