hadoop - Block assignation using network topology -


if understood principles when applying network topology, blocks written:

  • on client server if hosting datanode
  • on second server defined on different rack
  • on third server defined on same rack #2

is policy configurable or “hard-written” in class? of course, not want modify class myself…

basically, to:

  1. take account datacenter (according read, hdfs not care datacenters if using network topology)

  2. force write in 3 distinct racks

how do that?

there capability override baseline block allocation algorithm involve writing quite bit of java code , there aren't real examples out there. here blog link jira ticket explaining enhancement:


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -