hadoop fs Examples Copy file foo.txt from local disk to the user's directory in HDFS. This will copy the file to /user/username/foo.txt.
{"Image DocumentName": "hadoop fs ExamplesCopy file foo.txt from local disk to the user\u2019s directory in HDFS. This will copy the file to /user/username/foo.txt.", "Image ImageDescription": "Get a directory listing of the user\u2019s home directory in HDFS. Get a directory listing of the HDFS root directory. hadoop fs -copyFromLocal foo.txt foo.txt. hadoop fs -ls. hadoop fs \u2013ls /", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}