We are running a informatica workflow which is doing an hive pushdown and trying to run one insert query.
Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.token.SecretManager$InvalidToken):
Given NMToken for application : appattempt_xxxx123 is not valid for current node manager.
expected : <nodemanager_ip1>:8041
found : <nodemanager_ip2>:8041
Why we are getting valid NMToken but belonging to other node after job hanging for hours
Check /etc/hosts file in your nodemanagers for any incorrect ip-hostname mapping.
There would be an entry for <nodemanager_ip1> mapping to hostname of <nodemanager_ip2>
Correct it and try.