Skip to content

Cluster called un in piComputeClusterApp.py #4

@Marcel-Jan

Description

@Marcel-Jan

I wondered why I got an error on piComputeClusterApp.py. There's a clustername called spark://un:7077 in it, instead of local[]. I think you forgot to change it to local? I've tried the code with local[] and that works.

spark = SparkSession.builder.appName("PySparkPi on a cluster")
.master("spark://un:7077").getOrCreate()
#.master("local[*]").getOrCreate()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions