incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ey...@apache.org
Subject svn commit: r1185874 - in /incubator/ambari/trunk/client/src/packages: ./ deb/hms-client.control/ rpm/spec/ tarball/
Date Tue, 18 Oct 2011 21:28:29 GMT
Author: eyang
Date: Tue Oct 18 21:28:28 2011
New Revision: 1185874

URL: http://svn.apache.org/viewvc?rev=1185874&view=rev
Log:
AMBARI-71. Updated reference of broken scripts. (Eric Yang)

Added:
    incubator/ambari/trunk/client/src/packages/update-ambari-client-env.sh
      - copied unchanged from r1185428, incubator/ambari/trunk/client/src/packages/update-hms-client-env.sh
Removed:
    incubator/ambari/trunk/client/src/packages/update-hms-client-env.sh
Modified:
    incubator/ambari/trunk/client/src/packages/deb/hms-client.control/control
    incubator/ambari/trunk/client/src/packages/deb/hms-client.control/postinst
    incubator/ambari/trunk/client/src/packages/deb/hms-client.control/prerm
    incubator/ambari/trunk/client/src/packages/rpm/spec/hms-client.spec
    incubator/ambari/trunk/client/src/packages/tarball/all.xml
    incubator/ambari/trunk/client/src/packages/tarball/binary.xml

Modified: incubator/ambari/trunk/client/src/packages/deb/hms-client.control/control
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/client/src/packages/deb/hms-client.control/control?rev=1185874&r1=1185873&r2=1185874&view=diff
==============================================================================
--- incubator/ambari/trunk/client/src/packages/deb/hms-client.control/control (original)
+++ incubator/ambari/trunk/client/src/packages/deb/hms-client.control/control Tue Oct 18 21:28:28
2011
@@ -13,12 +13,11 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-Package: hms-client
+Package: ambari-client
 Version: @version@
 Section: misc
 Priority: optional
 Architecture: all
-Depends: openjdk-6-jre-headless
-Maintainer: Apache Software Foundation <hms-dev@incubator.apache.org>
-Description: HMS Client
+Maintainer: Apache Software Foundation <ambari-dev@incubator.apache.org>
+Description: Ambari Client
 Distribution: development

Modified: incubator/ambari/trunk/client/src/packages/deb/hms-client.control/postinst
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/client/src/packages/deb/hms-client.control/postinst?rev=1185874&r1=1185873&r2=1185874&view=diff
==============================================================================
--- incubator/ambari/trunk/client/src/packages/deb/hms-client.control/postinst (original)
+++ incubator/ambari/trunk/client/src/packages/deb/hms-client.control/postinst Tue Oct 18
21:28:28 2011
@@ -15,10 +15,10 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-bash /usr/share/hbase/sbin/update-hms-client-env.sh \
+bash /usr/share/hbase/sbin/update-ambari-client-env.sh \
   --prefix=/usr \
   --bin-dir=/usr/bin \
-  --conf-dir=/etc/hms \
-  --log-dir=/var/log/hms \
-  --pid-dir=/var/run/hms
+  --conf-dir=/etc/ambari \
+  --log-dir=/var/log/ambari \
+  --pid-dir=/var/run/ambari
 

Modified: incubator/ambari/trunk/client/src/packages/deb/hms-client.control/prerm
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/client/src/packages/deb/hms-client.control/prerm?rev=1185874&r1=1185873&r2=1185874&view=diff
==============================================================================
--- incubator/ambari/trunk/client/src/packages/deb/hms-client.control/prerm (original)
+++ incubator/ambari/trunk/client/src/packages/deb/hms-client.control/prerm Tue Oct 18 21:28:28
2011
@@ -15,11 +15,11 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-bash /usr/share/hbase/sbin/update-hms-client-env.sh \
+bash /usr/sbin/update-ambari-client-env.sh \
   --prefix=/usr \
   --bin-dir=/usr/bin \
-  --conf-dir=/etc/hms \
-  --log-dir=/var/log/hms \
-  --pid-dir=/var/run/hms \
+  --conf-dir=/etc/ambari \
+  --log-dir=/var/log/ambari \
+  --pid-dir=/var/run/ambari \
   --uninstal
 

Modified: incubator/ambari/trunk/client/src/packages/rpm/spec/hms-client.spec
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/client/src/packages/rpm/spec/hms-client.spec?rev=1185874&r1=1185873&r2=1185874&view=diff
==============================================================================
--- incubator/ambari/trunk/client/src/packages/rpm/spec/hms-client.spec (original)
+++ incubator/ambari/trunk/client/src/packages/rpm/spec/hms-client.spec Tue Oct 18 21:28:28
2011
@@ -17,7 +17,7 @@
 # RPM Spec file for HBase version @version@
 #
 
-%define name         hms-client
+%define name         ambari-client
 %define version      @version@
 %define release      @package.release@
 
