Streaming Data to HDFS via webHDFS protocol

318 views Asked by At

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

1

There are 1 answers

0
theTrickster On

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