HBASE-16804 JavaHBaseContext.streamBulkGet is void but should be JavaDStream (Igor Yurinok)
This commit is contained in:
parent
0f21c41eda
commit
83fc59d5c9
|
@ -281,7 +281,7 @@ class JavaHBaseContext(@transient jsc: JavaSparkContext,
|
||||||
batchSize: Integer,
|
batchSize: Integer,
|
||||||
javaDStream: JavaDStream[T],
|
javaDStream: JavaDStream[T],
|
||||||
makeGet: Function[T, Get],
|
makeGet: Function[T, Get],
|
||||||
convertResult: Function[Result, U]) {
|
convertResult: Function[Result, U]): JavaDStream[U] = {
|
||||||
JavaDStream.fromDStream(hbaseContext.streamBulkGet(tableName,
|
JavaDStream.fromDStream(hbaseContext.streamBulkGet(tableName,
|
||||||
batchSize,
|
batchSize,
|
||||||
javaDStream.dstream,
|
javaDStream.dstream,
|
||||||
|
|
Loading…
Reference in New Issue