Skip to content

which branch should be used for building jar and image for remote shuffle service for K8 environment?  #63

Open

Description

@roligupt

I see there are 2 branches K8 and rss-k8, which branch should be used for building jar and image for remote shuffle service for K8 environment?

Activity

  1. hiboyang commented on Feb 18, 2022

    @hiboyang
    Contributor

    I have a fork, and make Remote Shuffle Sevice work on k8s. Also removed dependence on ZooKeeper. The fork is here: https://github.com/datapunchorg/RemoteShuffleService/tree/k8s-spark-3.1

  2. roligupt commented on Feb 18, 2022

    @roligupt
    Author

    I have a fork, and make Remote Shuffle Sevice work on k8s. Also removed dependence on ZooKeeper. The fork is here: https://github.com/datapunchorg/RemoteShuffleService/tree/k8s-spark-3.1

    Thanks for your quick response! I will try it out.

  3. roligupt commented on Feb 18, 2022

    @roligupt
    Author

    I have a fork, and make Remote Shuffle Sevice work on k8s. Also removed dependence on ZooKeeper. The fork is here: https://github.com/datapunchorg/RemoteShuffleService/tree/k8s-spark-3.1

    @hiboyang one quick question about spark with client jar - I wanted to build my own spark image with the jar. Although I am not building the spark distribution from scratch but using the spark bin (spark-3.1.1-bin-hadoop3.2.tgz) that is provided on apache spark download side. how do go about building the client jar to include in spark image?

  4. hiboyang commented on Feb 19, 2022

    @hiboyang
    Contributor

    You need to put the Remote Shuffle Service client jar file inside jars folder in Spark image.

    You could download Remote Shuffle Service client jar file from Maven:

        <dependency>
            <groupId>org.datapunch</groupId>
            <artifactId>remote-shuffle-service-client-spark31</artifactId>
            <version>0.0.12</version>
        </dependency>
    

    If you download that Spark bin (spark-3.1.1-bin-hadoop3.2.tgz), you could unzip it, add Remote Shuffle Service client jar file to jars folder, then run command like following to build your image:

    ./dev/make-distribution.sh --name spark-with-remote-shuffle-service-client --pip --tgz -Phive -Phive-thriftserver -Pkubernetes -Phadoop-3.2 -Phadoop-cloud
    

    Please note if you use the remote-shuffle-service-client-spark31 jar file here, you need to use Remote Shuffle Service server from this branch as well: https://github.com/datapunchorg/RemoteShuffleService/tree/k8s-spark-3.1

  5. roligupt commented on Feb 24, 2022

    @roligupt
    Author

    You need to put the Remote Shuffle Service client jar file inside jars folder in Spark image.

    You could download Remote Shuffle Service client jar file from Maven:

        <dependency>
            <groupId>org.datapunch</groupId>
            <artifactId>remote-shuffle-service-client-spark31</artifactId>
            <version>0.0.12</version>
        </dependency>
    

    If you download that Spark bin (spark-3.1.1-bin-hadoop3.2.tgz), you could unzip it, add Remote Shuffle Service client jar file to jars folder, then run command like following to build your image:

    ./dev/make-distribution.sh --name spark-with-remote-shuffle-service-client --pip --tgz -Phive -Phive-thriftserver -Pkubernetes -Phadoop-3.2 -Phadoop-cloud
    

    Please note if you use the remote-shuffle-service-client-spark31 jar file here, you need to use Remote Shuffle Service server from this branch as well: https://github.com/datapunchorg/RemoteShuffleService/tree/k8s-spark-3.1

    @hiboyang I understand everything except that spark-3.1.1-bin-hadoop3.2.tgz is already a distribution package which comes with the jar files. and as far as i understand "./dev/make-distribution.sh " creates the distribution package. If I already have the spark binaries in spark-3.1.1-bin-hadoop3.2.tgz I dont need to run "./dev/make-distribution.sh" I can simply Copy the jar and build the image.

  6. hiboyang commented on Feb 24, 2022

    @hiboyang
    Contributor

    Yes, it should work as well for "simply Copy the jar and build the image".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions