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

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

                Author: ASF GitHub Bot
            Created on: 21/Dec/21 18:30
            Start Date: 21/Dec/21 18:30
    Worklog Time Spent: 10m 
      Work Description: egalpin commented on pull request #16309:
URL: https://github.com/apache/beam/pull/16309#issuecomment-999002295


   Thanks very much @khersey, great catch.  This didn't previously get caught 
by tests because it only surfaces in cases where `ElasticsearchIO#bulkIO` is 
called on its own and not as part of calling `ElasticsearchIO#write`.
   
   @khersey Could you please add a test like 
`ElasticsearchIOTestCommon#testWrite` but chaining together 
`ElasticsearchIO#docToBulk` and `ElasticsearchIO#bulkIO` separately?


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

            Worklog Id:     (was: 699562)
    Remaining Estimate: 10m  (was: 20m)
            Time Spent: 50m  (was: 40m)

> BulkIO public constructor: Missing required property: throwWriteErrors
> ----------------------------------------------------------------------
>
>                 Key: BEAM-13503
>                 URL: https://issues.apache.org/jira/browse/BEAM-13503
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-elasticsearch
>    Affects Versions: 2.35.0
>            Reporter: Kyle Hersey
>            Priority: P2
>              Labels: elasticsearch
>   Original Estimate: 1h
>          Time Spent: 50m
>  Remaining Estimate: 10m
>
> Using 2.35.0 latest RC to debug an issue while writing to Elasticsearch, but 
> ran into a build issue:
> {code:java}
> java.lang.IllegalStateException: Missing required properties: 
> throwWriteErrors {code}
> Tracing this error through throwWriteErrors is not Nullable, and is therefor 
> required in the AutoValue_ElasticsearchIO_BuilkIO$Builder
> Should be an easy fix, just need to set a default value for it.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to