Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-10477

Provide option to disable Spark tests

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None

      Description

      The following is one of the reasons why we might want to provide an option to disable spark tests :
      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 :

                       <target>
                          <exec executable="bash" dir="${basedir}" failonerror="true">
                            <arg line="../target/download.sh"/>
                          </exec>
                        </target>
      

      We should provide an option to disable spark tests in OSes like Windows where bash might be absent. That being mentioned, spark tests will be enabled by default in pre-commit test runs and should still continue to work as it is in the master branch.

        Attachments

        1. HIVE-10477.01.patch
          7 kB
          Hari Sankar Sivarama Subramaniyan

          Activity

            People

            • Assignee:
              hsubramaniyan Hari Sankar Sivarama Subramaniyan
              Reporter:
              hsubramaniyan Hari Sankar Sivarama Subramaniyan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: