<?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: Is it OK to manually specify the jobtracker in mapred-site.xml</title>
		<link>http://www.datastax.com/support-forums/topic/is-it-ok-to-manually-specify-the-jobtracker-in-mapred-sitexml</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Thu, 20 Jun 2013 04:45:38 +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/is-it-ok-to-manually-specify-the-jobtracker-in-mapred-sitexml" rel="self" type="application/rss+xml" />

		<item>
			<title>joaquin on "Is it OK to manually specify the jobtracker in mapred-site.xml"</title>
			<link>http://www.datastax.com/support-forums/topic/is-it-ok-to-manually-specify-the-jobtracker-in-mapred-sitexml#post-122</link>
			<pubDate>Thu, 26 May 2011 16:53:10 +0000</pubDate>
			<dc:creator>joaquin</dc:creator>
			<guid isPermaLink="false">122@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;The reason that the jobtracker is set that way is to allow Brisk to elect a job tracker in the event that the currently elected one fails, thereby eliminating job trackers as a single point of failure.&#60;/p&#62;
&#60;p&#62;You could either change your map-reduce job to evaluate the statement, which I would recommend, or you can specify the jobtracker yourself.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>matt on "Is it OK to manually specify the jobtracker in mapred-site.xml"</title>
			<link>http://www.datastax.com/support-forums/topic/is-it-ok-to-manually-specify-the-jobtracker-in-mapred-sitexml#post-120</link>
			<pubDate>Thu, 26 May 2011 01:23:53 +0000</pubDate>
			<dc:creator>matt</dc:creator>
			<guid isPermaLink="false">120@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;All,&#60;/p&#62;
&#60;p&#62;This is something I've tried, and it seems to work, but I don't know if it's due to coincidence.  I have a map-reduce job that we have been running for ages on a regular hadoop cluster.  For some reason, it appears to be manually checking mapred-site.xml for the jobtracker address, and when I leave it set to the default, the job fails with:&#60;/p&#62;
&#60;p&#62;java.lang.RuntimeException: Not a host:port pair: ${brisk.job.tracker}&#60;br /&#62;
    at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:138)&#60;br /&#62;
    at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:125)&#60;br /&#62;
    at org.apache.hadoop.mapred.JobTracker.getAddress(JobTracker.java:2549)&#60;br /&#62;
    at org.apache.hadoop.mapred.JobClient.init(JobClient.java:454)&#60;br /&#62;
    at org.apache.hadoop.mapred.JobClient.&#38;lt;init&#38;gt;(JobClient.java:437)&#60;br /&#62;
    at org.apache.hadoop.mapreduce.Job$1.run(Job.java:477)&#60;br /&#62;
    at java.security.AccessController.doPrivileged(Native Method)&#60;br /&#62;
    at javax.security.auth.Subject.doAs(Subject.java:396)&#60;br /&#62;
    at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1059)&#60;br /&#62;
    at org.apache.hadoop.mapreduce.Job.connect(Job.java:475)&#60;br /&#62;
    at org.apache.hadoop.mapreduce.Job.submit(Job.java:464)&#60;br /&#62;
    at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:494)&#60;br /&#62;
....&#60;/p&#62;
&#60;p&#62;However, if I explicitly set the job tracker address in mapred-site.xml everything seems to work fine.  But I'm not sure if the cluster will ever elect a job tracker that isn't the one I specify, thereby screwing things up.  I realize that by explicitly setting it, I lose a great deal of flexibility, but will it actively break anything?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Matt
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
