Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15188

azure datalake AzureADAuthenticator failing, no error info provided

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.0.0, 3.1.0
    • None
    • fs/adl
    • None

    Description

      Get a failure in ADLS client, but nothing useful in terms of failure description

      DEBUG oauth2.AzureADAuthenticator: AADToken: starting to fetch token using client creds for client ID <omitted>
      DEBUG store.HttpTransport: HTTPRequest,Failed,cReqId:<omitted>,lat:127370,err:HTTP0(null),Reqlen:0,Resplen:0,token_ns:<omitted>,sReqId:null,path:<omitted>,qp:op=GETFILESTATUS&tooid=true&api-version=2016-11-01
      

      so: we had a failure but the response code is 0, error(null); "something happened but we don't know what"

      Looks like this log message is in the ADLS SDK, and can be translated like this.

      String logline =
        "HTTPRequest," + outcome +
        ",cReqId:" + opts.requestid +
        ",lat:" + Long.toString(resp.lastCallLatency) +
        ",err:" + error +
        ",Reqlen:" + length +
        ",Resplen:" + respLength +
        ",token_ns:" + Long.toString(resp.tokenAcquisitionLatency) +
        ",sReqId:" + resp.requestId +
        ",path:" + path +
        ",qp:" + queryParams.serialize();
      
      

      It looks like whatever code tries to parse the JSON response from the OAuth service couldn't make sense of the response, and we end up with nothing back.

      Not sure what can be done in hadoop to handle this, except maybe provide more diags on request failures.

      Attachments

        Issue Links

          Activity

            People

              ASikaria Atul Sikaria
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: