You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sandor Molnar (Jira)" <ji...@apache.org> on 2025/11/21 07:56:00 UTC
[jira] [Created] (KNOX-3215) Revert KNOX-2647
Sandor Molnar created KNOX-3215:
-----------------------------------
Summary: 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.1.0, 1.6.1, 1.6.0, 2.0.0
Reporter: Sandor Molnar
Assignee: Sandor Molnar
Fix For: 3.0.0
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)