HBASE-16804 JavaHBaseContext.streamBulkGet is void but should be JavaDStream (Igor Yurinok)

This commit is contained in:
tedyu 2016-10-10 19:34:21 -07:00
parent 0f21c41eda
commit 83fc59d5c9
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ class JavaHBaseContext(@transient jsc: JavaSparkContext,
batchSize: Integer,
javaDStream: JavaDStream[T],
makeGet: Function[T, Get],
convertResult: Function[Result, U]) {
convertResult: Function[Result, U]): JavaDStream[U] = {
JavaDStream.fromDStream(hbaseContext.streamBulkGet(tableName,
batchSize,
javaDStream.dstream,