apache / apache/beam

Support to submit Jobs using HBaseIO to DataflowRunner without local access to HBase Cluster

Open
#21,165 0 comments 0 reactions 0 assignees View on GitHub
core improvement java P3
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

*****Context*****

As of today HBase IO interacts with Hbase cluster while building execution graph for validating the existence of table, etc 

https://github.com/apache/beam/blob/master/sdks/java/io/hbase/src/main/java/org/apache/beam/sdk/io/hbase/HBaseIO.java#L237

In certain scenarios dataflow jobs are launched from systems that does not have network access to Hbase cluster during graph construction stage. but can access only during execution time on google cloud. However due to current implementation of local access to HbaseIO, the job can be launched only from systems that has network access to Hbase Cluster.

*****Requirement*****

 Modify HbaseIO to accept a flag (say hasLocalAccess) and if flag is set to false defer validations , split calculation logic etc to job execution time rather than job construction time.

 

Imported from Jira [BEAM-13141](https://issues.apache.org/jira/browse/BEAM-13141). Original Jira may contain additional context.
Reported by: prathapreddy22.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.