Both of these packages are separated out because both of them represent two different APIs.
The older API was running fine but the new API was introduced to give a more convenient platform to the programmers where they can run their complex Java code.
You can refer the following video for more information regarding Hadoop: