The API is now changed. New packages, new classes.
Therefore, it is strongly recommended that you use the @Override annotation for your map and reduce the methods if you plan to use the new API. Otherwise, you will encounter some kind of strange behavior.
Here is an example of an Old API and an example of a New API .
Keep in mind that this has nothing to do with the new YARN runtime.
source
share