beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Borisa Zivkovic (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-1702) Add support for local execution to BigtableIO using the google cloud emulator
Date Wed, 10 May 2017 14:17:04 GMT

    [ https://issues.apache.org/jira/browse/BEAM-1702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16004743#comment-16004743
] 

Borisa Zivkovic commented on BEAM-1702:
---------------------------------------

This already works if we do

BigtableOptions.Builder optionsBuilder =
				  new BigtableOptions.Builder()
				 .setProjectId(PROJECT_NAME)
 .setInstanceId(INSTANCE_ID).setDataHost("localhost").setUsePlaintextNegotiation(true).setInstanceAdminHost("localhost").setTableAdminHost("localhost").setPort(PORT);

I could add new feature in BigTableIO

withLocalhost(String localhost){} where I automatically turn on following:

setDataHost("localhost").setUsePlaintextNegotiation(true).setInstanceAdminHost("localhost").setTableAdminHost("localhost")

what do you think?



> Add support for local execution to BigtableIO using the google cloud emulator
> -----------------------------------------------------------------------------
>
>                 Key: BEAM-1702
>                 URL: https://issues.apache.org/jira/browse/BEAM-1702
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-java-gcp
>            Reporter: Ismaël Mejía
>            Assignee: Borisa Zivkovic
>            Priority: Minor
>              Labels: newbie, starter
>
> Following the ongoing work to support this on DatastoreIO (BEAM-923), it makes sense
to support this too.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message