[
https://issues.apache.org/jira/browse/FLINK-2055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15507872#comment-15507872
]
ASF GitHub Bot commented on FLINK-2055:
---------------------------------------
Github user delding commented on the issue:
https://github.com/apache/flink/pull/2332
Hi @fhueske , I have updated this PR to address your comments. In this
change, only one MutationActions and two ArralyList are needed for entire
stream, MutationActions is now resettable. But I replaced MutationActions
actions(IN value) with void actions(IN value, MutationActions actions) instead
of void actions(IN value, List<Mutation> actions) as you suggested. Because in
this case, user can still utilize MutationActions's API to handle Mutations
creation logic which makes user easier to code. I also added a connect() method
as @ramkrish86 suggested, but didn't explicitly check existence of table in the
code, because once Admin#tableExists is added a NoSuchColumnFamilyException
will be thrown during running the example. I have no idea why this happens...
For now, if table doesn't exist, a table not existence Exception will be thrown
until HBaseClient#send() is called.
> Implement Streaming HBaseSink
> -----------------------------
>
> Key: FLINK-2055
> URL: https://issues.apache.org/jira/browse/FLINK-2055
> Project: Flink
> Issue Type: New Feature
> Components: Streaming, Streaming Connectors
> Affects Versions: 0.9
> Reporter: Robert Metzger
> Assignee: Erli Ding
>
> As per :
> http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Write-Stream-to-HBase-td1300.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)