Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3689 Upgrade Mpack services stack to Bigtop 3.2
  3. BIGTOP-3705

Refine the Ambari RPM spec to fix warning after rpm uninstallation

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0
    • build, rpm
    • None

    Description

      When uninstalling Ambari rpm, some warning issues:

       

      cp: cannot stat ‘/etc/ambari-server/conf’: No such file or directory
      Note: This output shows SysV services only and does not include native
            systemd services. SysV configuration data might be overridden by native
            systemd configuration.
            If you want to list systemd services use 'systemctl list-unit-files'.
            To see services enabled on particular target use
            'systemctl list-dependencies [target]'.
        Erasing    : ambari-server-2.7.5.0-1.el7.noarch                                                                                1/1
      warning: file /var/lib/ambari-server/resources/stacks/Bigtop/2.1: remove failed: No such file or directory
      warning: file /var/lib/ambari-server/resources/stacks/Bigtop: remove failed: No such file or directory
      warning: file /etc/ambari-server/conf/metrics.properties: remove failed: No such file or directory
      warning: file /etc/ambari-server/conf/krb5JAASLogin.conf: remove failed: No such file or directory
      warning: file /etc/ambari-server/conf: remove failed: No such file or directory
      

       

      The root cause :  Duplicated deleting operation in Ambari RPM spec.

       

      Attachments

        Activity

          People

            yqGu Yuqi Gu
            yqGu Yuqi Gu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m