We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13e3fa3 commit b72214aCopy full SHA for b72214a
regtests/run_spark_sql.sh
@@ -61,14 +61,14 @@ if ! output=$(curl -X POST -H "Polaris-Realm: POLARIS" "http://${POLARIS_HOST:-l
61
-d "client_id=root" \
62
-d "client_secret=secret" \
63
-d "scope=PRINCIPAL_ROLE:ALL"); then
64
- logred "Error: Failed to retrieve bearer token"
+ echo "Error: Failed to retrieve bearer token"
65
exit 1
66
fi
67
68
SPARK_BEARER_TOKEN=$(echo "$output" | awk -F\" '{print $4}')
69
70
if [ "SPARK_BEARER_TOKEN" == "unauthorized_client" ]; then
71
72
73
74
0 commit comments