|
|
-
How to convert the local block to InputStreamVivi Lang 2012-10-31, 21:37
Hi guys,
I would like to know if I need read certain block b1 in datanode n1 and b1 has a replica in datanode n1, how can I get that work? For example, I want to encode block b1 in datanode n1. More specifically, how can I get the content of block b1 directly so that I can convert it to a InputStream Thanks |