Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.5.0
    • Fix Version/s: 0.5.0
    • Component/s: General
    • Labels:
      None

      Description

      do below to install hive-server in SLES

      zypper clean -a
      ......
      bin/dd of=/etc/zypp/repos.d/cloudera-cdh3.repo << __EOT__
      [bigtop]
      name=Bigtop
      enabled=1
      gpgcheck=0
      type=NONE
      baseurl=http://bigtop01.cloudera.org:8080/job/Bigtop-trunk-Repository/./label=sles11//lastSuccessfulBuild/artifact/repo/
      
      __EOT__
      ......
      zypper install hive-server
      

      the installation process seems fine, but the status is shown as 'not installed'

      pkgtest-sles64-11:~ # zypper -q -n info hive-server
      
      
      Information for package hive-server:
      
      Repository: Bigtop
      Name: hive-server
      Version: 0.9.0.222-1
      Arch: noarch
      Vendor: 
      Support Level: unknown
      Installed: No
      Status: not installed
      Installed Size: 5.0 KiB
      Summary: Provides a Hive Thrift service.
      Description: 
      This optional package hosts a Thrift server for Hive clients across a network to use.
      ......
      ......
      pkgtest-sles64-11:~ # service hive-server status
      service: no such service hive-server
      

      afterward, I tried install hive-server again, but seems OS think it is already installed

      # zypper install hive-server
      Loading repository data...
      Reading installed packages...
      Resolving package dependencies...
      
      Nothing to do.
      
      1. 0001-BIGTOP-780.-cannot-install-hive-server-in-SLES.patch
        2 kB
        Roman Shaposhnik
      2. BIGTOP-780.patch.txt
        0.5 kB
        Roman Shaposhnik

        Activity

        Hide
        Peter Linnell added a comment -

        what does rpm -qlv hive server show ?

        Show
        Peter Linnell added a comment - what does rpm -qlv hive server show ?
        Hide
        Roman Shaposhnik added a comment -

        Good catch! This seems to be related to a wrong Provides: statement in the hive-hbase section. But since I don't think we need any of the provides – I removed all of them since they seem to be parasitic at this point.

        Show
        Roman Shaposhnik added a comment - Good catch! This seems to be related to a wrong Provides: statement in the hive-hbase section. But since I don't think we need any of the provides – I removed all of them since they seem to be parasitic at this point.
        Hide
        Peter Linnell added a comment -

        I think I would just remove the offending provides. IIRC, we are disabling Autreqprov, so rpm does not generate them automatically. Otherwise, the patch looks good.

        Show
        Peter Linnell added a comment - I think I would just remove the offending provides. IIRC, we are disabling Autreqprov, so rpm does not generate them automatically. Otherwise, the patch looks good.
        Hide
        Roman Shaposhnik added a comment -

        Peter, I think you're right – I'm attaching a smaller patch to address this very particular issue. The issue of parasitic Provides will be addressed in here: BIGTOP-781

        Show
        Roman Shaposhnik added a comment - Peter, I think you're right – I'm attaching a smaller patch to address this very particular issue. The issue of parasitic Provides will be addressed in here: BIGTOP-781
        Hide
        Peter Linnell added a comment -

        +1 LGTM

        Show
        Peter Linnell added a comment - +1 LGTM

          People

          • Assignee:
            Roman Shaposhnik
            Reporter:
            Johnny Zhang
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development