apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APEXCORE-488) Issues in SSL communication with StrAM
Date Mon, 11 Jul 2016 23:32:11 GMT

    [ https://issues.apache.org/jira/browse/APEXCORE-488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15371892#comment-15371892
] 

ASF GitHub Bot commented on APEXCORE-488:
-----------------------------------------

Github user sandeshh commented on a diff in the pull request:

    https://github.com/apache/apex-core/pull/357#discussion_r70355804
  
    --- Diff: engine/src/main/java/com/datatorrent/stram/client/StramAgent.java ---
    @@ -204,7 +204,14 @@ private UriBuilder getStramWebURIBuilder(WebServicesClient webServicesClient,
St
         if (info != null) {
           //ws = wsClient.resource("http://" + info.appMasterTrackingUrl).path(WebServices.PATH).path(info.version).path("stram");
           // the filter should convert to the right version
    -      ub = UriBuilder.fromUri("http://" + info.appMasterTrackingUrl).path(WebServices.PATH).path(WebServices.VERSION).path("stram");
    +      String url;
    +      if (!info.appMasterTrackingUrl.startsWith("http://")
    +          && !info.appMasterTrackingUrl.startsWith("https://")) {
    +        url = "http://" + info.appMasterTrackingUrl;
    --- End diff --
    
    If it is a secure cluster, then fallback should be https?


> Issues in SSL communication with StrAM
> --------------------------------------
>
>                 Key: APEXCORE-488
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-488
>             Project: Apache Apex Core
>          Issue Type: Bug
>            Reporter: Pradeep A. Dalvi
>            Assignee: Pradeep A. Dalvi
>
> Couple of issues in SSL communication with StrAM to track application progress
>  - trackingURL without protocol scheme, makes YARN to pick up default HTTP. This happens
even if the yarn.http.policy is set to HTTPS_ONLY.
>  - StramAgent assumes always HTTP communication



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message