Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2497

SafeMode check should allow key creation on single node pipeline when replication factor is 1

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Resolved
    • None
    • None
    • None
    • None

    Description

      Start a single datanode ozone docker-compose with replication factor of 1.

      OZONE-SITE.XML_ozone.replication=1

      The key creation failed with Safemode exception below. 

      >$ docker-compose exec om bash
      bash-4.2$ ozone sh vol create /vol1
      bash-4.2$ ozone sh bucket create /vol1/bucket1
      ozone sh kbash-4.2$ ozone sh key put /vol1/bucket1/key1 README.md
      SCM_IN_SAFE_MODE SafeModePrecheck failed for allocateBlock

       

      Attachments

        Issue Links

        Activity

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

          People

            Sammi Sammi Chen Assign to me
            xyao Xiaoyu Yao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment