Please first check if it is a 32 vs 64-bit issue.
You will need to edit the existing SQL Agent job to change the bittedness of the job step. This will be under the Configuration tab and then under the Advanced tab. Check/Uncheck the 32-bit runtime.
Please also check that the account used to run the agent job has full permission to connect to Hadoop (source).
Regards,
Zoe Hui
If the answer is helpful, please click "Accept Answer" and upvote it.