Uploaded image for project: 'Chukwa'
  1. Chukwa
  2. CHUKWA-80

Extract RPM spec file from build.xml

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Build and Test Code
    • Labels:
      None
    • Environment:

      Redhat 5.1, Java 6

      Description

      The rpm spec file should probably be extract and move outside of build.xml.
      This change will bring rpm build structure to become more manageable.

      1. CHUKWA-80.patch
        26 kB
        Eric Yang
      2. CHUKWA-80-1.patch
        27 kB
        Eric Yang

        Issue Links

          Activity

          Hide
          eyang Eric Yang added a comment -

          The RPM build process needs to be cleaned up. I am going to fix this together with CHUKWA-114.

          Show
          eyang Eric Yang added a comment - The RPM build process needs to be cleaned up. I am going to fix this together with CHUKWA-114 .
          Hide
          eyang Eric Yang added a comment -

          Mark as blocker for the release.

          Show
          eyang Eric Yang added a comment - Mark as blocker for the release.
          Hide
          jboulon Jerome Boulon added a comment -

          rpm add "chukwa" at the end of CHUKWA_HOME so the path in init.d script is wrong

          Show
          jboulon Jerome Boulon added a comment - rpm add "chukwa" at the end of CHUKWA_HOME so the path in init.d script is wrong
          Hide
          jboulon Jerome Boulon added a comment -

          Another error:
          etc/init.d/chukwa-collector stop
          Stopping chukwa-collector: ls: /grid/0/gs/chukwa/chukwa-0.1.2/bin/../hadoopjars/commons*.jar: No such file or directory
          Usage: chukwa-daemon.sh [--config <conf-dir>] [--hosts hostlistfile] (start|stop) <chukwa-command> <args...>

          Show
          jboulon Jerome Boulon added a comment - Another error: etc/init.d/chukwa-collector stop Stopping chukwa-collector: ls: /grid/0/gs/chukwa/chukwa-0.1.2/bin/../hadoopjars/commons*.jar: No such file or directory Usage: chukwa-daemon.sh [--config <conf-dir>] [--hosts hostlistfile] (start|stop) <chukwa-command> <args...>
          Hide
          eyang Eric Yang added a comment -

          Clean up startup script and RPM build process

          Show
          eyang Eric Yang added a comment - Clean up startup script and RPM build process
          Hide
          eyang Eric Yang added a comment -

          Fix typo.

          Show
          eyang Eric Yang added a comment - Fix typo.
          Hide
          jboulon Jerome Boulon added a comment -

          patch apply correctly but build failed ????

          BUILD FAILED
          build.xml:822: Warning: Could not find file chukwa-1.2.0/tools/spec/chukwa.spec to copy.

          Show
          jboulon Jerome Boulon added a comment - patch apply correctly but build failed ???? BUILD FAILED build.xml:822: Warning: Could not find file chukwa-1.2.0/tools/spec/chukwa.spec to copy.
          Hide
          eyang Eric Yang added a comment -

          My bad, there is a type error in the location of the "specs" directory.

          Show
          eyang Eric Yang added a comment - My bad, there is a type error in the location of the "specs" directory.
          Hide
          eyang Eric Yang added a comment -

          Integrate fixes for:

          CHUKWA-116 Wrong cmde in bin/chukwa-config.sh
          CHUKWA-117 Init.d script not working
          CHUKWA-114 RPM should use rpm.conf.dir from build.properties

          Show
          eyang Eric Yang added a comment - Integrate fixes for: CHUKWA-116 Wrong cmde in bin/chukwa-config.sh CHUKWA-117 Init.d script not working CHUKWA-114 RPM should use rpm.conf.dir from build.properties
          Hide
          terencekwan Terence Kwan added a comment -

          +1, tried it on my machine.

          Show
          terencekwan Terence Kwan added a comment - +1, tried it on my machine.
          Hide
          eyang Eric Yang added a comment -

          Extracted rpm spec file from build.xml file. Fix start up script, and config script. (Eric Yang)

          Show
          eyang Eric Yang added a comment - Extracted rpm spec file from build.xml file. Fix start up script, and config script. (Eric Yang)
          Hide
          eyang Eric Yang added a comment -

          I just committed this, thanks Terence.

          Show
          eyang Eric Yang added a comment - I just committed this, thanks Terence.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development