Re: Read or Save specific blocks of a file

2018-04-24 Thread Thodoris Zois
; > > > > On 4/23/18, 5:26 PM, "Daniel Templeton" > > wrote: > > > > I'm not aware of a way to work with blocks using the public > > APIs. The > > easiest way to do it is probably to retrieve the block IDs and > > then go > >

Read or Save specific blocks of a file

2018-04-23 Thread Thodoris Zois
Hello list, I have a file on HDFS that is divided into 10 blocks (partitions). Is there any way to retrieve data from a specific block? (e.g: using the blockID). Except that, is there any option to write the contents of each block (or of one block) into separate files? Thank you very much, Th