Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4889

Chukwa RPM needs to chown user/group in build stage instead of post install stage.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.20.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Redhat 5.1, Java 6

    • Hadoop Flags:
      Reviewed

      Description

      When running rpm -V the rpm shows:

      bash-3.1# rpm -V chukwa-0.1.1-1
      .....UG. /grid/0/chukwa/LICENSE.txt
      .....UG. /grid/0/chukwa/bin
      .....UG. /grid/0/chukwa/bin/VERSION
      .....UG. /grid/0/chukwa/bin/agent.sh

      This means the User and Group permission are mismatched with what RPM provided. The build script needs to change to chown file ownership during build time instead of chown in the post installation script.

        Attachments

          Activity

            People

            • Assignee:
              eyang Eric Yang
              Reporter:
              eyang Eric Yang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: