HDFS Cheat Sheet by Matthew Rathbone
CComeony ued commands fr HOF, This nt nexus Il it th mot ued aon day ta day bai,
Using Fes
“Tiss how youinspect HFS to see what contains. Use these commando fd
‘te and aso meade
esoep f2 20 slecamie — UstResina dreary
ado f - sites ting a pater
adoop f2 0-2 st fes wth pumar iene sizes on 13M
exaote vw 31s25)
adoop f2 10 -# Feoursvely it sin Bis decry AND ache
exarote erccenes,
adoop f2 30 -a Lsifes, butt decors shown 26s So
exaoie Int caso wil shor el bau ne are
fer
LUpiossina/Domnioacina Files
Mong tes btneen HFS and lol Seyetm and bask.
=a LUpsad ie rom youroea maze apace
sAoentstevtst s/errpie) —credey/on HOFS.
——— pad te ane ovr sy eng eon
sPrecatsiestst «/etarpie! HFS.
Ee
sProcntsiestst «/ezreie) babi shoul ee realy we fi)
Doane fe om HOFS oyu cl
eset mathe
=e Dolo fa am HOS a yout el
cforoleloenctetLiesnt Maxine, pesning metadata ep medio
u tn
asoop £2 aot Dood a settle tha mach a paterno
fener! stat yeurleal mache.
Reading & Witing Fes
Feasra fe cones wiht domloding he He st
SS Pont ne cotta leone minal
feanpie/#81et ecompresting fresco
Ls Ponto te terminal ne coments tales at
fevanpie/*-oee atch th proved pat Nt = is wal NOT
ecomorss the et wll
oceoe fe (-cate-tere) ~ Ababov, butalste te verleaon checeum.
eceoe f= sppensTerLie Append me caret toca eo fe on
“ocattiestxt HFS. Theis ny supertg in Hadoop versions
Venampe/smctetiiestxt) 2M
Fe Management
Orga yours wi ese cra.
I Move foto a diferent Satdrocery (ont te
fevanpie/ #22 flonare tram the sare)
Es copy ao ieee lect (ort
ope. Alene torare the sare)
Es Della he (ents the tosh)
Actual doth oN wash
a Recut delete a cect df cones
SS ‘tote ee ng fl great or costng
fesanpie/seaetite SUCCESS es)
a ‘tote aren fl great fo costng
fesanpie/scaetine SUCCESS Hes)
HOFS Administration
(Check on ipo su het less abut youre and mare abt HOFS.
echoe G2 a A Jone Stow pus aru apace teeta.
Wilston parton spo remaring youve
prions
‘sho thoamountof pace estat hs
aceon ¢2 -snpenge Enmpy ho Tras (self you wont
sta)
ore Change omersip ofa ese fo the
coneetgromp Jeremie ect)
acess 42 -nsea cv00 Ghangothe mde to (ot 0700)
SS Fetch chock ron fhe atti
ee fle (eqtes a dtanode ound, sw and
ens)