Uploaded image for project: 'Crunch (Retired)'
  1. Crunch (Retired)
  2. CRUNCH-518

Can't build crunch-spark due to protobuf dependency

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • None
    • None

    Description

      When trying to build clean build, I get errors like the following from crunch-spark:

      [ERROR] /Users/greid/development/apache-projects/crunch/crunch-spark/src/it/scala/org/apache/crunch/scrunch/spark/PageRankTest.scala:49: error: bad symbolic reference. A signature in PTypeH.class refers to term protobuf
      [ERROR] in package com.google which is not available.
      [ERROR] It may be completely missing from the current classpath, or the version on
      [ERROR] the classpath might be incompatible with the version used when compiling PTypeH.class.
      [ERROR]     prev.cogroup(out).map((url, v) => {
      

      It seems that this is due to protobuf being referenced from PTypeH, but since it's in provided scope in crunch-scrunch, it doesn't get pulled in when building crunch-spark.

      Attachments

        1. CRUNCH-518.patch
          0.9 kB
          Gabriel Reid

        Activity

          People

            jwills Josh Wills
            gabriel.reid Gabriel Reid
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: