I'm not aware of connecting to Hadoop, but i integrated with SharePoint, all you need is the client id and client secret and some headers to get an authentication token (OAuth token) which will help you in consuming other services of Sharepoint
to get oauth token:
and headers have to send in encoded format
Might this will help you… :)
Im not an expert on hadoop, but i read you can access it through java: https://stackoverflow.com/questions/38624298/to-connect-to-hadoop-using-java
So that would be an opening.