Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-1132

Phoenix RPM specfile does not create symlinks

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.7.0, 0.8.0
    • Component/s: None
    • Labels:
      None

      Description

      [ec2-user@ip-172-31-39-116 ~]$ ls -al /usr/lib/phoenix/lib/
      total 17576
      drwxr-xr-x 2 root root    4096 Oct 28 04:47 .
      drwxr-xr-x 4 root root    4096 Oct 28 04:47 ..
      -rw-r--r-- 1 root root 1144670 Oct  9 01:37 antlr-3.5.jar
      -rw-r--r-- 1 root root  298829 Jan  9  2012 commons-configuration-1.6.jar
      -rw-r--r-- 1 root root  163151 Jan  9  2012 commons-io-2.1.jar
      -rw-r--r-- 1 root root  279193 Jan  9  2012 commons-lang-2.5.jar
      -rw-r--r-- 1 root root   60686 Jan  9  2012 commons-logging-1.1.1.jar
      -rw-r--r-- 1 root root 1648200 Apr 11  2012 guava-11.0.2.jar
      -rw-r--r-- 1 root root   16761 Oct 18 20:02 hadoop-annotations-2.0.6-alpha.jar
      -rw-r--r-- 1 root root   47528 Oct 18 20:03 hadoop-auth-2.0.6-alpha.jar
      -rw-r--r-- 1 root root 2351402 Oct 18 20:03 hadoop-common-2.0.6-alpha.jar
      -rw-r--r-- 1 root root 1356831 Oct 18 20:12 hadoop-mapreduce-client-core-2.0.6-alpha.jar
      -rw-r--r-- 1 root root 1039330 Oct 18 20:09 hadoop-yarn-api-2.0.6-alpha.jar
      -rw-r--r-- 1 root root 1075406 Oct 18 20:10 hadoop-yarn-common-2.0.6-alpha.jar
      -rw-r--r-- 1 root root 5278921 Oct 18 20:31 hbase-0.94.12.jar
      -rw-r--r-- 1 root root  227500 Feb  4  2012 jackson-core-asl-1.8.8.jar
      -rw-r--r-- 1 root root  668564 Feb  4  2012 jackson-mapper-asl-1.8.8.jar
      -rw-r--r-- 1 root root  481535 Jan  9  2012 log4j-1.2.16.jar
      -rw-r--r-- 1 root root   19827 Oct  9 01:37 opencsv-2.3.jar
      -rw-r--r-- 1 root root  449818 Jan  9  2012 protobuf-java-2.4.0a.jar
      -rw-r--r-- 1 root root   15345 Jan  9  2012 slf4j-api-1.4.3.jar
      -rw-r--r-- 1 root root    8601 Jan  9  2012 slf4j-log4j12-1.4.3.jar
      -rw-r--r-- 1 root root 1315782 Oct 18 20:27 zookeeper-3.4.5.jar
      
      1. 1132.patch
        2 kB
        Andrew Purtell

        Activity

        Hide
        apurtell Andrew Purtell added a comment -

        This is what I get after building/installing 0.7 DEBs:

        apurtell@debian:/usr/lib/phoenix/lib$ ls -l
        total 5360
        -rw-r--r-- 1 root root 1144670 Oct  5 13:34 antlr-3.5.jar
        -rw-r--r-- 1 root root  298829 Oct  5 12:14 commons-configuration-1.6.jar
        -rw-r--r-- 1 root root  163151 Oct  5 12:13 commons-io-2.1.jar
        -rw-r--r-- 1 root root  279193 Oct  5 12:11 commons-lang-2.5.jar
        -rw-r--r-- 1 root root   60686 Oct  5 12:12 commons-logging-1.1.1.jar
        -rw-r--r-- 1 root root 1648200 Oct  5 12:14 guava-11.0.2.jar
        lrwxrwxrwx 1 root root      35 Oct 28 13:27 hadoop-annotations.jar -> ../../hadoop/hadoop-annotations.jar
        lrwxrwxrwx 1 root root      28 Oct 28 13:27 hadoop-auth.jar -> ../../hadoop/hadoop-auth.jar
        lrwxrwxrwx 1 root root      30 Oct 28 13:27 hadoop-common.jar -> ../../hadoop/hadoop-common.jar
        lrwxrwxrwx 1 root root      55 Oct 28 13:27 hadoop-mapreduce-client-core.jar -> ../../hadoop-mapreduce/hadoop-mapreduce-client-core.jar
        lrwxrwxrwx 1 root root      37 Oct 28 13:27 hadoop-yarn-api.jar -> ../../hadoop-yarn/hadoop-yarn-api.jar
        lrwxrwxrwx 1 root root      40 Oct 28 13:27 hadoop-yarn-common.jar -> ../../hadoop-yarn/hadoop-yarn-common.jar
        lrwxrwxrwx 1 root root      21 Oct 28 13:27 hbase.jar -> ../../hbase/hbase.jar
        -rw-r--r-- 1 root root  227500 Oct  5 12:14 jackson-core-asl-1.8.8.jar
        -rw-r--r-- 1 root root  668564 Oct  5 12:14 jackson-mapper-asl-1.8.8.jar
        -rw-r--r-- 1 root root  481535 Oct  5 13:06 log4j-1.2.16.jar
        -rw-r--r-- 1 root root   19827 Oct  5 13:34 opencsv-2.3.jar
        -rw-r--r-- 1 root root  449818 Oct  5 12:14 protobuf-java-2.4.0a.jar
        -rw-r--r-- 1 root root   15345 Oct  5 13:11 slf4j-api-1.4.3.jar
        -rw-r--r-- 1 root root    8601 Oct  5 13:11 slf4j-log4j12-1.4.3.jar
        lrwxrwxrwx 1 root root      29 Oct 28 13:27 zookeeper.jar -> ../../zookeeper/zookeeper.jar
        

        Maybe it is a RPM build problem.

        Show
        apurtell Andrew Purtell added a comment - This is what I get after building/installing 0.7 DEBs: apurtell@debian:/usr/lib/phoenix/lib$ ls -l total 5360 -rw-r--r-- 1 root root 1144670 Oct 5 13:34 antlr-3.5.jar -rw-r--r-- 1 root root 298829 Oct 5 12:14 commons-configuration-1.6.jar -rw-r--r-- 1 root root 163151 Oct 5 12:13 commons-io-2.1.jar -rw-r--r-- 1 root root 279193 Oct 5 12:11 commons-lang-2.5.jar -rw-r--r-- 1 root root 60686 Oct 5 12:12 commons-logging-1.1.1.jar -rw-r--r-- 1 root root 1648200 Oct 5 12:14 guava-11.0.2.jar lrwxrwxrwx 1 root root 35 Oct 28 13:27 hadoop-annotations.jar -> ../../hadoop/hadoop-annotations.jar lrwxrwxrwx 1 root root 28 Oct 28 13:27 hadoop-auth.jar -> ../../hadoop/hadoop-auth.jar lrwxrwxrwx 1 root root 30 Oct 28 13:27 hadoop-common.jar -> ../../hadoop/hadoop-common.jar lrwxrwxrwx 1 root root 55 Oct 28 13:27 hadoop-mapreduce-client-core.jar -> ../../hadoop-mapreduce/hadoop-mapreduce-client-core.jar lrwxrwxrwx 1 root root 37 Oct 28 13:27 hadoop-yarn-api.jar -> ../../hadoop-yarn/hadoop-yarn-api.jar lrwxrwxrwx 1 root root 40 Oct 28 13:27 hadoop-yarn-common.jar -> ../../hadoop-yarn/hadoop-yarn-common.jar lrwxrwxrwx 1 root root 21 Oct 28 13:27 hbase.jar -> ../../hbase/hbase.jar -rw-r--r-- 1 root root 227500 Oct 5 12:14 jackson-core-asl-1.8.8.jar -rw-r--r-- 1 root root 668564 Oct 5 12:14 jackson-mapper-asl-1.8.8.jar -rw-r--r-- 1 root root 481535 Oct 5 13:06 log4j-1.2.16.jar -rw-r--r-- 1 root root 19827 Oct 5 13:34 opencsv-2.3.jar -rw-r--r-- 1 root root 449818 Oct 5 12:14 protobuf-java-2.4.0a.jar -rw-r--r-- 1 root root 15345 Oct 5 13:11 slf4j-api-1.4.3.jar -rw-r--r-- 1 root root 8601 Oct 5 13:11 slf4j-log4j12-1.4.3.jar lrwxrwxrwx 1 root root 29 Oct 28 13:27 zookeeper.jar -> ../../zookeeper/zookeeper.jar Maybe it is a RPM build problem.
        Hide
        apurtell Andrew Purtell added a comment -

        It is a RPM build problem, not sure what happened here exactly. Attaching a patch here momentarily.

        Show
        apurtell Andrew Purtell added a comment - It is a RPM build problem, not sure what happened here exactly. Attaching a patch here momentarily.
        Hide
        apurtell Andrew Purtell added a comment -

        Attached '1132.patch' which moves %post and %preun sections out from the middle of %install.

        Show
        apurtell Andrew Purtell added a comment - Attached '1132.patch' which moves %post and %preun sections out from the middle of %install.
        Hide
        cos Konstantin Boudnik added a comment -

        Looks allright
        +1

        Show
        cos Konstantin Boudnik added a comment - Looks allright +1
        Hide
        mackrorysd Sean Mackrory added a comment -

        +1!

        Show
        mackrorysd Sean Mackrory added a comment - +1!
        Hide
        apurtell Andrew Purtell added a comment -

        Thanks for the +1s.

        Looks like we are going to roll another RC for 0.7, so I committed this to trunk, cherry picked to branch-0.7, and set fix versions accordingly. Please let me know if you would like me to change something.

        Show
        apurtell Andrew Purtell added a comment - Thanks for the +1s. Looks like we are going to roll another RC for 0.7, so I committed this to trunk, cherry picked to branch-0.7, and set fix versions accordingly. Please let me know if you would like me to change something.
        Hide
        rvs Roman Shaposhnik added a comment -

        I think we should be all set at this point. Thanks for taking care of the issues so quickly!

        Show
        rvs Roman Shaposhnik added a comment - I think we should be all set at this point. Thanks for taking care of the issues so quickly!
        Hide
        bmahe Bruno Mahé added a comment -

        Thanks also for the quick fix!

        Show
        bmahe Bruno Mahé added a comment - Thanks also for the quick fix!

          People

          • Assignee:
            apurtell Andrew Purtell
            Reporter:
            bmahe Bruno Mahé
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development