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

don't log the callstack for reduce.xml-doesn't-exist

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.3.0
    • None
    • None

    Description

      Pointless exception in the logs:

      java.io.FileNotFoundException: File file:[snip]/itests/qtest/target/tmp/localscratchdir/bcc7fce3-b9a3-4d5a-bf52-4e3b70ad9fed/hive_2016-12-07_09-53-18_167_8716888773328063866-1/-mr-10002/3fb6d7bd-d8b6-4238-bc08-90b2f0217197/reduce.xml does not exist
      	at org.apache.hadoop.fs.RawLocalFileSystem.deprecatedGetFileStatus(RawLocalFileSystem.java:609) ~[hadoop-common-2.7.2.jar:?]
      	at org.apache.hadoop.fs.RawLocalFileSystem.getFileLinkStatusInternal(RawLocalFileSystem.java:822) ~[hadoop-common-2.7.2.jar:?]
      	at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:599) ~[hadoop-common-2.7.2.jar:?]
      	at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:421) ~[hadoop-common-2.7.2.jar:?]
      	at org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.<init>(ChecksumFileSystem.java:140) ~[hadoop-common-2.7.2.jar:?]
      	at org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:341) ~[hadoop-common-2.7.2.jar:?]
      	at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:767) ~[hadoop-common-2.7.2.jar:?]
      	at org.apache.hadoop.hive.ql.exec.Utilities.getBaseWork(Utilities.java:421) [hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
      	at org.apache.hadoop.hive.ql.exec.Utilities.getReduceWork(Utilities.java:313) [hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
      	at org.apache.hadoop.hive.ql.exec.Utilities.getMapRedWork(Utilities.java:292) [hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
      	at org.apache.hadoop.hive.ql.io.HiveOutputFormatImpl.checkOutputSpecs(HiveOutputFormatImpl.java:61) [hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
      	at org.apache.hadoop.mapreduce.JobSubmitter.checkSpecs(JobSubmitter.java:268) [hadoop-mapreduce-client-core-2.7.2.jar:?]
      	at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:139) [hadoop-mapreduce-client-core-2.7.2.jar:?]
      	at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1290) [hadoop-mapreduce-client-core-2.7.2.jar:?]
      	at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1287) [hadoop-mapreduce-client-core-2.7.2.jar:?]
      	at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_102]
      	at javax.security.auth.Subject.doAs(Subject.java:422) [?:1.8.0_102]
      	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657) [hadoop-common-2.7.2.jar:?]
      	at org.apache.hadoop.mapreduce.Job.submit(Job.java:1287) [hadoop-mapreduce-client-core-2.7.2.jar:?]
      	at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:575) [hadoop-mapreduce-client-core-2.7.2.jar:?]
      	at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:570) [hadoop-mapreduce-client-core-2.7.2.jar:?]
      	at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_102]
      	at javax.security.auth.Subject.doAs(Subject.java:422) [?:1.8.0_102]
      	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657) [hadoop-common-2.7.2.jar:?]
      	at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:570) [hadoop-mapreduce-client-core-2.7.2.jar:?]
      	at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:561) [hadoop-mapreduce-client-core-2.7.2.jar:?]
      	at org.apache.hadoop.hive.ql.exec.mr.ExecDriver.execute(ExecDriver.java:401) [hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
      	at org.apache.hadoop.hive.ql.exec.mr.MapRedTask.execute(MapRedTask.java:151) [hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
      	at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:199) [hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
      	at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:100) [hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
      	at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:2166) [hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
      	at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1822) [hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
      	at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1510) [hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
      	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1221) [hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
      	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1211) [hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
      	at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:233) [hive-cli-2.2.0-SNAPSHOT.jar:?]
      	at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:184) [hive-cli-2.2.0-SNAPSHOT.jar:?]
      	at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:400) [hive-cli-2.2.0-SNAPSHOT.jar:?]
      	at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:336) [hive-cli-2.2.0-SNAPSHOT.jar:?]
      	at org.apache.hadoop.hive.ql.QTestUtil.createSources(QTestUtil.java:1131) [hive-it-util-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
      	at org.apache.hadoop.hive.ql.QTestUtil.createSources(QTestUtil.java:1108) [hive-it-util-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
      	at org.apache.hadoop.hive.cli.control.CoreCliDriver$3.invokeInternal(CoreCliDriver.java:81) [hive-it-util-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
      	at org.apache.hadoop.hive.cli.control.CoreCliDriver$3.invokeInternal(CoreCliDriver.java:78) [hive-it-util-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
      	at org.apache.hadoop.hive.util.ElapsedTimeLoggingWrapper.invoke(ElapsedTimeLoggingWrapper.java:33) [hive-it-util-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
      	at org.apache.hadoop.hive.cli.control.CoreCliDriver.beforeClass(CoreCliDriver.java:84) [hive-it-util-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
      	at org.apache.hadoop.hive.cli.control.CliAdapter$1$1.evaluate(CliAdapter.java:71) [hive-it-util-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
      	at org.junit.rules.RunRules.evaluate(RunRules.java:20) [junit-4.11.jar:?]
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:309) [junit-4.11.jar:?]
      	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367) [surefire-junit4-2.19.1.jar:2.19.1]
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274) [surefire-junit4-2.19.1.jar:2.19.1]
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) [surefire-junit4-2.19.1.jar:2.19.1]
      	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161) [surefire-junit4-2.19.1.jar:2.19.1]
      	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290) [surefire-booter-2.19.1.jar:2.19.1]
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242) [surefire-booter-2.19.1.jar:2.19.1]
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121) [surefire-booter-2.19.1.jar:2.19.1]
      

      This is not even an error, so it should be logged at info or warn with no stack

      Attachments

        1. HIVE-15381.patch
          0.7 kB
          Sergey Shelukhin

        Activity

          People

            sershe Sergey Shelukhin
            sershe Sergey Shelukhin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: