This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24/07/17 21:34:01 INFO SparkContext: Running Spark version 3.5.1 | |
24/07/17 21:34:01 INFO SparkContext: OS info Linux, 4.15.0-213-generic, amd64 | |
24/07/17 21:34:01 INFO SparkContext: Java version 17.0.11 | |
24/07/17 21:34:01 INFO ResourceUtils: ============================================================== | |
24/07/17 21:34:01 INFO ResourceUtils: No custom resources configured for spark.driver. | |
24/07/17 21:34:01 INFO ResourceUtils: ============================================================== | |
24/07/17 21:34:01 INFO SparkContext: Submitted application: Spark Pi | |
24/07/17 21:34:01 INFO ResourceProfile: Default ResourceProfile created, executor resources: Map(cores -> name: cores, amount: 1, script: , vendor: , memory -> name: memory, amount: 1024, script: , vendor: , offHeap -> name: offHeap, amount: 0, script: , vendor: ), task resources: Map(cpus -> name: cpus, amount: 1.0) | |
24/07/17 21:34:01 INFO ResourceProfile: Limiting resource is cpus at 1 tasks per executor | |
24/07/17 21:34:01 INFO ResourceProfileManager: Added Res |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import sys | |
from authlib.integrations.requests_client import OAuth2Session | |
from authlib.oauth2.rfc7523 import PrivateKeyJWT | |
TOKEN_URL = "https://oidc.nersc.gov/c2id/token" | |
OlderNewer