Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Error when NiFi access to GCP

Error when NiFi access to GCP

New Contributor

I started a test of NiFi to GCP with ListGCSBucket processor.

All settings values are used from my Google Account values. 

However, when I enabled the GCPCredentialsControllerService, it shows the errors as below:

 

Failed to invoke@OnEnabled method due to org.apache.nifi.reporting.InitializationException: java.io.lOException: Error reading credentials from stream, 'type' field not specified .java.io.lOException: Error reading credentials from stream, 'type' field not specified

 

However, from GCP credential json file, only fields are shown below:

"client_id": 
"project_id": 
"auth_uri": 
"token_uri": 
"auth_provider_x509_cert_url": 
"client_secret": 

No type field. Looking for help! Thanks. 

 

Raymond

 

Don't have an account?
Coming from Hortonworks? Activate your account here