You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hari Sankar Sivarama Subramaniyan (JIRA)" <ji...@apache.org> on 2015/04/24 05:51:39 UTC

[jira] [Updated] (HIVE-10477) Provide option to disable Spark tests in Windows OS

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

Hari Sankar Sivarama Subramaniyan updated HIVE-10477:
-----------------------------------------------------
    Attachment: HIVE-10477.1.patch

cc-ing [~sushanth] to review the patch. The current patch provides option to disable spark tests by doing :

mvn test -DskipSparkTests -Phadoop-2  
OR
mvn test -Phadoop2,!spark-test

By default the spark tests will be on, so an explicit option needs to be provided as mentioned above to disable spark unit tests.

Thanks
Hari

> Provide option to disable Spark tests in Windows OS
> ---------------------------------------------------
>
>                 Key: HIVE-10477
>                 URL: https://issues.apache.org/jira/browse/HIVE-10477
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Hari Sankar Sivarama Subramaniyan
>            Assignee: Hari Sankar Sivarama Subramaniyan
>         Attachments: HIVE-10477.1.patch
>
>
> In the current master branch, unit tests fail with windows OS because of the dependency on "bash" executable in itests/hive-unit/pom.xml around these lines :
> {code}
>                  <target>
>                     <exec executable="bash" dir="${basedir}" failonerror="true">
>                       <arg line="../target/download.sh"/>
>                     </exec>
>                   </target>
> {code}
> We should provide an option to disable spark tests in OSes  like Windows where bash might be absent



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