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保持帖子干净。