Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-3376

Unable to deploy SparkPageRank app on a cluster built from develop

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.2.0
    • Component/s: CDAP
    • Labels:
      None
    • Release Notes:
      Fixed a problem with being unable to deploy the SparkPageRank example application on a cluster.
    • Rank:
      1|hzyxy7:

      Description

      Deploying SparkPageRank app on the development cluster built from develop (3.2.0-SNAPSHOT) gives an error

      deploy app /Users/sree/work/cdap/cdap-examples/SparkPageRank/target/SparkPageRank-3.2.0-SNAPSHOT.jar
      Error: Class could not be found while inspecting artifact for plugins. Please check dependencies are available, and that the correct parent artifact was specified. Error class: class java.lang.NoClassDefFoundError, message: org/apache/spark/api/java/function/Function.
      java.io.IOException: Class could not be found while inspecting artifact for plugins. Please check dependencies are available, and that the correct parent artifact was specified. Error class: class java.lang.NoClassDefFoundError, message: org/apache/spark/api/java/function/Function.
      	at co.cask.cdap.client.util.RESTClient.upload(RESTClient.java:151)
      	at co.cask.cdap.client.ApplicationClient.deployApp(ApplicationClient.java:423)
      	at co.cask.cdap.client.ApplicationClient.deploy(ApplicationClient.java:403)
      	at co.cask.cdap.cli.command.DeployAppCommand.perform(DeployAppCommand.java:55)
      	at co.cask.cdap.cli.util.AbstractAuthCommand.execute(AbstractAuthCommand.java:40)
      	at co.cask.common.cli.CLI.execute(CLI.java:136)
      	at co.cask.common.cli.CLI.startInteractiveMode(CLI.java:173)
      	at co.cask.cdap.cli.CLIMain.main(CLIMain.java:291)
      

        Attachments

          Activity

            People

            • Assignee:
              terence Terence Yim
              Reporter:
              sree Sreevatsan Raman
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: