There are 2 different tracking directories
- One for hdfs://localhost:9000/data/logs/tracking/, it will be located at
hdfs dfs -ls /data/logs/tracking
- One for user hadoop that located at
/user/hadoop/data/logs/tracking
by executing commandhdfs dfs -ls data/logs/tracking
The first one is accurate. So cronjob was correct, and I need to create the directory as option 1.