[
https://issues.apache.org/jira/browse/APEXCORE-517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15465776#comment-15465776
]
ASF GitHub Bot commented on APEXCORE-517:
-----------------------------------------
GitHub user PramodSSImmaneni opened a pull request:
https://github.com/apache/apex-core/pull/383
APEXCORE-517 Added BASIC authentication support
This adds support to authenticate with Hadoop web services with BASIC
authentication enabled.
@pradeepdalvi @vrozov please see
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/PramodSSImmaneni/apex-core APEXCORE-517
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/apex-core/pull/383.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #383
----
commit 32db100d15099b79520248ec74fad529a046c452
Author: Pramod Immaneni <[email protected]>
Date: 2016-09-05T20:59:13Z
APEXCORE-517 Added BASIC authentication support to be able to authenticate
with Hadoop web services with BASIC authentication enabled
----
> ApexCli is not working with Hadoop web services when BASIC authentication is
> enabled
> ------------------------------------------------------------------------------------
>
> Key: APEXCORE-517
> URL: https://issues.apache.org/jira/browse/APEXCORE-517
> Project: Apache Apex Core
> Issue Type: Improvement
> Affects Versions: 3.4.0
> Reporter: Pramod Immaneni
> Assignee: Pramod Immaneni
>
> 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/>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)