[ 
https://issues.apache.org/jira/browse/KNOX-3215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sandor Molnar resolved KNOX-3215.
---------------------------------
    Resolution: Fixed

> Revert KNOX-2647
> ----------------
>
>                 Key: KNOX-3215
>                 URL: https://issues.apache.org/jira/browse/KNOX-3215
>             Project: Apache Knox
>          Issue Type: Task
>          Components: Server
>    Affects Versions: 2.0.0, 1.6.0, 1.6.1, 2.1.0
>            Reporter: Sandor Molnar
>            Assignee: Sandor Molnar
>            Priority: Major
>             Fix For: 3.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> KNOX-2647 introduced an issue that can be reproduced this way:
> (I) Submit a Spark Pi Job: spark-submit --class 
> org.apache.spark.examples.SparkPi --deploy-mode cluster --num-executors 1 
> --driver-memory 512m --executor-memory 512m --executor-cores 1 
> /myLibs/lib/spark/examples/jars/spark-examples_2.11-2.4.8.7.2.12.4-1.jar 10
> (II) Open the SHS via DataHub Console. Open the Application Executors Tab. 
> Click on Stdout/StdErr. They report "Connection Isn't Private" & upon using 
> "Proceed (Unsafe)" reports 401 Authentication Error. 
> (III) The URI changes (From Executor Tab) 
> [https://KNOS_HOST/gateway/myProxy/sparkhistory/history/application_1646291876817_0017/1/executors/|https://sup-smdas-853518-gateway.smdas-72.a465-9q4k.cloudera.site/sup-smdas-853518/cdp-proxy/sparkhistory/history/application_1646291876817_0017/1/executors/]
>  to (Upon Clicking StdOut/StdErr) 
> [https://SPARK_NODE_HOST/node/containerlogs/container_e03_1646291876817_0017_01_000001/smdas/stdout?start=-4096|https://sup-smdas-853518-worker0.smdas-72.a465-9q4k.cloudera.site:8044/node/containerlogs/container_e03_1646291876817_0017_01_000001/smdas/stdout?start=-4096]
>  
> (IV) Same Observation via Hue > Jobs Browser > Application Tracking URL. 
> The solution is to revert the changes that were introduced by [PR 
> #485|https://github.com/apache/knox/pull/485].



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to