-Re: Help - Rack Topology Script - Hadoop 0.20 (CDH3u1)
Joey Echeverria 2011-08-21, 14:22
Not that I know of.
On Fri, Aug 19, 2011 at 1:16 PM, modemide <[EMAIL PROTECTED]> wrote:
> Ha, what a silly mistake.
> Thank you Joey.
> Do you also happen to know of an easier way to tell which racks the
> jobtracker/namenode think each node is in?
> On 8/19/11, Joey Echeverria <[EMAIL PROTECTED]> wrote:
>> Did you restart the JobTracker?
>> On Fri, Aug 19, 2011 at 12:45 PM, modemide <[EMAIL PROTECTED]> wrote:
>>> Hi all,
>>> I've tried to make a rack topology script. I've written it in python
>>> and it works if I call it with the following arguments:
>>> 10.2.0.1 10.2.0.11 10.2.0.11 10.2.0.12 10.2.0.21 10.2.0.26 10.2.0.31
>>> The output is:
>>> /rack0 /rack1 /rack1 /rack1 /rack2 /rack2 /rack3 /rack3
>>> Should the output be on newlines or is any whitespace sufficient?
>>> Additionally, my cluster's datanodes have DNS names such as:
>>> I restarted the namenode in my running cluster (after configuring the
>>> topology script setting in core-site.xml).
>>> I ran a job and checked what the job tracker thinks the rack id's are
>>> and it showed default-rack.
>>> Can anyone tell me what I'm doing wrong?
>> Joseph Echeverria
>> Cloudera, Inc.