Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.0
    • Component/s: CDAP
    • Labels:
    • Release Notes:
      Removed conditional restart on distributed CDAP package upgrades
    • Rank:
      1|hzzch3:

      Description

      installing/upgrading the CDAP packages can produce some warnings reported by YUM:

        Updating   : cdap-gateway-3.4.0-1.noarch                                                                                                                        11/23
        Installing : cdap-ui-3.4.0-1.x86_64                                                                                                                             12/23
        Cleanup    : cdap-master-3.3.2-1.noarch                                                                                                                         13/23
      warning: %postun(cdap-master-3.3.2-1.noarch) scriptlet failed, exit status 3
      Non-fatal POSTUN scriptlet failure in rpm package cdap-master
        Cleanup    : cdap-hbase-compat-0.96-3.3.2-1.noarch                                                                                                              14/23
        Cleanup    : cdap-hbase-compat-0.98-3.3.2-1.noarch                                                                                                              15/23
        Cleanup    : cdap-hbase-compat-1.0-3.3.2-1.noarch                                                                                                               16/23
        Cleanup    : cdap-hbase-compat-1.0-cdh-3.3.2-1.noarch                                                                                                           17/23
        Cleanup    : cdap-hbase-compat-1.1-3.3.2-1.noarch                                                                                                               18/23
        Cleanup    : cdap-ui-3.3.2-1.noarch                                                                                                                             19/23
      warning: %postun(cdap-ui-3.3.2-1.noarch) scriptlet failed, exit status 3
      Non-fatal POSTUN scriptlet failure in rpm package cdap-ui
        Cleanup    : cdap-gateway-3.3.2-1.noarch                                                                                                                        20/23
      warning: %postun(cdap-gateway-3.3.2-1.noarch) scriptlet failed, exit status 3
      Non-fatal POSTUN scriptlet failure in rpm package cdap-gateway
        Cleanup    : cdap-security-3.3.2-1.noarch                                                                                                                       21/23
      warning: %postun(cdap-security-3.3.2-1.noarch) scriptlet failed, exit status 3
      Non-fatal POSTUN scriptlet failure in rpm package cdap-security
        Cleanup    : cdap-kafka-3.3.2-1.noarch                                                                                                                          22/23
      warning: %postun(cdap-kafka-3.3.2-1.noarch) scriptlet failed, exit status 3
      Non-fatal POSTUN scriptlet failure in rpm package cdap-kafka
        Cleanup    : cdap-3.3.2-1.noarch                                                                                                                                23/23
        Verifying  : cdap-kafka-3.4.0-1.noarch                                                                                                                           1/23
      

      I believe this is because the conditional restart is performing a status operation, which returns exit code 3 when the service is not running. (This used to work without warnings, but init scripts have since changed).

        Attachments

          Activity

            People

            • Assignee:
              chris Chris Gianelloni
              Reporter:
              derek Derek Wood
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: