我正在使用 HBase 和 Hadoop,并让它们在我的机器上以伪分布式模式运行。我有写入 HBase 的表,这些表存储在 hdfs 上的“hbase”目录中,如下所示
$HADOOP_HOME/bin/hadoop fs -ls /Found 3 items
drwxr-xr-x - robocode supergroup 0 2013-04-17 11:48 /Users
drwxr-xr-x - robocode supergroup 0 2013-04-17 11:26 /hbase
drwxr-xr-x - robocode supergroup 0 2013-04-08 15:07 /usr
我想将此 hbase 目录从 hdfs 备份到我桌面上的目录,以便以后可以将其还原到 hbase/hdfs。我正在使用如下 distcp,它似乎运行良好,但是当它完成时,我的桌面上没有 hbase 目录的迹象
hadoop distcp hdfs://localhost:8020/hbase /Users/robocode/Desktop/
13/04/17 11:55:39 INFO tools.DistCp: srcPaths=[hdfs://localhost:8020/hbase]
13/04/17 11:55:39 INFO tools.DistCp: destPath=/Users/robocode/Desktop
13/04/17 11:55:39 INFO tools.DistCp: sourcePathsCount=40
13/04/17 11:55:39 INFO tools.DistCp: filesToCopyCount=17
13/04/17 11:55:39 INFO tools.DistCp: bytesToCopyCount=22.9k
13/04/17 11:55:40 INFO mapred.JobClient: Running job: job_201304171125_0004
13/04/17 11:55:41 INFO mapred.JobClient: map 0% reduce 0%
13/04/17 11:55:55 INFO mapred.JobClient: map 100% reduce 0%
13/04/17 11:56:00 INFO mapred.JobClient: Job complete: job_201304171125_0004
13/04/17 11:56:00 INFO mapred.JobClient: Counters: 20
13/04/17 11:56:00 INFO mapred.JobClient: Job Counters
13/04/17 11:56:00 INFO mapred.JobClient: SLOTS_MILLIS_MAPS=11840
13/04/17 11:56:00 INFO mapred.JobClient: Total time spent by all reduces waiting after reserving slots (ms)=0
13/04/17 11:56:00 INFO mapred.JobClient: Total time spent by all maps waiting after reserving slots (ms)=0
13/04/17 11:56:00 INFO mapred.JobClient: Launched map tasks=1
13/04/17 11:56:00 INFO mapred.JobClient: SLOTS_MILLIS_REDUCES=0
13/04/17 11:56:00 INFO mapred.JobClient: File Input Format Counters
13/04/17 11:56:00 INFO mapred.JobClient: Bytes Read=7105
13/04/17 11:56:00 INFO mapred.JobClient: File Output Format Counters
13/04/17 11:56:00 INFO mapred.JobClient: Bytes Written=673
13/04/17 11:56:00 INFO mapred.JobClient: FileSystemCounters
13/04/17 11:56:00 INFO mapred.JobClient: HDFS_BYTES_READ=24954
13/04/17 11:56:00 INFO mapred.JobClient: FILE_BYTES_WRITTEN=22417
13/04/17 11:56:00 INFO mapred.JobClient: HDFS_BYTES_WRITTEN=18365
13/04/17 11:56:00 INFO mapred.JobClient: distcp
13/04/17 11:56:00 INFO mapred.JobClient: Files copied=7
13/04/17 11:56:00 INFO mapred.JobClient: Bytes copied=17692
13/04/17 11:56:00 INFO mapred.JobClient: Bytes expected=17692
13/04/17 11:56:00 INFO mapred.JobClient: Files skipped=10
13/04/17 11:56:00 INFO mapred.JobClient: Map-Reduce Framework
13/04/17 11:56:00 INFO mapred.JobClient: Map input records=39
13/04/17 11:56:00 INFO mapred.JobClient: Spilled Records=0
13/04/17 11:56:00 INFO mapred.JobClient: Total committed heap usage (bytes)=85000192
13/04/17 11:56:00 INFO mapred.JobClient: Map input bytes=7005
13/04/17 11:56:00 INFO mapred.JobClient: Map output records=10
13/04/17 11:56:00 INFO mapred.JobClient: SPLIT_RAW_BYTES=157
关于我要去哪里错的任何想法?