Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-7292 Hive on Spark
  3. HIVE-8507

UT: fix rcfile_bigdata test [Spark Branch]

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: Spark
    • Labels:
      None

      Description

      The tests
      groupby_bigdata
      rcfile_bigdata
      fail because it can't find the dumpdata_script.py file that is referenced in the script: rcfile_bigdata.q
      /usr/bin/python: can't open file 'dumpdata_script.py': [Errno 2] No such file or directory

      There are two references:
      add file ../../dumpdata_script.py;
      FROM (FROM src MAP src.key,src.value USING 'python dumpdata_script.py'

      Since it's using relative path it seems to be related to spark tests being one level deeper than regular tests.

        Attachments

        1. HIVE-8507.1-spark.patch
          3 kB
          Chinna Rao Lalam
        2. HIVE-8507.2-spark.patch
          4 kB
          Chinna Rao Lalam

          Activity

            People

            • Assignee:
              chinnalalam Chinna Rao Lalam
              Reporter:
              tfriedr Thomas Friedrich
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: