[ 
https://issues.apache.org/jira/browse/HIVE-10477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14511038#comment-14511038
 ] 

Xuefu Zhang commented on HIVE-10477:
------------------------------------

I'm wondering it's possible to detect the OS type in pom.xml and skip spark 
test automatically if os is windows.

> 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)

Reply via email to