Bigtop
  1. Bigtop
  2. BIGTOP-780

cannot install hive-server in SLES

    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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        4h 51m 1 Roman Shaposhnik 14/Nov/12 01:11
        Patch Available Patch Available Resolved Resolved
        17h 5m 1 Roman Shaposhnik 14/Nov/12 18:17
        Resolved Resolved Closed Closed
        219d 5h 38m 1 Roman Shaposhnik 22/Jun/13 00:55
        Roman Shaposhnik made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Peter Linnell added a comment -

        +1 LGTM

        Show
        Peter Linnell added a comment - +1 LGTM
        Roman Shaposhnik made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Roman Shaposhnik made changes -
        Attachment BIGTOP-780.patch.txt [ 12553520 ]
        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 -

        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.
        Roman Shaposhnik made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Roman Shaposhnik made changes -
        Assignee Roman Shaposhnik [ rvs ]
        Roman Shaposhnik made changes -
        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 -

        what does rpm -qlv hive server show ?

        Show
        Peter Linnell added a comment - what does rpm -qlv hive server show ?
        Johnny Zhang made changes -
        Field Original Value New Value
        Description do below to install hive-server in SLES
        {noformat}
        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
        {noformat}


        the installation process seems fine, but the status is shown as 'not installed'
        {noformat}
        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
        {noformat}
        do below to install hive-server in SLES
        {noformat}
        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
        {noformat}


        the installation process seems fine, but the status is shown as 'not installed'
        {noformat}
        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
        {noformat}

        afterward, I tried install hive-server again, but seems OS think it is already installed
        {noformat}
        # zypper install hive-server
        Loading repository data...
        Reading installed packages...
        Resolving package dependencies...

        Nothing to do.
        {noformat}
        Johnny Zhang created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development