Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-12248

SNN will not upload fsimage on IOE and Interrupted exceptions

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      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.

            } 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;
      

      Attachments

        1. HDFS-12248.patch
          1 kB
          Brahma Reddy Battula
        2. HDFS-12248-002.patch
          8 kB
          Brahma Reddy Battula
        3. HDFS-12248-003.patch
          7 kB
          Brahma Reddy Battula

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            brahmareddy Brahma Reddy Battula
            brahmareddy Brahma Reddy Battula
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment