You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "liyunzhang_intel (JIRA)" <ji...@apache.org> on 2015/11/20 02:46:11 UTC

[jira] [Created] (PIG-4741) the value of $SPARK_DIST_CLASSPATH in pig file is invalid

liyunzhang_intel created PIG-4741:
-------------------------------------

             Summary: the value of $SPARK_DIST_CLASSPATH in pig file is invalid
                 Key: PIG-4741
                 URL: https://issues.apache.org/jira/browse/PIG-4741
             Project: Pig
          Issue Type: Sub-task
          Components: spark
            Reporter: liyunzhang_intel
            Assignee: liyunzhang_intel


the value of [$SPARK_DIST_CLASSPATH|https://github.com/apache/pig/blob/spark/bin/pig#L380] in bin/pig is invalid
{code}
SPARK_DIST_CLASSPATH=${SPARK_DIST_CLASSPATH}:\${PWD}/`basename $f`
{code}
there is no need to escape the {{PWD}}. If we add "\", the value of SPARK_DIST_CLASSPATH will like:
{code}
 ${PWD}/akka-actor_2.10-2.3.4-spark.jar:${PWD}/akka-remote_2.10-2.3.4-spark.jar
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)