Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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.

 

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

Labels (5)
3 Replies
Anonymous
Not applicable
Author

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 🙂

Anonymous
Not applicable
Author

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"

Anonymous
Not applicable
Author

this issue, i raised in this Thread is addressed as 'Defect':

https://community.talend.com/t5/Design-and-Development/quot-Variable-can-not-be-resolved-quot-error-...