The pscp tell me, it is successful.
pscp -P 22 part-00003 [email protected]:/home/username/lab2_hdfs
[email protected]'s password:
part-00000 | 758 kB | 758.9 kB/s | ETA: 00:00:00 | 100%
But I didn't see it in my hadoop when I use hdfs dfs -ls, why?
HDFS is not the same as your local filesystem. You can't upload files to HDFS using SCP