You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Bilwa S T (Jira)" <ji...@apache.org> on 2020/05/26 05:43:00 UTC

[jira] [Created] (YARN-10291) Yarn service commands doesn't work when https is enabled in RM

Bilwa S T created YARN-10291:
--------------------------------

             Summary: Yarn service commands doesn't work when https is enabled in RM
                 Key: YARN-10291
                 URL: https://issues.apache.org/jira/browse/YARN-10291
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Bilwa S T
            Assignee: Bilwa S T


when we submit application using command "yarn app -launch sleeper-service ../share/hadoop/yarn/yarn-service-examples/sleeper/sleeper.json" , it throws below exception 

{code:java}
com.sun.jersey.api.client.ClientHandlerException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
{code}

We should use WebServiceClient#createClient as it takes care of setting sslfactory when https is called.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org