Return-Path: X-Original-To: apmail-ambari-user-archive@www.apache.org Delivered-To: apmail-ambari-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8029C111BD for ; Thu, 26 Jun 2014 02:16:52 +0000 (UTC) Received: (qmail 30525 invoked by uid 500); 26 Jun 2014 02:16:52 -0000 Delivered-To: apmail-ambari-user-archive@ambari.apache.org Received: (qmail 30494 invoked by uid 500); 26 Jun 2014 02:16:52 -0000 Mailing-List: contact user-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ambari.apache.org Delivered-To: mailing list user@ambari.apache.org Received: (qmail 30483 invoked by uid 99); 26 Jun 2014 02:16:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2014 02:16:52 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rmutyala@gmail.com designates 74.125.82.169 as permitted sender) Received: from [74.125.82.169] (HELO mail-we0-f169.google.com) (74.125.82.169) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2014 02:16:49 +0000 Received: by mail-we0-f169.google.com with SMTP id t60so2963121wes.0 for ; Wed, 25 Jun 2014 19:16:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=XyDY1iQcUIDyXPHxkEyJ5DXHLxDgv+K+CFtKJbj4qeo=; b=fSn2fCEp4nwCYNUJjkPsf3I/F6cA87fNBLsuB3yEt9kpIXlNPq6OekztnjEgmCtiUT LrlJjoXor4kpBz2S9RmGtsbkR09F8SYQs4xjrh/MnBrwzZedQr0C0gEWKUNN9zI7grkG gQg6cYTA9BLVaolo4dz7pPzQugq72Yi54IAtav4eOzFIzsQX5Dn7yW9imO0CtyraVymr hKKS+lifMVoib3TMSdtGkw6iupsX/fLcQzK1UAzPoPFJCU/+w3jorJz/Tejgv+jrl5s2 bfbCzC2KX6vXM4ZOYBl1WPfc7aYD0B3n7I8CrE0FhKv6nVmVjj9j5wB0c2IPap8YQHuN TDRQ== X-Received: by 10.181.13.5 with SMTP id eu5mr737715wid.58.1403748985458; Wed, 25 Jun 2014 19:16:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.24.164 with HTTP; Wed, 25 Jun 2014 19:16:05 -0700 (PDT) In-Reply-To: <78BCB08A81734EEF8C1B08C6A2314B49@P200304006390> References: <78BCB08A81734EEF8C1B08C6A2314B49@P200304006390> From: Ravi Mutyala Date: Wed, 25 Jun 2014 21:16:05 -0500 Message-ID: Subject: Re: Can't install ambari To: user@ambari.apache.org Content-Type: multipart/alternative; boundary=f46d043be04ca1d7d904fcb3c70b X-Virus-Checked: Checked by ClamAV on apache.org --f46d043be04ca1d7d904fcb3c70b Content-Type: text/plain; charset=UTF-8 These are the prerequisites for a build. You are missing npm. - JDK 1.6.0 - Apache Maven 3.0.5 <- Maven 3.1.0 results in errors when building ambari-agent - Python 2.6 - Python setuptools - python 2.6: Download or python 2.7: Download and run: 2.6: sh setuptools-0.6c11-py2.6.egg 2.7 sh setuptools-0.6c11-py2.7.egg - rpmbuild (rpm-build package) - g++ (gcc-c++ package) - NodeJS - v0.10.2 or later is recommended. Latest version tested for compatibility is v0.10.24 (as of Jan 15, 2014). Download the binary tarball, extract, and put the bin directory in your PATH. Verify that you can run the command *node* and *npm. *Alternatively, you can use *yum* to install NodeJS if you are on Fedora 18: #Fedora 18: sudo yum update audit; sudo yum --enablerepo=updates-testing install nodejs npm - Brunch 1.7.13 (to install it, run the following command after NodeJS is installed): npm install -g brunch@1.7.13 On Wed, Jun 25, 2014 at 8:09 PM, EdwardKing wrote: > I want to install ambari1.4.3 under Redhat Linux 6.4,so I download > ambari-1.4.3.tar.gz and I use apache-maven-3.2.1 to execute following > command: > [root@localhost ambari-1.4.3]# tar xfvz ambari-1.4.3.tar.gz > [root@localhost ambari-1.4.3]# cd ambari-1.4.3 > [root@localhost ambari-1.4.3]# mvn versions:set -DnewVersion=1.4.3 > [root@localhost ambari-1.4.3]# mvn -B clean install package rpm:rpm > -DnewVersion=1.4.3 -DskipTests -Dpython.ver="python >= 2.6" > > but it raise following errors: > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-antrun-plugin:1.7:run (compile) on project > ambari-web: An Ant BuildException has occured: Execute failed: > java.io.IOException: Cannot run program "npm" (in directory > "/opt/yarn/ambari-1.4.3/ambari-web"): error=2, No such file or directory > [ERROR] around Ant part ... executable="npm" failonerror="false">... @ 4:86 in > /opt/yarn/ambari-1.4.3/ambari-web/target/antrun/build-ambari-web-compile.xml > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn -rf :ambari-web > [root@localhost ambari-1.4.3]# > > Why raise above error? I try ambari-1.6.0 again,it still raise above > error. How can I install ambari successfully? I am a newer to ambari,please > help me. Thanks > > > --------------------------------------------------------------------------------------------------- > Confidentiality Notice: The information contained in this e-mail and any > accompanying attachment(s) > is intended only for the use of the intended recipient and may be > confidential and/or privileged of > Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader > of this communication is > not the intended recipient, unauthorized use, forwarding, printing, > storing, disclosure or copying > is strictly prohibited, and may be unlawful.If you have received this > communication in error,please > immediately notify the sender by return e-mail, and delete the original > message and all copies from > your system. Thank you. > > --------------------------------------------------------------------------------------------------- > --f46d043be04ca1d7d904fcb3c70b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
These are the prerequisites for a build. You are missing n= pm.

  • JDK 1.6.0
  • Apache Maven 3.0.5 <- Maven 3.1.0 results in errors when build= ing ambari-agent
  • Python 2.6
  • Python setuptools - python 2= .6: Download or python 2.7: Download and run:
    2.6:

    sh = setuptools-0.6c11-py2.6.egg

    2.7

    sh = setuptools-0.6c11-py2.7.egg
  • rpmbuild (rpm-build package)
  • g++ (gcc-c++ pack= age)
  • NodeJS - v0.10.2 or later is recommended. =C2=A0Latest version tested for=20 compatibility is v0.10.24 (as of Jan 15, 2014). =C2=A0Download the binary= =20 tarball, extract, and put the bin directory in your PATH. =C2=A0Verify that= =20 you can run the command node and=C2=A0npm. =C2=A0<= /strong>Alternatively, you can use=C2=A0yum to install Nod= eJS if you are on Fedora 18:

    =
    #Fe= dora 18: sudo yum update au= dit; sudo yum --enablerepo=3Dupdates-testing install nodejs npm
  • Brunch 1.7.13 (to install it, run the following com= mand after NodeJS is installed):

    npm= install -g brunch@1.7.13



