Reputation: 4995
I'd like to see the source code for certain hadoop commands like -put and -ls. I want to be able to add additional information to the log outputs that are associated with running these commands.
How can I find these?
Upvotes: 2
Views: 1618
Reputation: 1116
The source can be found in Apache's SVN.
You'll see files such as Ls.java, CopyCommands.java (defines -put, -copyFromLocal), etc., that all define the HDFS commands that you're looking for.
Upvotes: 1