You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Patrick Wendell (JIRA)" <ji...@apache.org> on 2014/11/21 21:13:33 UTC

[jira] [Resolved] (SPARK-4532) make-distribution in Spark 1.2 does not correctly detect whether Hive is enabled

     [ https://issues.apache.org/jira/browse/SPARK-4532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Wendell resolved SPARK-4532.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0

> make-distribution in Spark 1.2 does not correctly detect whether Hive is enabled
> --------------------------------------------------------------------------------
>
>                 Key: SPARK-4532
>                 URL: https://issues.apache.org/jira/browse/SPARK-4532
>             Project: Spark
>          Issue Type: Bug
>          Components: Build
>            Reporter: Patrick Wendell
>            Assignee: Patrick Wendell
>            Priority: Blocker
>             Fix For: 1.2.0
>
>
> I noticed that Hive support isn't working in the recent release artifacts. Because the hive profile is no longer defined in the root pom, the following doesn't work:
> {code}
> SPARK_HIVE=$(mvn help:evaluate -Dexpression=project.activeProfiles $@ 2>/dev/null\
>     | grep -v "INFO"\
>     | fgrep --count "<id>hive</id>";\
>     # Reset exit status to 0, otherwise the script stops here if the last grep finds nothing\
>     # because we use "set -o pipefail"
>     echo -n)
> {code}
> We need to simply change it to this
> {code}
> SPARK_HIVE=$(mvn help:evaluate -Dexpression=project.activeProfiles -pl sql/hive $@ 2>/dev/null\
>     | grep -v "INFO"\
>     | fgrep --count "<id>hive</id>";\
>     # Reset exit status to 0, otherwise the script stops here if the last grep finds nothing\
>     # because we use "set -o pipefail"
>     echo -n)
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org