hiped2 icon indicating copy to clipboard operation
hiped2 copied to clipboard

hdfs commands via hadoop deprecated?

Open PKRoma opened this issue 10 years ago • 2 comments

If it is true that the use of the generic hadoop command is being deprecated (edit the hadoop command for comments) in favour of the specialised hdfs commands etc., maybe the examples should reflect that? E.g., in the README.md

hadoop fs -mkdir -p hip1/input

should become

hdfs dfs -mkdir -p hip1/input

PKRoma avatar Aug 13 '14 09:08 PKRoma

Perhaps a better way is to create your own repo with all those dependencies so that people can just download it from you and you won't have to edit pom.xml file?

krinkere avatar Nov 11 '14 23:11 krinkere

Yes, that is one way of doing it, but given I'm a Hadoop newbie, this was more of a question of guidance by someone more expert than me: Should I be learning and using direct 'hdfs' commands instead of 'hadoop fs'. I wouldn't want to change everything that way in the examples before seeing opinions from people more expert than me. And, changing the examples may make them diverge from the text in the book...

PKRoma avatar Nov 12 '14 23:11 PKRoma