<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>DataStax Support Forums &#187; Tag: pig - Recent Posts</title>
		<link>http://www.datastax.com/support-forums/tags/pig</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Tue, 21 May 2013 16:14:15 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.datastax.com/support-forums/search.php</link>
		</textInput>
		<atom:link href="http://www.datastax.com/support-forums/rss/tags/pig" rel="self" type="application/rss+xml" />

		<item>
			<title>Anonymous on "java.lang.ClassNotFoundException: dk.brics.automaton.RegExp when using matches in filter expression"</title>
			<link>http://www.datastax.com/support-forums/topic/javalangclassnotfoundexception-dkbricsautomatonregexp-when-using-matches-in-filter-expression#post-1955</link>
			<pubDate>Mon, 21 May 2012 20:13:25 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1955@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;according to OpsCenter:&#60;br /&#62;
Analytics	1.0.2-1&#60;br /&#62;
Cassandra	1.0.7
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "java.lang.ClassNotFoundException: dk.brics.automaton.RegExp when using matches in filter expression"</title>
			<link>http://www.datastax.com/support-forums/topic/javalangclassnotfoundexception-dkbricsautomatonregexp-when-using-matches-in-filter-expression#post-1937</link>
			<pubDate>Fri, 18 May 2012 08:37:38 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1937@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Which version of DSE are you running?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "java.lang.ClassNotFoundException: dk.brics.automaton.RegExp when using matches in filter expression"</title>
			<link>http://www.datastax.com/support-forums/topic/javalangclassnotfoundexception-dkbricsautomatonregexp-when-using-matches-in-filter-expression#post-1926</link>
			<pubDate>Wed, 16 May 2012 20:56:52 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1926@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Trying to filter where the predicate looks like:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;p6 = filter p5 by (C2::columns::value matches &#38;#039;c2-2&#38;#039;)&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;The value is from a bag (columns) of name/value tuples.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Pig error (type mismatch) when using key from CF in join or group"</title>
			<link>http://www.datastax.com/support-forums/topic/pig-error-type-mismatch-when-using-key-from-cf-in-join-or-group#post-1831</link>
			<pubDate>Thu, 03 May 2012 19:42:24 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1831@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Unfortunately there is no work around currently available, actually you have to options:  a. you would have to wait for 2.1 release with updated CassandraStorage, b. you would have to re-compile C*, include it into DSE  and use org.apache.cassandra.hadoop.pig.CassandraStorage class at your own risk.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Aggregate data by columns in Pig"</title>
			<link>http://www.datastax.com/support-forums/topic/agregate-data-by-columns-in-pig#post-1828</link>
			<pubDate>Thu, 03 May 2012 15:28:19 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1828@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Would it help to flatten the bag out first? then you can use of foreach or group to re-arrange. &#60;/p&#62;
&#60;p&#62;e.g.&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
p1 = LOAD 'cassandra://keyspace/CF' USING CassandraStorage() AS (key:chararray, columns: bag{T: tuple(property:chararray, value:chararray)});&#60;br /&#62;
p2 = FOREACH p1 GENERATE key, flatten (columns);&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;You'll get a tuples of (key, property, value) and can then filter, split, group by, etc..&#60;/p&#62;
&#60;p&#62;Although, let me know if you're able use GROUP BY or JOIN on the key, I keep getting an error - recently created a post, but no replies yet.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Aggregate data by columns in Pig"</title>
			<link>http://www.datastax.com/support-forums/topic/agregate-data-by-columns-in-pig#post-1821</link>
			<pubDate>Wed, 02 May 2012 16:47:39 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1821@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Probably the only way would be to add all/some of the columns to the metadata so they become separated in the Pig schema.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Aggregate data by columns in Pig"</title>
			<link>http://www.datastax.com/support-forums/topic/agregate-data-by-columns-in-pig#post-1820</link>
			<pubDate>Wed, 02 May 2012 16:35:12 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1820@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I have data in Cassandra in following structure:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[default@data] list values;
Using default limit of 100
-------------------
RowKey: 123:1333065600000
=&#38;gt; (column=16000, value=331, timestamp=1333724446041000)
=&#38;gt; (column=76000, value=314, timestamp=1333724446042000)
=&#38;gt; (column=136000, value=333, timestamp=1333724446043000)
RowKey: 123:1332979200000
=&#38;gt; (column=6000, value=300, timestamp=1333743661692000)
=&#38;gt; (column=66000, value=302, timestamp=1333743661692001)
=&#38;gt; (column=126000, value=303, timestamp=1333743661694000)
=&#38;gt; (column=186000, value=234, timestamp=1333743661695000)
=&#38;gt; (column=246000, value=445, timestamp=1333743661696000)
=&#38;gt; (column=306000, value=331, timestamp=1333743661696001)
=&#38;gt; (column=366000, value=455, timestamp=1333743661698000)
RowKey: 121:1334102400000
=&#38;gt; (column=68608000, value=12, timestamp=1334173122715000)
=&#38;gt; (column=68668000, value=12, timestamp=1334173122715001)&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;In other words - number of columns can differ row per row. Now I need to do aggregation using pig of all values. I cannot change the structure. Any idea how to do that?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Pig error (type mismatch) when using key from CF in join or group"</title>
			<link>http://www.datastax.com/support-forums/topic/pig-error-type-mismatch-when-using-key-from-cf-in-join-or-group#post-1787</link>
			<pubDate>Fri, 27 Apr 2012 16:39:00 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1787@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Using DSE 1.x&#60;br /&#62;
I have a simple CF with UTF8 key, column, &#38;amp; value.&#60;/p&#62;
&#60;p&#62;I can use the column or value in a join or group by, but if I try to use the key, I get the following error:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
Type mismatch in key from map: expected org.apache.pig.impl.io.NullableText, recieved org.apache.pig.impl.io.NullableBytesWritable
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;Simplest example:&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
p1 = LOAD 'cassandra://keyspace/CF' USING CassandraStorage() AS (key:chararray, columns: bag{T: tuple(property:chararray, value:chararray)});&#60;br /&#62;
p2 = group p1 by columns::property;&#60;br /&#62;
dump p2;&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Works just fine, but changing the group by to:&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
p2 = group p1 by key;&#60;br /&#62;
dump p2;&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;will fail with the type mismatch error.&#60;/p&#62;
&#60;p&#62;However, if I do a load, using the same schema, from a text file with lines of the form:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
key {(c1,v1),(c2,v2),(c3,v3)}
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;I can group (or join) by the key successfully.&#60;/p&#62;
&#60;p&#62;Any suggestions for work around?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
John
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Exception when running Pig MapReduce job written in Java"</title>
			<link>http://www.datastax.com/support-forums/topic/exception-when-running-pig-mapreduce-job-written-in-java#post-1747</link>
			<pubDate>Mon, 23 Apr 2012 23:38:54 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1747@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;You need to run with using ./bin/dse script otherwise you won't have &#34;dse.job.tracker&#34; variable (and probably other important ones) set.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Exception when running Pig MapReduce job written in Java"</title>
			<link>http://www.datastax.com/support-forums/topic/exception-when-running-pig-mapreduce-job-written-in-java#post-1654</link>
			<pubDate>Tue, 17 Apr 2012 16:39:54 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1654@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;From the command-line on one of the nodes in the cluster. This is the command I am running:&#60;/p&#62;
&#60;p&#62;java -cp .:./bin:/opt/datastax/dse-2.0-1/resources/hadoop/conf/:/opt/datastax/dse-2.0-1/resources/pig/pig-0.8.3.jar:/opt/datastax/dse-2.0-1/resources/pig/lib/*:/opt/datastax/dse-2.0-1/resources/hadoop/lib/*:/opt/datastax/dse-2.0-1/resources/hadoop/*:/opt/datastax/dse-2.0-1/resources/dse/lib/*:/opt/datastax/dse-2.0-1/lib/dse-2.0-1.jar:/opt/datastax/dse-2.0-1/resources/cassandra/lib/*:/opt/datastax/dse-2.0-1/resources/cassandra/conf/:/opt/datastax/dse-2.0-1/resources/dse/conf/ idmapreduce
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tjake on "Exception when running Pig MapReduce job written in Java"</title>
			<link>http://www.datastax.com/support-forums/topic/exception-when-running-pig-mapreduce-job-written-in-java#post-1653</link>
			<pubDate>Tue, 17 Apr 2012 16:26:01 +0000</pubDate>
			<dc:creator>tjake</dc:creator>
			<guid isPermaLink="false">1653@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;How are you running this job?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Exception when running Pig MapReduce job written in Java"</title>
			<link>http://www.datastax.com/support-forums/topic/exception-when-running-pig-mapreduce-job-written-in-java#post-1652</link>
			<pubDate>Tue, 17 Apr 2012 16:24:36 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1652@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I am trying to run an example Pig MapReduce job written in Java against a multi-node DataStax Enterprise cluster, but I am getting an exception. The example code I am using is found here, in the &#34;Mapreduce Mode&#34; section: &#60;a href=&#34;http://pig.apache.org/docs/r0.9.1/cont.html&#34; rel=&#34;nofollow&#34;&#62;http://pig.apache.org/docs/r0.9.1/cont.html&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;The exception I am getting is:&#60;/p&#62;
&#60;p&#62;org.apache.pig.PigException: ERROR 1002: Unable to store alias B&#60;br /&#62;
        at org.apache.pig.PigServer.storeEx(PigServer.java:889)&#60;br /&#62;
        at org.apache.pig.PigServer.store(PigServer.java:827)&#60;br /&#62;
        at org.apache.pig.PigServer.store(PigServer.java:795)&#60;br /&#62;
        at idmapreduce.runIdQuery(idmapreduce.java:16)&#60;br /&#62;
        at idmapreduce.main(idmapreduce.java:7)&#60;br /&#62;
Caused by: org.apache.pig.backend.executionengine.ExecException: ERROR 2043: Unexpected error during execution.&#60;br /&#62;
        at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.execute(HExecutionEngine.java:403)&#60;br /&#62;
        at org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:1209)&#60;br /&#62;
        at org.apache.pig.PigServer.storeEx(PigServer.java:885)&#60;br /&#62;
        ... 4 more&#60;br /&#62;
