flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From delding <...@git.apache.org>
Subject [GitHub] flink issue #2332: [FLINK-2055] Implement Streaming HBaseSink
Date Tue, 20 Sep 2016 21:37:59 GMT
Github user delding commented on the issue:

    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.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message