0
我無法運行示例wordcount數據流。一個錯誤出現:Google DataFlow無法在存儲區中寫入
(venv) [email protected]:$ python -m apache_beam.examples.wordcount \
--project "$PROJECT" --runner DataflowRunner \
--staging_location $BUCKET/staging \
--temp_location $BUCKET/tmp \
--output $BUCKET/results/output
IOError: Could not upload to GCS path gs://prova_df/staging/beamapp-dh4-1014444431-510588.1505555051.55555: access denied. Please verify that credentials are valid and that you have write access to the specified path.
但是我對這個桶沒有權限問題:
(venv) [email protected]:$ gsutil cp paraules.txt gs://prova_df
Copying file://paraules.txt [Content-Type=text/plain]...
- [1 files][ 24.0 B/ 24.0 B]
Operation completed over 1 objects/24.0 B.
一些額外的信息:
- 我可以創建Web界面桶文件夾
- 我檢查了兩次啓用的API,都似乎正確。
- 我有
owner project role
上service account
。 - I
rm ~/.gsutil/credstore
確保沒有緩存憑證。 - 我正在使用json
export GOOGLE_APPLICATION_CREDENTIALS
- Complete stack error at pastebin保持帖子乾淨。