Cannot see the file I have upload to hadoop

232 Views Asked by At

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?

1

There are 1 best solutions below

0
On

HDFS is not the same as your local filesystem. You can't upload files to HDFS using SCP