【发布时间】:2017-04-28 20:54:31
【问题描述】:
我正在尝试将数据从 Google Cloud Storage 中的存储桶复制到本地 Hadoop 集群(我已安装在我的 Mac 中)。已按照此链接中给出的说明进行操作; Migrating 50TB data from local Hadoop cluster to Google Cloud Storage
但是当我执行 hdfs 命令hdfs dfs -ls gs://tempuserstorage 时出现以下错误。
17/04/28 15:42:13 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
17/04/28 15:42:14 INFO gcs.GoogleHadoopFileSystemBase: GHFS version: 1.6.0-hadoop2
-ls: Google Cloud Storage bucket name must not contain '/' character.
Usage: hadoop fs [generic options] -ls [-d] [-h] [-R] [<path> ...]
我也尝试过hadoop fs -ls gs://tempuserstorage,但得到了同样的错误
我错过了什么吗?
【问题讨论】:
标签: hadoop google-cloud-platform google-cloud-storage