Archive for March, 2009

worst feeling yet

March 30, 2009

drowning in snot.

Advertisements

1001 rules for my unborn son

March 30, 2009

check this out

My list of forbidden foods

March 27, 2009

bat meat

endangered bush meat

Current state of affairs

March 26, 2009

In the ISI news of the day, we come across this perfidy:
“In a sign of just how resigned Western officials are to the ties, the British government has sent several dispatches to Islamabad in recent months asking that the ISI use its strategy meetings with the Taliban to persuade its commanders to scale back violence in Afghanistan before the August presidential election there, according to one official.”

Read more here

Most nutritious drink ever.

March 26, 2009

Who would want to miss out on this: yummy

Final resolution

March 26, 2009

For all the hadoop-1212 errors, the namespaceID makes the difference.

Write a script or do it manually, but get the namespaceIDs right.

The ID in the /tmp/hadoop-uid/dfs/data/current/VERSION on all datanodes should match the ID on the namenode.

links for 2009-03-25

March 26, 2009

hadoop termination

March 26, 2009

I am on a post-roll today.

I was trying to terminate my hadoop cluster setup today using stop-mapred.sh/stop-dfs.sh and finally stop-all.sh. None of that worked.

Came across this

I am not that fancy but that gave enough information as to what might be the problem and the solution.

The hunt began.

jps result

36353 DataNode
28142
36585 JobTracker
36653 TaskTracker
80780 Jps
36420 SecondaryNameNode
36281 NameNode

But……when you check /tmp/hadoop-uid-namenode.pid = 79529
Something is clearly wrong there.

Workaround.
$ps aux | grep java | grep “NameNode” | awk ‘{print $2}’ > /tmp/hadoop-uid-namenode.pid

Do that for all the java processes.

UPDATE: damn, that did not work.
Followed the order in the stop-all.sh file and manually killed each process from the pid files.

stop-mapred.sh > stop-dfs.sh
jobtracker(M)> tasktracker(M,S)> namenode(M)< datanode(M,S)< secondarynamenode(M)

use kill -9, -3 chickened out

pet peeve these days

March 26, 2009

the word sustainable

hadoop noob

March 25, 2009

Just starting out. 

Current setup

1 namenode

1 jobtracker

2 datanodes – dual quad core 64 bit MacPros

excellent tutorial here