[ 
https://issues.apache.org/jira/browse/BEAM-7450?focusedWorklogId=252068&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-252068
 ]

ASF GitHub Bot logged work on BEAM-7450:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 31/May/19 21:29
            Start Date: 31/May/19 21:29
    Worklog Time Spent: 10m 
      Work Description: apilloud commented on issue #8718: [BEAM-7450] - Add an 
unbounded HcatalogIO reader using splittable pardo
URL: https://github.com/apache/beam/pull/8718#issuecomment-497866247
 
 
   Test failure looks real.
   ```
   
   java.lang.IllegalArgumentException: 
org.apache.beam.sdk.io.hcatalog.PartitionPoller, @ProcessElement 
processElement(ProcessContext, PartitionRangeTracker): Has tracker type 
PartitionRangeTracker, but the DoFn's tracker type must be of type 
RestrictionTracker.
        at 
org.apache.beam.sdk.transforms.reflect.DoFnSignatures$ErrorReporter.throwIllegalArgument(DoFnSignatures.java:1495)
        at 
org.apache.beam.sdk.transforms.reflect.DoFnSignatures$ErrorReporter.checkArgument(DoFnSignatures.java:1500)
        at 
org.apache.beam.sdk.transforms.reflect.DoFnSignatures.verifySplittableMethods(DoFnSignatures.java:595)
        at 
org.apache.beam.sdk.transforms.reflect.DoFnSignatures.parseSignature(DoFnSignatures.java:474)
        at 
org.apache.beam.sdk.transforms.reflect.DoFnSignatures.lambda$getSignature$0(DoFnSignatures.java:140)
        at java.util.HashMap.computeIfAbsent(HashMap.java:1127)
        at 
org.apache.beam.sdk.transforms.reflect.DoFnSignatures.getSignature(DoFnSignatures.java:140)
        at org.apache.beam.sdk.transforms.ParDo.validate(ParDo.java:547)
        at org.apache.beam.sdk.transforms.ParDo.of(ParDo.java:397)
        at 
org.apache.beam.sdk.io.hcatalog.HCatalogUnboundedReader.expand(HCatalogUnboundedReader.java:110)
        at 
org.apache.beam.sdk.io.hcatalog.HCatalogUnboundedReader.expand(HCatalogUnboundedReader.java:77)
        at org.apache.beam.sdk.Pipeline.applyInternal(Pipeline.java:537)
        at org.apache.beam.sdk.Pipeline.applyTransform(Pipeline.java:471)
        at org.apache.beam.sdk.values.PCollection.apply(PCollection.java:357)
        at 
org.apache.beam.sdk.io.hcatalog.HCatalogIOTest.testWriteThenUnboundedReadSuccess(HCatalogIOTest.java:220)
   ```
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 252068)
    Time Spent: 0.5h  (was: 20m)

> Unbounded HCatalogIO Reader using splittable pardos
> ---------------------------------------------------
>
>                 Key: BEAM-7450
>                 URL: https://issues.apache.org/jira/browse/BEAM-7450
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-java-core
>            Reporter: Ankit Jhalaria
>            Assignee: Ankit Jhalaria
>            Priority: Minor
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> # Current version of HcatalogIO is a bounded source.
>  # While migrating our jobs to aws, we realized that it would be helpful to 
> have an unbounded hcat reader that can behave as an unbounded source and 
> polls for new partitions as and when they become available.
>  # I have used splittable pardo(s) to do this. There is a flag that can be 
> set to treat this as a bounded source which will terminate if that flag is 
> set.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to