hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Seth (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-16165) use database broken on master
Date Fri, 10 Mar 2017 00:47:38 GMT
Siddharth Seth created HIVE-16165:
-------------------------------------

             Summary: use database broken on master
                 Key: HIVE-16165
                 URL: https://issues.apache.org/jira/browse/HIVE-16165
             Project: Hive
          Issue Type: Bug
    Affects Versions: 2.2.0
            Reporter: Siddharth Seth
            Priority: Blocker


{code}
2017-03-09T19:37:20,765  INFO [9171ecb2-4f38-4254-8138-f78a73c24181 main] parse.CalcitePlanner:
Starting Semantic Analysis
2017-03-09T19:37:20,766  INFO [9171ecb2-4f38-4254-8138-f78a73c24181 main] parse.CalcitePlanner:
Completed phase 1 of Semantic Analysis
2017-03-09T19:37:20,766  INFO [9171ecb2-4f38-4254-8138-f78a73c24181 main] parse.CalcitePlanner:
Get metadata for source tables
2017-03-09T19:37:20,766  INFO [9171ecb2-4f38-4254-8138-f78a73c24181 main] parse.CalcitePlanner:
Get metadata for subqueries
2017-03-09T19:37:20,766  INFO [9171ecb2-4f38-4254-8138-f78a73c24181 main] parse.CalcitePlanner:
Get metadata for destination tables
2017-03-09T19:37:20,766  INFO [9171ecb2-4f38-4254-8138-f78a73c24181 main] parse.CalcitePlanner:
Completed getting MetaData in Semantic Analysis
2017-03-09T19:37:20,766  INFO [9171ecb2-4f38-4254-8138-f78a73c24181 main] parse.BaseSemanticAnalyzer:
Not invoking CBO because the statement doesn't have QUERY or EXPLAIN as root and not a CTAS;
is not a query with at least one source table  or there is a subquery without a source table,
or CTAS, or insert
2017-03-09T19:37:20,810  INFO [9171ecb2-4f38-4254-8138-f78a73c24181 main] ql.Context: New
scratch dir is hdfs://cn105-10.l42scl.hortonworks.com:8020/tmp/hive/sseth/9171ecb2-4f38-4254-8138-f78a73c24181/hive_2017-03-09_19-37-20_763_6998351573308778636-1
2017-03-09T19:37:20,894  INFO [9171ecb2-4f38-4254-8138-f78a73c24181 main] ppd.OpProcFactory:
Processing for TS(0)
2017-03-09T19:37:20,900 ERROR [9171ecb2-4f38-4254-8138-f78a73c24181 main] ql.Driver: FAILED:
NullPointerException null
java.lang.NullPointerException
        at org.apache.hadoop.hive.ql.stats.StatsUtils.estimateRowSizeFromSchema(StatsUtils.java:543)
        at org.apache.hadoop.hive.ql.stats.StatsUtils.getNumRows(StatsUtils.java:180)
        at org.apache.hadoop.hive.ql.stats.StatsUtils.collectStatistics(StatsUtils.java:204)
        at org.apache.hadoop.hive.ql.stats.StatsUtils.collectStatistics(StatsUtils.java:154)
        at org.apache.hadoop.hive.ql.stats.StatsUtils.collectStatistics(StatsUtils.java:142)
        at org.apache.hadoop.hive.ql.optimizer.stats.annotation.StatsRulesProcFactory$TableScanStatsRule.process(StatsRulesProcFactory.java:130)
        at org.apache.hadoop.hive.ql.lib.DefaultRuleDispatcher.dispatch(DefaultRuleDispatcher.java:90)
        at org.apache.hadoop.hive.ql.lib.DefaultGraphWalker.dispatchAndReturn(DefaultGraphWalker.java:105)
        at org.apache.hadoop.hive.ql.lib.DefaultGraphWalker.dispatch(DefaultGraphWalker.java:89)
        at org.apache.hadoop.hive.ql.lib.LevelOrderWalker.walk(LevelOrderWalker.java:143)
        at org.apache.hadoop.hive.ql.lib.LevelOrderWalker.startWalking(LevelOrderWalker.java:122)
        at org.apache.hadoop.hive.ql.optimizer.stats.annotation.AnnotateWithStatistics.transform(AnnotateWithStatistics.java:78)
        at org.apache.hadoop.hive.ql.parse.TezCompiler.runStatsAnnotation(TezCompiler.java:302)
        at org.apache.hadoop.hive.ql.parse.TezCompiler.optimizeOperatorPlan(TezCompiler.java:96)
        at org.apache.hadoop.hive.ql.parse.TaskCompiler.compile(TaskCompiler.java:140)
        at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeInternal(SemanticAnalyzer.java:11174)
        at org.apache.hadoop.hive.ql.parse.CalcitePlanner.analyzeInternal(CalcitePlanner.java:285)
        at org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:258)
        at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:511)
        at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1316)
        at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1456)
        at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1236)
        at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1226)
        at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:233)
        at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:184)
        at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:403)
        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:686)
        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:233)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:148)

2017-03-09T19:37:20,900  INFO [9171ecb2-4f38-4254-8138-f78a73c24181 main] ql.Driver: Completed
compiling command(queryId=sseth_20170309193720_bfc8191b-c1b7-49ab-9cad-d3d2939ba886); Time
taken: 0.138 seconds
2017-03-09T19:37:20,925  INFO [9171ecb2-4f38-4254-8138-f78a73c24181 main] conf.HiveConf: Using
the default value passed in for log id: 9171ecb2-4f38-4254-8138-f78a73c24181
2017-03-09T19:37:20,926  INFO [9171ecb2-4f38-4254-8138-f78a73c24181 main] session.SessionState:
Resetting thread name to  main
2017-03-09T19:37:28,400  INFO [main] conf.HiveConf: Using the default value passed in for
log id: 9171ecb2-4f38-4254-8138-f78a73c24181
{code}



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

Mime
View raw message