Caused by: java.lang.IllegalArgumentException: Does not contain a valid host:port authority: ${dse.job.tracker}:50020&#60;br /&#62;
        at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:170)&#60;br /&#62;
        at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:151)&#60;br /&#62;
        at org.apache.hadoop.mapred.JobTracker.getAddress(JobTracker.java:2567)&#60;br /&#62;
        at org.apache.hadoop.mapred.JobClient.init(JobClient.java:474)&#60;br /&#62;
        at org.apache.hadoop.mapred.JobClient.&#38;lt;init&#38;gt;(JobClient.java:457)&#60;br /&#62;
        at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher.launchPig(MapReduceLauncher.java:122)&#60;br /&#62;
        at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.execute(HExecutionEngine.java:378)&#60;br /&#62;
        ... 6 more&#60;/p&#62;
&#60;p&#62;I think the problem has to do with this line:&#60;/p&#62;
&#60;p&#62;Caused by: java.lang.IllegalArgumentException: Does not contain a valid host:port authority: ${dse.job.tracker}:50020&#60;/p&#62;
&#60;p&#62;but I don't know what it means exactly. Are there some configurations I could be missing in the setup?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Firing PIG queries from Java"</title>
			<link>http://www.datastax.com/support-forums/topic/firing-pig-queries-from-java#post-742</link>
			<pubDate>Wed, 23 Nov 2011 01:46:40 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">742@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;They all also particularly liked that the dresses were flattering on their stomachs.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hati on "Firing PIG queries from Java"</title>
			<link>http://www.datastax.com/support-forums/topic/firing-pig-queries-from-java#post-714</link>
			<pubDate>Fri, 18 Nov 2011 11:16:55 +0000</pubDate>
			<dc:creator>hati</dc:creator>
			<guid isPermaLink="false">714@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Thanks. This got resolved after I worked a bit with the CLASSPATH. But now I am getting this error-&#60;br /&#62;
java.lang.RuntimeException: Cannot instantiate:CassandraStorage&#60;br /&#62;
	at org.apache.pig.impl.PigContext.instantiateFuncFromSpec(PigContext.java:459)&#60;br /&#62;
	at org.apache.pig.impl.logicalLayer.parser.QueryParser.NonEvalFuncSpec(QueryParser.java:5594)&#60;br /&#62;
	at org.apache.pig.impl.logicalLayer.parser.QueryParser.LoadClause(QueryParser.java:1577)&#60;br /&#62;
	at org.apache.pig.impl.logicalLayer.parser.QueryParser.BaseExpr(QueryParser.java:1366)&#60;br /&#62;
	at org.apache.pig.impl.logicalLayer.parser.QueryParser.Expr(QueryParser.java:1013)&#60;br /&#62;
	at org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.java:800)&#60;br /&#62;
	at org.apache.pig.impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanBuilder.java:63)&#60;br /&#62;
	at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1612)&#60;br /&#62;
	at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1562)&#60;br /&#62;
	at org.apache.pig.PigServer.registerQuery(PigServer.java:534)&#60;br /&#62;
	at org.apache.pig.PigServer.registerQuery(PigServer.java:558)&#60;br /&#62;
	at com.ctva.batch.topx.TopXUtility.fireReport(TopXUtility.java:18)&#60;br /&#62;
	at com.ctva.batch.topx.TopXUtility.main(TopXUtility.java:31)&#60;br /&#62;
Caused by: org.apache.pig.backend.executionengine.ExecException: ERROR 1070: Could not resolve CassandraStorage using imports: [, org.apache.pig.builtin., org.apache.pig.impl.builtin.]&#60;br /&#62;
	at org.apache.pig.impl.PigContext.resolveClassName(PigContext.java:444)&#60;br /&#62;
	at org.apache.pig.impl.PigContext.instantiateFuncFromSpec(PigContext.java:456)&#60;br /&#62;
	... 12 more&#60;/p&#62;
&#60;p&#62;Here is my CLASSPATH&#60;br /&#62;
/usr/share/brisk/brisk.jar:/usr/share/brisk/common/log4j-1.2.16.jar:/usr/share/brisk/common/slf4j-api-1.6.1.jar:/usr/share/brisk/common/slf4j-log4j12-1.6.1.jar:/etc/brisk/cassandra:/usr/share/brisk/cassandra/lib/antlr-2.7.7.jar:/usr/share/brisk/cassandra/lib/antlr-3.1.3.jar:/usr/share/brisk/cassandra/lib/antlr-runtime-3.1.3.jar:/usr/share/brisk/cassandra/lib/apache-cassandra-0.8.1-brisk1-beta2.jar:/usr/share/brisk/cassandra/lib/apache-cassandra-cql-1.0.1-20110620.040412-84.jar:/usr/share/brisk/cassandra/lib/apache-cassandra-thrift-0.8.1-brisk1-beta2.jar:/usr/share/brisk/cassandra/lib/avro-1.4.0-cassandra-1.jar:/usr/share/brisk/cassandra/lib/commons-cli-1.1.jar:/usr/share/brisk/cassandra/lib/commons-codec-1.2.jar:/usr/share/brisk/cassandra/lib/commons-collections-3.2.1.jar:/usr/share/brisk/cassandra/lib/commons-lang-2.4.jar:/usr/share/brisk/cassandra/lib/concurrentlinkedhashmap-lru-1.1.jar:/usr/share/brisk/cassandra/lib/guava-r08.jar:/usr/share/brisk/cassandra/lib/high-scale-lib-1.1.1.jar:/usr/share/brisk/cassandra/lib/jackson-core-asl-1.4.0.jar:/usr/share/brisk/cassandra/lib/jackson-mapper-asl-1.4.0.jar:/usr/share/brisk/cassandra/lib/jamm-0.2.1.jar:/usr/share/brisk/cassandra/lib/jetty-6.1.21.jar:/usr/share/brisk/cassandra/lib/jetty-util-6.1.21.jar:/usr/share/brisk/cassandra/lib/jline-0.9.94.jar:/usr/share/brisk/cassandra/lib/joda-time-1.6.2.jar:/usr/share/brisk/cassandra/lib/json-simple-1.1.jar:/usr/share/brisk/cassandra/lib/jug-2.0.0-asl.jar:/usr/share/brisk/cassandra/lib/libthrift-0.6.0.jar:/usr/share/brisk/cassandra/lib/servlet-api-2.5-20081211.jar:/usr/share/brisk/cassandra/lib/slf4j-api-1.6.1.jar:/usr/share/brisk/cassandra/lib/snakeyaml-1.6.jar:/usr/share/brisk/cassandra/lib/snappy-java-1.0.3-20110604.005740-2.jar:/usr/share/brisk/cassandra/lib/stringtemplate-3.2.jar:/usr/share/brisk/brisk.jar:/usr/share/brisk/hive/lib/hive-cassandra-handler-0.7.0-brisk1-beta2.jar:/usr/share/brisk/hadoop:/usr/share/brisk/hadoop:/etc/brisk/hadoop:/usr/share/brisk/hadoop/*.jar:/usr/share/brisk/hadoop/lib/ant-1.6.5.jar:/usr/share/brisk/hadoop/lib/commons-beanutils-1.7.0.jar:/usr/share/brisk/hadoop/lib/commons-beanutils-core-1.8.0.jar:/usr/share/brisk/hadoop/lib/commons-cli-1.2.jar:/usr/share/brisk/hadoop/lib/commons-codec-1.4.jar:/usr/share/brisk/hadoop/lib/commons-collections-3.2.1.jar:/usr/share/brisk/hadoop/lib/commons-configuration-1.6.jar:/usr/share/brisk/hadoop/lib/commons-digester-1.8.jar:/usr/share/brisk/hadoop/lib/commons-el-1.0.jar:/usr/share/brisk/hadoop/lib/commons-httpclient-3.0.1.jar:/usr/share/brisk/hadoop/lib/commons-lang-2.4.jar:/usr/share/brisk/hadoop/lib/commons-logging-1.0.4.jar:/usr/share/brisk/hadoop/lib/commons-math-2.1.jar:/usr/share/brisk/hadoop/lib/commons-net-1.4.1.jar:/usr/share/brisk/hadoop/lib/core-3.1.1.jar:/usr/share/brisk/hadoop/lib/ftplet-api-1.0.0.jar:/usr/share/brisk/hadoop/lib/ftpserver-core-1.0.0.jar:/usr/share/brisk/hadoop/lib/ftpserver-deprecated-1.0.0-M2.jar:/usr/share/brisk/hadoop/lib/hadoop-core-0.20.203.1-brisk1-beta2.jar:/usr/share/brisk/hadoop/lib/hadoop-examples-0.20.203.1-brisk1-beta2.jar:/usr/share/brisk/hadoop/lib/hadoop-fairscheduler-0.20.203.1-brisk1.jar:/usr/share/brisk/hadoop/lib/hadoop-streaming-0.20.203.1-brisk1-beta2.jar:/usr/share/brisk/hadoop/lib/hadoop-test-0.20.203.1-brisk1-beta2.jar:/usr/share/brisk/hadoop/lib/hadoop-tools-0.20.203.1-brisk1-beta2.jar:/usr/share/brisk/hadoop/lib/hsqldb-1.8.0.10.jar:/usr/share/brisk/hadoop/lib/jasper-compiler-5.5.12.jar:/usr/share/brisk/hadoop/lib/jasper-runtime-5.5.12.jar:/usr/share/brisk/hadoop/lib/jets3t-0.7.1.jar:/usr/share/brisk/hadoop/lib/jetty-6.1.26.jar:/usr/share/brisk/hadoop/lib/jetty-util-6.1.26.jar:/usr/share/brisk/hadoop/lib/jsp-2.1-6.1.14.jar:/usr/share/brisk/hadoop/lib/jsp-api-2.1-6.1.14.jar:/usr/share/brisk/hadoop/lib/junit-3.8.1.jar:/usr/share/brisk/hadoop/lib/kfs-0.3.jar:/usr/share/brisk/hadoop/lib/mina-core-2.0.0-M5.jar:/usr/share/brisk/hadoop/lib/oro-2.0.8.jar:/usr/share/brisk/hadoop/lib/servlet-api-2.5-20081211.jar:/usr/share/brisk/hadoop/lib/servlet-api-2.5-6.1.14.jar:/usr/share/brisk/hadoop/lib/xmlenc-0.52.jar:/usr/share/brisk/pig/lib/ant-1.6.5.jar:/usr/share/brisk/pig/lib/commons-httpclient-3.1.jar:/usr/share/brisk/pig/lib/jackson-core-asl-1.4.2.jar:/usr/share/brisk/pig/lib/jetty-util-6.1.14.jar:/usr/share/brisk/pig/lib/paranamer-2.2.jar:/usr/share/brisk/pig/lib/xmlenc-0.52.jar:/usr/share/brisk/pig/lib/asm-3.2.jar:/usr/share/brisk/pig/lib/commons-lang-2.5.jar:/usr/share/brisk/pig/lib/jackson-mapper-asl-1.4.2.jar:/usr/share/brisk/pig/lib/jsp-2.1-6.1.14.jar:/usr/share/brisk/pig/lib/paranamer-ant-2.2.jar:/usr/share/brisk/pig/lib/avro-1.3.2.jar:/usr/share/brisk/pig/lib/commons-logging-1.0.4.jar:/usr/share/brisk/pig/lib/jasper-compiler-5.5.12.jar:/usr/share/brisk/pig/lib/jsp-api-2.1-6.1.14.jar:/usr/share/brisk/pig/lib/paranamer-generator-2.2.jar:/usr/share/brisk/pig/lib/commons-cli-1.2.jar:/usr/share/brisk/pig/lib/commons-net-1.4.1.jar:/usr/share/brisk/pig/lib/jasper-runtime-5.5.12.jar:/usr/share/brisk/pig/lib/junit-4.8.1.jar:/usr/share/brisk/pig/lib/pig-0.8.3.jar:/usr/share/brisk/pig/lib/commons-codec-1.4.jar:/usr/share/brisk/pig/lib/core-3.1.1.jar:/usr/share/brisk/pig/lib/jets3t-0.7.1.jar:/usr/share/brisk/pig/lib/kfs-0.3.jar:/usr/share/brisk/pig/lib/qdox-1.10.1.jar:/usr/share/brisk/pig/lib/commons-el-1.0.jar:/usr/share/brisk/pig/lib/hsqldb-1.8.0.10.jar:/usr/share/brisk/pig/lib/jetty-6.1.14.jar:/usr/share/brisk/pig/lib/oro-2.0.8.jar:/usr/share/brisk/pig/lib/servlet-api-2.5-6.1.14.jar
&#60;/p&#62;</description>
		</item>
		<item>
			<title>zznate on "Firing PIG queries from Java"</title>
			<link>http://www.datastax.com/support-forums/topic/firing-pig-queries-from-java#post-680</link>
			<pubDate>Wed, 16 Nov 2011 18:37:51 +0000</pubDate>
			<dc:creator>zznate</dc:creator>
			<guid isPermaLink="false">680@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Can you print the classpath as pig begins to execute and make sure all the jars are there? This may simply be a matter of stepping on env. variables somewhere as well. &#60;/p&#62;
&#60;p&#62;Take a look at this section in DSE_HOME/bin/dse-env.sh and make sure it works with how you are invoking pig: &#60;/p&#62;
&#60;p&#62;export PIG_HOME=&#60;code&#62;dirname $0&#60;/code&#62;/../resources/pig&#60;br /&#62;
export PIG_CLASSPATH=$HADOOP_HOME/conf:$CLASSPATH&#60;br /&#62;
# pig also needs some of hadoop's dependencies&#60;br /&#62;
for jar in &#34;$HADOOP_HOME&#34;/*.jar &#34;$HADOOP_HOME&#34;/lib/*.jar; do&#60;br /&#62;
    PIG_CLASSPATH=$PIG_CLASSPATH:$jar&#60;br /&#62;
done
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
