HDFS example

HDFS

Basic example of using HDFS on the platform:

1. List the contents of the directory /projets/twitter/alltweets/

[xxx@osirim-hadoop ~]$ hdfs dfs -ls /projets/twitter/alltweets
Found 2 items
drwxrwxr-x - twitter twitter 0 2016-01-12 16:27 /projets/twitter/alltweets/2015
drwxrwxr-x - twitter twitter 0 2016-01-01 00:00 /projets/twitter/alltweets/2016