@@ -35,7 +35,7 @@
 %define _man_dir     %{_prefix}/man
 %define _pid_dir     @package.pid.dir@
 %define _sbin_dir    %{_prefix}/sbin
-%define _share_dir   %{_prefix}/share/hms
+%define _share_dir   %{_prefix}/share/ambari
 %define _src_dir     %{_prefix}/src
 %define _var_dir     %{_prefix}/var/lib
 
@@ -44,9 +44,9 @@
 %define _final_name @final.name@
 %define debug_package %{nil}
 
-Summary: Hadoop Management System Client
+Summary: Ambari Client
 License: Apache License, Version 2.0
-URL: http://incubator.apache.org/hms
+URL: http://incubator.apache.org/ambari
 Vendor: Apache Software Foundation
 Group: Development/Libraries
 Name: %{name}
@@ -60,10 +60,10 @@ Prefix: %{_pid_dir}
 Buildroot: %{_build_dir}
 Requires: sh-utils, textutils, /usr/sbin/useradd, /usr/sbin/usermod, /sbin/chkconfig, /sbin/service,
jdk >= 1.6, hadoop
 AutoReqProv: no
-Provides: hms-client
+Provides: ambari-client
 
 %description
-Hadoop Management System Agent manage software installation and configuration for Hadoop
software stack.
+Ambari command line interface.
 
 %prep
 %setup -n %{_final_name}
@@ -98,14 +98,14 @@ mkdir -p ${RPM_BUILD_DIR}%{_sbin_dir}
 mkdir -p ${RPM_BUILD_DIR}%{_share_dir}
 mkdir -p ${RPM_BUILD_DIR}%{_src_dir}
 
-cp ${RPM_BUILD_DIR}/%{_final_name}/src/packages/update-hms-client-env.sh ${RPM_BUILD_DIR}/%{_final_name}/sbin/update-hms-client-env.sh
+cp ${RPM_BUILD_DIR}/%{_final_name}/src/packages/update-ambari-client-env.sh ${RPM_BUILD_DIR}/%{_final_name}/sbin/update-ambari-client-env.sh
 chmod 0755 ${RPM_BUILD_DIR}/%{_final_name}/sbin/*
 mv -f ${RPM_BUILD_DIR}/%{_final_name}/* ${RPM_BUILD_DIR}%{_share_dir}
 
 rm -rf ${RPM_BUILD_DIR}/%{_final_name}
 
 %preun
-${RPM_INSTALL_PREFIX0}/share/hms/sbin/update-hms-client-env.sh \
+${RPM_INSTALL_PREFIX0}/share/ambari/sbin/update-ambari-client-env.sh \
        --prefix=${RPM_INSTALL_PREFIX0} \
        --bin-dir=${RPM_INSTALL_PREFIX0}/bin \
        --conf-dir=${RPM_INSTALL_PREFIX1} \
@@ -116,7 +116,7 @@ ${RPM_INSTALL_PREFIX0}/share/hms/sbin/up
 %pre
 
 %post
-${RPM_INSTALL_PREFIX0}/share/hms/sbin/update-hms-client-env.sh \
+${RPM_INSTALL_PREFIX0}/share/ambari/sbin/update-ambari-client-env.sh \
        --prefix=${RPM_INSTALL_PREFIX0} \
        --bin-dir=${RPM_INSTALL_PREFIX0}/bin \
        --conf-dir=${RPM_INSTALL_PREFIX1} \

Modified: incubator/ambari/trunk/client/src/packages/tarball/all.xml
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/client/src/packages/tarball/all.xml?rev=1185874&r1=1185873&r2=1185874&view=diff
==============================================================================
--- incubator/ambari/trunk/client/src/packages/tarball/all.xml (original)
+++ incubator/ambari/trunk/client/src/packages/tarball/all.xml Tue Oct 18 21:28:28 2011
@@ -72,7 +72,7 @@
       <outputDirectory>sbin</outputDirectory>
       <fileMode>755</fileMode>
       <includes>
-          <include>update-hms-${artifactId}-env.sh</include>
+          <include>update-ambari-${artifactId}-env.sh</include>
       </includes>
     </fileSet>
   </fileSets>

Modified: incubator/ambari/trunk/client/src/packages/tarball/binary.xml
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/client/src/packages/tarball/binary.xml?rev=1185874&r1=1185873&r2=1185874&view=diff
==============================================================================
--- incubator/ambari/trunk/client/src/packages/tarball/binary.xml (original)
+++ incubator/ambari/trunk/client/src/packages/tarball/binary.xml Tue Oct 18 21:28:28 2011
@@ -24,7 +24,7 @@
     http://maven.apache.org/plugins/maven-assembly-plugin/faq.html#required-classifiers
   -->
   <formats>
-    <format>tar.gz</format>
+    <format>${package.type}</format>
   </formats>
   <fileSets>
     <fileSet>



Mime
View raw message