cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject svn commit: r1080090 - in /cassandra/branches/cassandra-0.7/contrib/pig: bin/pig_cassandra build.xml
Date Thu, 10 Mar 2011 01:10:08 GMT
Author: brandonwilliams
Date: Thu Mar 10 01:10:07 2011
New Revision: 1080090

URL: http://svn.apache.org/viewvc?rev=1080090&view=rev
Log:
Rename pig jar from loadfunc to storage to reflect it supports both
reading and writing.
Patch by Jeremy Hanna, reviewed by brandonwilliams for CASSANDRA-2303

Modified:
    cassandra/branches/cassandra-0.7/contrib/pig/bin/pig_cassandra
    cassandra/branches/cassandra-0.7/contrib/pig/build.xml

Modified: cassandra/branches/cassandra-0.7/contrib/pig/bin/pig_cassandra
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.7/contrib/pig/bin/pig_cassandra?rev=1080090&r1=1080089&r2=1080090&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.7/contrib/pig/bin/pig_cassandra (original)
+++ cassandra/branches/cassandra-0.7/contrib/pig/bin/pig_cassandra Thu Mar 10 01:10:07 2011
@@ -24,13 +24,13 @@ for jar in $cassandra_home/lib/*.jar $ca
     CLASSPATH=$CLASSPATH:$jar
 done
 
-# cassandra_loadfunc jar.
-LOADFUNC_JAR=`ls -1 $cwd/../build/*.jar`
-if [ ! -e $LOADFUNC_JAR ]; then
-    echo "Unable to locate cassandra_loadfunc jar: please run ant." >&2
+# cassandra_storage jar.
+STORAGE_JAR=`ls -1 $cwd/../build/*.jar`
+if [ ! -e $STORAGE_JAR ]; then
+    echo "Unable to locate cassandra_storage jar: please run ant." >&2
     exit 1
 fi
-CLASSPATH=$CLASSPATH:$LOADFUNC_JAR
+CLASSPATH=$CLASSPATH:$STORAGE_JAR
 
 if [ "x$PIG_HOME" = "x" ]; then
     echo "PIG_HOME not set: requires Pig >= 0.7.0" >&2

Modified: cassandra/branches/cassandra-0.7/contrib/pig/build.xml
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.7/contrib/pig/build.xml?rev=1080090&r1=1080089&r2=1080090&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.7/contrib/pig/build.xml (original)
+++ cassandra/branches/cassandra-0.7/contrib/pig/build.xml Thu Mar 10 01:10:07 2011
@@ -17,7 +17,7 @@
  ~ specific language governing permissions and limitations
  ~ under the License.
  -->
-<project basedir="." default="jar" name="cassandra_loadfunc">
+<project basedir="." default="jar" name="cassandra_storage">
     <!-- stores the environment for locating PIG_HOME -->
     <property environment="env" />
     <property name="cassandra.dir" value="../.." />
@@ -27,7 +27,7 @@
     <property name="build.lib" value="${basedir}/lib" />
     <property name="build.out" value="${basedir}/build" />
     <property name="build.classes" value="${build.out}/classes" />
-    <property name="final.name" value="cassandra_loadfunc" />
+    <property name="final.name" value="cassandra_storage" />
 
     <path id="pig.classpath">
         <fileset file="${env.PIG_HOME}/pig*.jar" />



Mime
View raw message