Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-4059 Pig on Spark
  3. PIG-4741

the value of $SPARK_DIST_CLASSPATH in pig file is invalid

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • spark-branch
    • spark
    • None

    Description

      the value of $SPARK_DIST_CLASSPATH in bin/pig is invalid

      SPARK_DIST_CLASSPATH=${SPARK_DIST_CLASSPATH}:\${PWD}/`basename $f`
      

      there is no need to escape the PWD. If we add "\", the value of SPARK_DIST_CLASSPATH will like:

       ${PWD}/akka-actor_2.10-2.3.4-spark.jar:${PWD}/akka-remote_2.10-2.3.4-spark.jar
      

      Attachments

        1. PIG-4741.patch
          0.7 kB
          liyunzhang

        Activity

          People

            kellyzly liyunzhang
            kellyzly liyunzhang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: