<?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; Topic: 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</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Sun, 19 May 2013 15:10:50 +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/topic/exception-when-running-pig-mapreduce-job-written-in-java" rel="self" type="application/rss+xml" />

		<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>

	</channel>
</rss>
