by copying and modifying that class. This code would show you how
> to get ahold of a DatanodeDescriptor and then use it to call
> getStorageInfos.
>
> Hope this helps.
>
> Chris Nauroth
> Hortonworks
> http://hortonworks.com/
>
>
> On Fri, Jan 2, 2015 at 10:12 AM
Hi,
I am working on implementing a custom placement policy. So I created a
class that extends BlockPlacementPolicy. I am trying to get a list of all
DatanodeStorageInfo objects in order to be able to decide which one to
choose for placement (based on certain criteria), this is the logic of
chooseT