HDP on Linux – Installation Forum

HDP1.3 Installation on SUSE11 SP1

  • #26933

    Hi guys,

    I am trying to install HDP1.3 on my SLES11 sp1 machine using Ambari server(automatic installation).
    Installation step says, we need to have below postgres version and if not present ambari will do for you.
    libpq5 9.1.5-0.2.1
    postgresql 8.3.20-0.4.1
    postgresql-init 9.1-0.6.10.1
    postgresql-server 8.3.20-0.4.1

    I am not able to install it manually nor Ambari able to find it.

    Anybody already install HDP on SLES. Can you tell me how repo path and installation procedure for postgre.

    Many Thanks
    Pariksheet

to create new topics or reply. | New User Registration

  • Author
    Replies
  • #26937
    tedr
    Moderator

    Hi Pariksheet,

    As I said in the other thread you posted to, if your version of SLES is not registered you’ll not have access to the repos. You can try to find some generic Linux repos, but that is the only way we have found for unregistered SLES or RHEL to get Postgres.

    Thanks,
    Ted.

    #26979

    Thanks. I am able to install postgres with below repos
    http://download.opensuse.org/update/11.1/
    http://download.opensuse.org/distribution/11.1/repo/oss/

    I got new problem though. I have installed apache-ambari. I can see the process running. But when open browser with 8080 port it just keep on showning — “…Loading”

    I am not sure about error. Any thoughts on this error.

    Many Thanks
    Pariksheet

    #26980

    Amabari startup logs –
    [EL Info]: 2013-06-05 17:42:02.37–ServerSession(1928786358)–EclipseLink, version: Eclipse Persistence Services – 2.4.0.v20120608-r11652
    [EL Info]: connection: 2013-06-05 17:42:03.4–ServerSession(1928786358)–file:/usr/lib/ambari-server/ambari-server-1.2.3.7.jar_ambari-server_url=jdbc:postgresql://localhost/ambari_user=ambari-serve
    r login successful
    Jun 5, 2013 5:42:06 PM com.sun.jersey.api.core.PackagesResourceConfig init
    INFO: Scanning for root resource and provider classes in the packages:
    org.apache.ambari.server.api.rest
    org.apache.ambari.server.api.services
    …….
    …….
    Jun 5, 2013 5:42:06 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses
    INFO: Root resource classes found:
    class org.apache.ambari.server.api.services.KeyService
    class org.apache.ambari.server.api.rest.HealthCheck
    ……….
    ………
    Jun 5, 2013 5:42:06 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses
    INFO: Provider classes found:
    class org.apache.ambari.eventdb.webservice.JAXBContextResolver
    class org.apache.ambari.server.api.GsonJsonProvider
    Jun 5, 2013 5:42:06 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
    INFO: Initiating Jersey application, version ‘Jersey: 1.11 12/09/2011 10:27 AM’
    Jun 5, 2013 5:42:08 PM com.sun.jersey.api.core.PackagesResourceConfig init
    INFO: Scanning for root resource and provider classes in the packages:
    org.apache.ambari.server.resources.api.rest
    org.apache.ambari.server.api
    Jun 5, 2013 5:42:08 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses
    INFO: Root resource classes found:
    class org.apache.ambari.server.api.services.KeyService
    class org.apache.ambari.server.api.rest.HealthCheck
    ….
    ….
    Jun 5, 2013 5:42:09 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses
    INFO: Provider classes found:
    class org.apache.ambari.server.api.GsonJsonProvider
    Jun 5, 2013 5:42:09 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
    INFO: Initiating Jersey application, version ‘Jersey: 1.11 12/09/2011 10:27 AM’
    Jun 5, 2013 5:42:09 PM com.sun.jersey.api.core.PackagesResourceConfig init
    INFO: Scanning for root resource and provider classes in the packages:
    org.apache.ambari.server.security.unsecured.rest
    org.apache.ambari.server.api
    Jun 5, 2013 5:42:09 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses
    INFO: Root resource classes found:
    class org.apache.ambari.server.api.services.KeyService
    class org.apache.ambari.server.api.rest.HealthCheck
    …..
    …..
    Jun 5, 2013 5:42:09 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses
    INFO: Provider classes found:
    class org.apache.ambari.server.api.GsonJsonProvider
    Jun 5, 2013 5:42:09 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
    INFO: Initiating Jersey application, version ‘Jersey: 1.11 12/09/2011 10:27 AM’

    Anywhere else I should have been checked for logs??

    #26986
    Jeff Sposetti
    Moderator

    Hi Pariksheet,

    Can you confirm which web browser you are using? Do you see javascript errors in the browser javascript console?

    Thanks,

    Jeff

    #26990

    Hi Jeff,

    I am using mozilla firefox. As I can run my d3.js visualization scripts , I don’t think it could be javascript errror.

    Should I use different browser and try…

    #26995
    tedr
    Moderator

    Hi Paraksheet,

    What is the version of Firefox you are using? We have seen this bit with it getting stuck on the Loading screen on older versions of firefox.

    Thanks,
    Ted.

    #27010

    Hi Ted,
    Version of my firefox browser is 3.5.9. Using chrome I am able to open ambari start page.
    But new error popped out –
    notice: Finished catalog run in 0.06 seconds
    ………..
    ……….
    Use a fully-qualified variable name (e.g., $classname::variable) or parameterized classes.
    err: /Stage[1]/Hdp/Hdp::Lzo::Package[64]/Hdp::Package[lzo 64]/Hdp::Package::Process_pkg[lzo 64]/Package[lzo-devel]/ensure: change from absent to present failed: Execution of ‘/usr/bin/zypper –quiet install -l -y lzo-devel’ returned 4: Warning: Repository ‘11.1’ appears to outdated. Consider using a different mirror or server.

    The following NEW packages are going to be installed:
    lzo lzo-devel

    The following packages are not supported by their vendor:
    lzo lzo-devel

    2 new packages to install.
    Overall download size: 153.0 KiB. After the operation, additional 720.0 KiB will be used.
    Continue? [y/n/?] (y): y
    Installation of lzo-2.06-1 failed:
    (with –nodeps –force) Error: Subprocess failed. Error: RPM failed: error: /var/cache/zypp/packages/HDP-UTILS-1.1.0.15/lzo/lzo-2.06-1.x86_64.rpm: Header V4 RSA/SHA1 signature: BAD, key ID 07513cad
    error: /var/cache/zypp/packages/HDP-UTILS-1.1.0.15/lzo/lzo-2.06-1.x86_64.rpm cannot be installed

    Thanks for all your help guys…

    -Pariksheet

    #27013

    Saw same issue on thred “RPM bad key issue while installing HDP on SLSE”
    But don’t seem any concrete solution, I don’t want to update SUSE to SP2.

    Please do let me know if I have to change repos.

    Many Thanks
    Pariksheet

    #27025
    tedr
    Moderator

    Hi Pariksheet,

    Have you tried updating zypper, as the last post in the thread you mention says helped?

    Thanks,
    Ted.

    #27030

    Hi Ted,

    I am sorry but I don’t find any web page for upgrading Zypper. Current installed version of zypper
    rpm -q -i zypper
    Name : zypper Relocations: /usr
    Version : 1.3.7

    Apologies for my ignorance. Could you paste the command to upgrade zypper.

    Thanks
    Pariksheet

    #27066

    Bingo… Upgraded Zypper with repo http://download.opensuse.org/distribution/11.3/repo/oss/suse/

    Hadoop is running now except Ganglia(I will figure it out later)

    Thank you Jeff/Ted for your help .

    Cheers,
    Pariksheet

    #27105
    tedr
    Moderator

    Hi Paraksheet,

    It is good to hear that upgrading zypper did the trick. As far as the ganglia bit goes, it is most likely because ganlia installs its own start/stop script in /etc/init.d, you should stop any gmond or gmetad processes that do not have anything about HDP in their path.

    Thanks,
    Ted

You must be to reply to this topic. | Create Account

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.