On Wed, Jun = 25, 2014 at 8:09 PM, EdwardKing <zhangsc@neusoft.com> wrot= e:
I want to install ambari1.4.3 under Redhat Linux= =20 6.4,so I download ambari-1.4.3.tar.gz and I use apache-maven-3.2.1 to execu= te=20 following command:
[root@localhost ambari-1.4.3]# tar xfvz=20 ambari-1.4.3.tar.gz
[root@localhost ambari-1.4.3]# cd=20 ambari-1.4.3
[root@localhost ambari-1.4.3]# mvn versions:set= =20 -DnewVersion=3D1.4.3
[root@localhost ambari-1.4.3]# mvn -B clean insta= ll=20 package rpm:rpm -DnewVersion=3D1.4.3 -DskipTests -Dpython.ver=3D"pytho= n >=3D=20 2.6"
=C2=A0
but it raise following errors:
[ERROR] Failed to execute goal=20 org.apache.maven.plugins:maven-antrun-plugin:1.7:run (compile) on project= =20 ambari-web: An Ant BuildException has occured: Execute failed:=20 java.io.IOException: Cannot run program "npm" (in directory=20 "/opt/yarn/ambari-1.4.3/ambari-web"): error=3D2, No such file or= =20 directory
[ERROR] around Ant part ...<exec=20 dir=3D"/opt/yarn/ambari-1.4.3/ambari-web" executable=3D"npm&= quot;=20 failonerror=3D"false">... @ 4:86 in=20 /opt/yarn/ambari-1.4.3/ambari-web/target/antrun/build-ambari-web-compile.xm= l
[ERROR]=20 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the er= rors,=20 re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switc= h to=20 enable full debug logging.
[ERROR]
[ERROR] For more information abou= t the=20 errors and possible solutions, please read the following articles:
[ERRO= R]=20 [Help 1] http://cwiki.apache.org/confluence/disp= lay/MAVEN/MojoExecutionException
[ERROR]=20
[ERROR] After correcting the problems, you can resume the build with th= e=20 command
[ERROR]=C2=A0=C2=A0 mvn <goals> -rf=20 :ambari-web
[root@localhost ambari-1.4.3]#
=C2=A0
=C2=A0
Why raise above error? I try ambari-1.6.0 again,i= t=20 still =C2=A0raise above error. How can I install ambari successfully? I am = a=20 newer to ambari,please help me. Thanks

---------------------= ---------------------------------------------------------------------------= ---
Confidentiality Notice: The information contained in this e-mail and any ac= companying attachment(s)
is intended only for the use of the intended recipient and may be confident= ial and/or privileged of
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader = of this communication is
not the intended recipient, unauthorized use, forwarding, printing,=C2=A0 s= toring, disclosure or copying
is strictly prohibited, and may be unlawful.If you have received this commu= nication in error,please
immediately notify the sender by return e-mail, and delete the original mes= sage and all copies from
your system. Thank you.
---------------------------------------------------------------------------= ------------------------


--f46d043be04ca1d7d904fcb3c70b--