[ 
https://issues.apache.org/jira/browse/HDFS-12248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16142650#comment-16142650
 ] 

Hudson commented on HDFS-12248:
-------------------------------

ABORTED: Integrated in Jenkins build Hadoop-trunk-Commit #12250 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/12250/])
HDFS-12248. SNN will not upload fsimage on IOE and Interrupted (brahma: rev 
bb6a3c83305f97090f980c53adaaf37baf18c698)
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/CheckpointFaultInjector.java
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestRollingUpgrade.java
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/StandbyCheckpointer.java


> SNN will not upload fsimage on IOE and Interrupted exceptions
> -------------------------------------------------------------
>
>                 Key: HDFS-12248
>                 URL: https://issues.apache.org/jira/browse/HDFS-12248
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: rolling upgrades
>            Reporter: Brahma Reddy Battula
>            Assignee: Brahma Reddy Battula
>            Priority: Critical
>             Fix For: 3.0.0-beta1
>
>         Attachments: HDFS-12248-002.patch, HDFS-12248-003.patch, 
> HDFS-12248.patch
>
>
> Related to  HDFS-9787. When fsimage uploading to ANN, if there is any 
> interrupt or IOE comes {{isPrimaryCheckPointer}} set to 
> {{false}}.Rollingupgrade triggered same time then It does the checkpoint 
> without sending the fsimage since {{sendRequest}} will be {{false}}.
> So,here {{rollback}} image will not sent to ANN.
> {code}
>       } catch (ExecutionException e) {
>         ioe = new IOException("Exception during image upload: " + 
> e.getMessage(),
>             e.getCause());
>         break;
>       } catch (InterruptedException e) {
>         ie = e;
>         break;
>       }
>     }
>     lastUploadTime = monotonicNow();
>     // we are primary if we successfully updated the ANN
>     this.isPrimaryCheckPointer = success;
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to