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

Akira Ajisaka commented on YARN-9606:
-------------------------------------

This broke hadoop-client-check-test-invariants module.
https://builds.apache.org/job/hadoop-multibranch/job/PR-2022/1/artifact/out/branch-mvninstall-root.txt
{noformat}
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-banned-dependencies) 
@ hadoop-client-check-test-invariants ---
[INFO] Adding ignorable dependency: org.apache.hadoop:hadoop-annotations:null
[INFO]   Adding ignore: *
[WARNING] Rule 1: org.apache.maven.plugins.enforcer.BanDuplicateClasses failed 
with message:
Duplicate classes found:

  Found in:
    org.apache.hadoop:hadoop-client-minicluster:jar:3.4.0-SNAPSHOT:compile
    org.apache.hadoop:hadoop-client-api:jar:3.4.0-SNAPSHOT:compile
  Duplicate classes:
    
org/apache/hadoop/yarn/federation/proto/YarnServerFederationProtos$GetSubClustersInfoResponseProtoOrBuilder.class
    
org/apache/hadoop/yarn/proto/YarnServerCommonServiceProtos$NodeLabelsProto$Builder.class
    
org/apache/hadoop/yarn/proto/YarnServerCommonServiceProtos$ReportNewCollectorInfoResponseProto$1.class
(snip)
{noformat}
Client module should not depend on server module with compile scope. Would you 
clone WebServiceClient.java into hadoop-yarn-client module and use it instead 
of changing the dependency?

> Set sslfactory for AuthenticatedURL() while creating LogsCLI#webServiceClient 
> ------------------------------------------------------------------------------
>
>                 Key: YARN-9606
>                 URL: https://issues.apache.org/jira/browse/YARN-9606
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Bilwa S T
>            Assignee: Bilwa S T
>            Priority: Major
>             Fix For: 3.4.0
>
>         Attachments: YARN-9606-001.patch, YARN-9606-002.patch, 
> YARN-9606.003.patch
>
>
> Yarn logs fails for running containers                                        
>                                                                               
>                                                                 
>   {quote}                                                                     
>                                                                               
>                                                                               
>    
>  Unable to fetch log files list
>  Exception in thread "main" java.io.IOException: 
> com.sun.jersey.api.client.ClientHandlerException: 
> javax.net.ssl.SSLHandshakeException: Error while authenticating with 
> endpoint: 
> [https://vm2:65321/ws/v1/node/containers/container_e05_1559802125016_0001_01_000008/logs]
>  at 
> org.apache.hadoop.yarn.client.cli.LogsCLI.getContainerLogFiles(LogsCLI.java:543)
>  at 
> org.apache.hadoop.yarn.client.cli.LogsCLI.getMatchedContainerLogFiles(LogsCLI.java:1338)
>  at 
> org.apache.hadoop.yarn.client.cli.LogsCLI.getMatchedOptionForRunningApp(LogsCLI.java:1514)
>  at 
> org.apache.hadoop.yarn.client.cli.LogsCLI.fetchContainerLogs(LogsCLI.java:1052)
>  at org.apache.hadoop.yarn.client.cli.LogsCLI.runCommand(LogsCLI.java:367)
>  at org.apache.hadoop.yarn.client.cli.LogsCLI.run(LogsCLI.java:152)
>  at org.apache.hadoop.yarn.client.cli.LogsCLI.main(LogsCLI.java:399)
>  {quote}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to