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

when set hive.exec.pre.hooks = org.apache.hadoop.hive.ql.hooks.UpdateInputAccessTimeHook$PreExec , where exec select 1, then nullpointsexception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3.7, 3.1.2
    • None
    • Hooks
    • None

    Description

      hive> set hive.exec.pre.hooks = org.apache.hadoop.hive.ql.hooks.UpdateInputAccessTimeHook$PreExec;
      hive> select 1;
      FAILED: Hive Internal Error: org.apache.hadoop.hive.ql.metadata.InvalidTableException(Table not found _dummy_table)
      org.apache.hadoop.hive.ql.metadata.InvalidTableException: Table not found _dummy_table
          at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:1133)
          at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:1103)
          at org.apache.hadoop.hive.ql.hooks.UpdateInputAccessTimeHook$PreExec.run(UpdateInputAccessTimeHook.java:64)
          at org.apache.hadoop.hive.ql.HookRunner.invokeGeneralHook(HookRunner.java:296)
          at org.apache.hadoop.hive.ql.HookRunner.runPreHooks(HookRunner.java:273)
          at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:2276)
          at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:2011)
          at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1709)
          at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1703)
          at org.apache.hadoop.hive.ql.reexec.ReExecDriver.run(ReExecDriver.java:157)
          at org.apache.hadoop.hive.ql.reexec.ReExecDriver.run(ReExecDriver.java:218)
          at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:239)
          at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:188)
          at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:402)
          at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:821)
          at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:759)
          at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:683)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at org.apache.hadoop.util.RunJar.run(RunJar.java:323)
          at org.apache.hadoop.util.RunJar.main(RunJar.java:236)

      Attachments

        Activity

          People

            Unassigned Unassigned
            liukailong123 lkl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: