Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-3080

Improve Spark documentation for CDH deployment

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.5.0.final
    • None
    • spark

    Description

      Users might experience classpath issues when running Spark on CDH with YARN.

      The solution is to add Ignite JARs to YARN classpath through CDH console.

      Originally explained by Michael Dolgonos here: http://apache-ignite-users.70518.x6.nabble.com/Ignite-Installation-with-Spark-under-CDH-tp4457p4624.html

      Cloudera Manager -> YARN (MR2 Included) -> Configuration -> Service Wide ->
      Advanced -> Spark Client Advanced Configuration Snippet (Safety Valve) for
      spark-conf/spark-defaults.conf
      Added etc/ignite-fabric-1.5.0/libs/* to already present
      spark.executor.extraClassPath=/opt/cloudera/parcels/CDH-5.5.2-1.cdh5.5.2.p0.4/jars/htrace-core-3.2.0-incubating.jar.
      The combined line looks like this:
      spark.executor.extraClassPath=/opt/cloudera/parcels/CDH-5.5.2-1.cdh5.5.2.p0.4/jars/htrace-core-3.2.0-incubating.jar:/etc/ignite-fabric-1.5.0/libs/*

      Attachments

        Activity

          People

            Unassigned Unassigned
            vozerov Vladimir Ozerov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: