hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "yangfang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-15911) Creating a view based on another view throws an exception “FAILED: NullPointerException null”
Date Tue, 14 Feb 2017 11:26:41 GMT
yangfang created HIVE-15911:
-------------------------------

             Summary: Creating a view based on another view throws an exception “FAILED:
NullPointerException null”
                 Key: HIVE-15911
                 URL: https://issues.apache.org/jira/browse/HIVE-15911
             Project: Hive
          Issue Type: Bug
          Components: Views
    Affects Versions: 2.1.1, 2.1.0
         Environment: hive2.1.0
            Reporter: yangfang


when I create a new view based on another view I an exception “FAILED: NullPointerException
null”:

hive> create view view2(a,b) as select a, b from view1;
FAILED: NullPointerException null
hive> 

The hive log show error stack:
2017-02-13T20:54:29,288 ERROR ql.Driver (:()) - FAILED: NullPointerException null
java.lang.NullPointerException
        at org.apache.hadoop.hive.ql.Driver.doAuthorization(Driver.java:710)
        at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:474)
        at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:331)
        at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1170)
        at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1265)
        at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1092)
        at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1080)
        at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:232)
        at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:183)
        at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:399)
        at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:776)
        at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:714)
        at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:641)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:136)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message