- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
[NIFI] - GCPCredentialsControllerService - ListGCSBucket
- Labels:
-
Apache NiFi
Created ‎07-27-2017 03:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
Anybody already used google ControllerService and GCSBucket ?
I don't know how use it to list bucket.
Without NIFI, i've used gsutil and a configuration file how has these parameters
gs_oauth2_refresh_token proxy proxy_port
Any help welcome
Created ‎04-10-2018 02:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am interested in this question as well...
an example will be highly appreciated
Created on ‎04-10-2018 03:12 PM - edited ‎08-17-2019 11:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
steps I took to get things working... I was trying to access cloud storage from a laptop running linux... ultimate goal was to put files from the laptop to the gcp using nifi.
1. generate a private key in JSON (https://cloud.google.com/storage/docs/authentication#service_accounts)
2. private key (as json file) was loaded onto my local computer
3. made a reference to it in the configure controller service
4. loaded a file onto the gcp bucket and the action was recorded in data provenance
I am new to using NiFi...
Created ‎09-09-2019 12:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Anand,
I just saw your post about NiFi to GCP. I repeated the same process and the ControllerService showed errors to me:
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
Do you have 'type' field on your credentials json file? Thanks.
