Skip to content

Didone/spark-carbon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spark for Huawei cloud

Build

docker build -t didone/spark-carbon -f Dockerfile .

Run

docker run -it --rm \
        --env-file .env \
        -p 8888:8888 \
        -p 4040:4040 \
        -v $(pwd)/demo:/home \
        didone/spark-carbon
[C 2021-01-07 14:34:37.021 ServerApp]
    To access the server, open this file in a browser:
        file:///root/.local/share/jupyter/runtime/jpserver-1-open.html
    Or copy and paste one of these URLs:
        http://084b502fc1c8:8888/lab?token=18a178a9eddaccd0d994116ef7bd3295bb28418f95308855
     or http://127.0.0.1:8888/lab?token=18a178a9eddaccd0d994116ef7bd3295bb28418f95308855

Environment File

In your current directory, create a .env with your cloud storage credentials

# Storage
BUCKET=bucket_name
REGION=la-south-2
ACCESS_KEY=XXXXXXXXXXXXXXXXXXXX
SECRET_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

About

Spark with carbon data for Huawei cloud

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published