ifndef-SleePy commented on a change in pull request #6770:  [FLINK-10002] 
[Webfrontend] WebUI shows jm/tm logs more friendly.
URL: https://github.com/apache/flink/pull/6770#discussion_r226154751
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/blob/BlobClient.java
 ##########
 @@ -373,6 +373,54 @@ BlobKey putInputStream(@Nullable JobID jobId, InputStream 
inputStream, BlobKey.B
                }
        }
 
+       /**
+        * Uploads a given size of data from the given input stream to the BLOB 
server.
+        *
+        * @param jobId
+        *              the ID of the job the BLOB belongs to (or <tt>null</tt> 
if job-unrelated)
+        * @param inputStream
+        *              the input stream to read the data from
+        * @param blobType
+        *              whether the BLOB should become permanent or transient
+        * @return the computed BLOB key of the uploaded BLOB
+        *
+        * @param count the size of data to upload
+        *
+        * @return the computed BLOB key of the uploaded BLOB
+        *
+        * @throws IOException
+        *              thrown if an I/O error occurs while uploading the data 
to the BLOB server
+        */
+       BlobKey putInputStream (@Nullable JobID jobId, InputStream inputStream, 
BlobKey.BlobType blobType, long count)
 
 Review comment:
   ```suggestion
        BlobKey putInputStream(@Nullable JobID jobId, InputStream inputStream, 
BlobKey.BlobType blobType, long count)
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to