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

UT: udf_in_file fails with filenotfoundexception [Spark Branch]

    XMLWordPrintableJSON

    Details

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

      Description

      The test case references ../../data/files/test2.dat, but for some reasons it can't find the file:

      2014-12-18 17:59:46,360 ERROR [main]: CliDriver (SessionState.java:printError(834)) - Failed with exception java.io.IOException:org.apache.hadoop.hive.ql.metadata.HiveException: java.io.FileNotFoundException: test2.dat (No such file or directory)
      java.io.IOException: org.apache.hadoop.hive.ql.metadata.HiveException: java.io.FileNotFoundException: test2.dat (No such file or directory)
      at org.apache.hadoop.hive.ql.exec.FetchTask.fetch(FetchTask.java:152)
      at org.apache.hadoop.hive.ql.Driver.getResults(Driver.java:1648)
      at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:226)
      at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:158)
      at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:369)
      at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:304)
      at org.apache.hadoop.hive.ql.QTestUtil.executeClient(QTestUtil.java:837)
      at org.apache.hadoop.hive.cli.TestSparkCliDriver.runTest(TestSparkCliDriver.java:136)
      at org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_udf_in_file(TestSparkCliDriver.java:120)

        Attachments

        1. HIVE-9170.1-spark.patch
          6 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: