当我以
hadoop distcp /a/b/c/d gs:/gcp-bucket/a/b/c/ , where d is a folder on HDFS containing subfolders.
如果文件夹c已经在gcp上,那么它将d(及其子文件夹)从HDFS复制到c内的gcp中,但是如果c文件夹不在gcp上,那么它将在gcp上创建c文件夹,并在gcp的c文件夹中复制d的子文件夹(但不是d本身)。
因此,如果e是HDFS上d中的子文件夹,而文件夹c存在于gcp中,那么输出以下命令:
hadoop distcp /a/b/c/d gs:/gcp-bucket/a/b/c/
将会是
我使用Node.js库在GCP存储上创建桶。稍后,我想从我的Firebase iOS应用程序中访问这些GCP存储桶。但是,我不能。当我试图从我的iOS应用程序访问我现有的GCP存储桶时,我收到了以下错误:
Your bucket has not been set up properly for Firebase Storage. Please visit https://console.firebase.google.com/project/MY_PROJECT/storage/files to automatically repair this issue and then retry. I