Streaming Data to HDFS via webHDFS protocol

325 Views Asked by At

We like to write a streaming data to HDFS using Webhdfs( https) protocol. Is that possible ?

1

There are 1 best solutions below

0
On

Yes. After acquiring the stream handle from CREATE/APPEND you have to set the connection to be chunked, using HttpURLConnection.setChunkedStreamingMode(CHUNK_SIZE)