Talend 7.1 to bigquery Issue

Four Stars

Talend 7.1 to bigquery Issue

I have written a simple job to transfer data to bigquery. The job is running fine(checked it using tLogRow). The data gets transfered till Google Cloud Storage but not in big query. I have created the target table in bigquery with same schema as I am generating.

 

5.PNG

 

Following is the error I am getting. Help would be appreciated.

 

Starting job faizi at 21:35 27/12/2018.

[statistics] connecting to socket on port 3515
[statistics] connected
[WARN ]: org.jets3t.service.utils.Mimetypes - Unable to find 'mime.types' file in classpath
Exception in component tBigQueryOutput_2_tBQBE (faizi)
java.lang.RuntimeException: Job failed: BigQueryError{reason=accessDenied, location=null, message=Access Denied: File gs://talend_my/aircraft_dim.csv: Access Denied}
at demo.faizi_0_1.faizi.tRowGenerator_1Process(faizi.java:1617)
at demo.faizi_0_1.faizi.runJobInTOS(faizi.java:1980)
at demo.faizi_0_1.faizi.main(faizi.java:1802)
[FATAL]: demo.faizi_0_1.faizi - tBigQueryOutput_2_tBQBE Job failed: BigQueryError{reason=accessDenied, location=null, message=Access Denied: File gs://talend_my/aircraft_dim.csv: Access Denied}
java.lang.RuntimeException: Job failed: BigQueryError{reason=accessDenied, location=null, message=Access Denied: File gs://talend_my/aircraft_dim.csv: Access Denied}
at demo.faizi_0_1.faizi.tRowGenerator_1Process(faizi.java:1617)
at demo.faizi_0_1.faizi.runJobInTOS(faizi.java:1980)
at demo.faizi_0_1.faizi.main(faizi.java:1802)
[statistics] disconnected

Job faizi ended at 21:35 27/12/2018. [exit code=1]

 

Talend Version

Talend Cloud Data Management Platform

Version: 7.1.1

Highlighted
Employee

Re: Talend 7.1 to bigquery Issue

Hi,

 

    The job error is saying that you are having access issues to target area in Google storage.

 

BigQueryError{reason=accessDenied, location=null, message=Access Denied: File gs://talend_my/aircraft_dim.csv: Access Denied

 

Could you please provide access to the target folder and I hope it should be fine after that.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved :-)

Four Stars

Re: Talend 7.1 to bigquery Issue

Hi Nikhil.

 

I am Shanker. I joined today in this community. We are evaluating Talend as ETL in cloud.

in this evaluation, I am seeing some times issues. I hope to get some help.

for example:

Question1:  I made a test to read the data from BQ and display in Talend and also write it to file. Also made a test to read from BQ and write it to target table in BQ. But during writing to target table, I read the writing to 'local file' is required. can you confirm please if it is the way it works, writes the data to file in directory workspace and uploads in GCP and preserves the file in talend workspace directory ?

Question2: I am using the tMap component to join 2 sources of files and load it in target table.

I get error : 

org.talend.designer.runprocess.ProcessorException: Job compile errors
At least job "BigQueryUsingTmap" has a compile errors, please fix and export again.
Error Line: 1973
Detail Message: jobId_tBigQueryInput_2 cannot be resolved to a variable
There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.

 

do you know ? in what scenario this is possible ? "Detail Message: jobId_tBigQueryInput_2 cannot be resolved to a variable"

Four Stars

Re: Talend 7.1 to bigquery Issue

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now