can't upgrade packages
Can you clarify your issue, and what you are trying to do? Are you trying to upgrade an existing installation with the hadoop cookbook?
If so, that's currently not within its scope, as there are many complexities in supporting generic upgrade functionality. However, it should not interfere with upgrades done externally, and you can wrap the cookbook with your own to suit your particular needs.