incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vik...@apache.org
Subject svn commit: r1360976 - in /incubator/ambari/branches/branch-0.9: CHANGES.txt hmc/puppet/modules/hdp-sqoop/manifests/mysql-connector.pp
Date Thu, 12 Jul 2012 21:53:44 GMT
Author: vikram
Date: Thu Jul 12 21:53:43 2012
New Revision: 1360976

URL: http://svn.apache.org/viewvc?rev=1360976&view=rev
Log:
AMBARI-632. Ensure that mysql connector jar is available to sqoop (Contributed by hitesh)

Modified:
    incubator/ambari/branches/branch-0.9/CHANGES.txt
    incubator/ambari/branches/branch-0.9/hmc/puppet/modules/hdp-sqoop/manifests/mysql-connector.pp

Modified: incubator/ambari/branches/branch-0.9/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/CHANGES.txt?rev=1360976&r1=1360975&r2=1360976&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/CHANGES.txt (original)
+++ incubator/ambari/branches/branch-0.9/CHANGES.txt Thu Jul 12 21:53:43 2012
@@ -6,6 +6,9 @@ characters wide.
 
 Release 0.9.0 - unreleased
 
+  AMBARI-632. Ensure that mysql connector jar is available to sqoop (hitesh
+via vikram)
+
   AMBARI-630. lzo needs arch-specific hadoop-lzo-native rpm to also be installed (hitesh
via vikram)
 
   AMBARI-624. Make hadoop-client/templeton/pig/sqoop also use 64-bit only packages (hitesh
via vikram)

Modified: incubator/ambari/branches/branch-0.9/hmc/puppet/modules/hdp-sqoop/manifests/mysql-connector.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/hmc/puppet/modules/hdp-sqoop/manifests/mysql-connector.pp?rev=1360976&r1=1360975&r2=1360976&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/hmc/puppet/modules/hdp-sqoop/manifests/mysql-connector.pp
(original)
+++ incubator/ambari/branches/branch-0.9/hmc/puppet/modules/hdp-sqoop/manifests/mysql-connector.pp
Thu Jul 12 21:53:43 2012
@@ -35,11 +35,9 @@ class hdp-sqoop::mysql-connector()
        require   => Anchor['hdp-sqoop::mysql-connector::begin']
    }
 
-   hdp::exec { 'sqoop mkdir -p ${artifact_dir} ;  cp /usr/share/java/mysql-connector-java.jar
 ${target}':
-       command => "mkdir -p ${artifact_dir} ;  cp /usr/share/java/mysql-connector-java.jar
 ${target}",
-       unless  => "test -f ${target}",
-       creates => $target,
-       path    => ["/bin","/usr/bin/"],
+   file { "${sqoop_lib}/mysql-connector-java.jar" :
+       ensure => link,
+       target => "/usr/share/java/mysql-connector-java.jar",
        require => Hdp::Exec['yum install -y mysql-connector-java'],
        notify  =>  Anchor['hdp-sqoop::mysql-connector::end'],
    }



Mime
View raw message