Uploaded image for project: 'Apache Apex Core'
  1. Apache Apex Core
  2. APEXCORE-517

ApexCli is not working with Hadoop web services when BASIC authentication is enabled

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.5.0
    • None
    • None

    Description

      When BASIC authentication is enabled on Hadoop web services, ApexCLI fails to connect with the errors shown below. This is because BASIC auth is not currently supported. Add this support.

      Error: Authentication scheme Basic not supported
      2016-xx-xx xx:xx:xx,xxx WARN com.datatorrent.stram.client.StramAgent: Caught exception when retrieving web service info for app application_xxxx
      org.codehaus.jettison.json.JSONException: A JSONObject text must begin with '{' at character 1 of <html>
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
      <title>Error 401 Authentication required</title>
      </head>
      <body><h2>HTTP ERROR 401</h2>
      <p>Problem accessing /proxy/application_xxxxx/ws. Reason:
      <pre> Authentication required</pre></p><hr /><i><small>Powered by Jetty://</small></i><br/>

      Attachments

        Issue Links

          Activity

            People

              PramodSSImmaneni Pramod Immaneni
              PramodSSImmaneni Pramod Immaneni
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: