flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fpompermaier <...@git.apache.org>
Subject [GitHub] incubator-flink pull request: Upgraded APIs: Flink (0.8) and HBase...
Date Tue, 04 Nov 2014 22:58:46 GMT
Github user fpompermaier commented on a diff in the pull request:

    --- Diff: flink-addons/flink-hbase/src/main/java/org/apache/flink/addons/hbase/common/HBaseResult.java
    @@ -21,10 +21,15 @@
     import java.io.IOException;
    +import org.apache.flink.api.java.typeutils.runtime.DataInputViewStream;
     import org.apache.flink.core.memory.DataInputView;
     import org.apache.flink.core.memory.DataOutputView;
    +import org.apache.flink.core.memory.DataOutputViewStream;
     import org.apache.flink.types.Value;
     import org.apache.hadoop.hbase.client.Result;
    +import org.apache.hadoop.hbase.mapreduce.ResultSerialization;
    +import org.apache.hadoop.io.serializer.Deserializer;
    +import org.apache.hadoop.io.serializer.Serializer;
     public class HBaseResult implements Value {
    --- End diff --
    The problem with this is that an HBase DataSource is of type <ImmutableBytesWritable,
Result> but result is not writable..How do you suggest to proceed? How should be typed
of the OutputFormat? Tuple2<ImmutableBytesWritable, Result> or another type?

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