Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-9606

Set sslfactory for AuthenticatedURL() while creating LogsCLI#webServiceClient

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0, 3.3.2
    • 3.4.0, 3.3.2
    • webservice
    • None
    • Reviewed

    Description

      Yarn logs fails for running containers 

                                                                                                   
      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)

      Attachments

        1. YARN-9606-001.patch
          2 kB
          Bilwa S T
        2. YARN-9606-002.patch
          3 kB
          Bilwa S T
        3. YARN-9606.003.patch
          26 kB
          Bilwa S T
        4. YARN-9606.004.patch
          29 kB
          Bilwa S T
        5. YARN-9606.005.patch
          30 kB
          Bilwa S T
        6. YARN-9606.006.patch
          27 kB
          Bilwa S T
        7. YARN-9606.007.patch
          44 kB
          Bilwa S T
        8. YARN-9606.008.patch
          44 kB
          Bilwa S T
        9. YARN-9606-branch-3.3.v1.patch
          44 kB
          Bilwa S T
        10. YARN-9606-branch-3.3-v2.patch
          44 kB
          Bilwa S T

        Activity

          People

            BilwaST Bilwa S T
            BilwaST Bilwa S T
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: