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

    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

            People

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

              Dates

                Created:
                Updated:
                Resolved: