P. 1
Unix Commands Hadoop

Unix Commands Hadoop

|Views: 33|Likes:
Published by matharb

More info:

Published by: matharb on Jul 06, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as TXT, PDF, TXT or read online from Scribd
See more
See less

01/05/2013

pdf

text

original

//hadoop safe mode off command

hadoop dfsadmin -safemode leave
find foldername -name filename
//replcae the content after the last accurance of '/'
=====================================================
echo "/data/senthil/Processed_at_2011010107202021/a.txt" | sed -r 's/(.*)\/.*/\
1/'
// replace comment.
===================
:%s/text1/text2/g[return]

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->