日志信息:
2015-10-28 16:51:03,551 INFO metastore.HiveMetaStore (HiveMetaStore.java:addAdminUsers(588)) - No user is added in admin role, since config is empty
2015-10-28 16:51:04,674 INFO session.SessionState (SessionState.java:start(360)) - No Tez session required at this point. hive.execution.engine=mr.
2015-10-28 16:51:04,690 INFO log.PerfLogger (PerfLogger.java:PerfLogBegin(108)) - <PERFLOG method=Driver.run from=org.apache.hadoop.hive.ql.Driver>
2015-10-28 16:51:04,691 INFO log.PerfLogger (PerfLogger.java:PerfLogBegin(108)) - <PERFLOG method=TimeToSubmit from=org.apache.hadoop.hive.ql.Driver>
2015-10-28 16:51:04,691 INFO ql.Driver (Driver.java:checkConcurrency(158)) - Concurrency mode is disabled, not creating a lock manager
2015-10-28 16:51:04,694 INFO log.PerfLogger (PerfLogger.java:PerfLogBegin(108)) - <PERFLOG method=compile from=org.apache.hadoop.hive.ql.Driver>
2015-10-28 16:51:04,732 INFO log.PerfLogger (PerfLogger.java:PerfLogBegin(108)) - <PERFLOG method=parse from=org.apache.hadoop.hive.ql.Driver>
2015-10-28 16:51:04,737 INFO parse.ParseDriver (ParseDriver.java:parse(185)) - Parsing command: select * from dual limit 1
2015-10-28 16:51:05,134 INFO parse.ParseDriver (ParseDriver.java:parse(206)) - Parse Completed
2015-10-28 16:51:05,146 INFO log.PerfLogger (PerfLogger.java:PerfLogEnd(135)) - </PERFLOG method=parse start=1446022264732 end=1446022265146 duration=414 from=org.apache.hadoop.hive.ql.Driver>
2015-10-28 16:51:05,147 INFO log.PerfLogger (PerfLogger.java:PerfLogBegin(108)) - <PERFLOG method=semanticAnalyze from=org.apache.hadoop.hive.ql.Driver>
2015-10-28 16:51:05,235 INFO parse.SemanticAnalyzer (SemanticAnalyzer.java:analyzeInternal(9172)) - Starting Semantic Analysis
2015-10-28 16:51:05,236 INFO parse.SemanticAnalyzer (SemanticAnalyzer.java:analyzeInternal(9207)) - Completed phase 1 of Semantic Analysis
2015-10-28 16:51:05,237 INFO parse.SemanticAnalyzer (SemanticAnalyzer.java:getMetaData(1199)) - Get metadata for source tables
2015-10-28 16:51:05,310 INFO metastore.HiveMetaStore (HiveMetaStore.java:logInfo(623)) - 1: get_table : db=jt_mas_safe tbl=dual
2015-10-28 16:51:05,313 INFO HiveMetaStore.audit (HiveMetaStore.java:logAuditEvent(305)) - ugi=dishuai ip=unknown-ip-add cmd=get_table : db=jt_mas_safe tbl=dual
2015-10-28 16:51:05,313 INFO metastore.HiveMetaStore (HiveMetaStore.java:newRawStore(493)) - 1: Opening raw store with implemenation class:org.apache.hadoop.hive.metastore.ObjectStore
2015-10-28 16:51:05,315 INFO metastore.ObjectStore (ObjectStore.java:initialize(246)) - ObjectStore, initialize called
2015-10-28 16:51:05,325 INFO DataNucleus.Query (Log4JLogger.java:info(77)) - Reading in results for query "org.datanucleus.store.rdbms.query.SQLQuery@0" since the connection used is closing
2015-10-28 16:51:05,328 INFO metastore.ObjectStore (ObjectStore.java:setConf(229)) - Initialized ObjectStore
2015-10-28 16:51:05,353 INFO parse.SemanticAnalyzer (SemanticAnalyzer.java:getMetaData(1336)) - Get metadata for subqueries
2015-10-28 16:51:05,354 INFO parse.SemanticAnalyzer (SemanticAnalyzer.java:getMetaData(1361)) - Get metadata for destination tables
2015-10-28 16:51:05,564 INFO ql.Context (Context.java:getMRScratchDir(267)) - New scratch dir is hdfs://hdp-hdfs/tmp/dishuai/hive_2015-10-28_16-51-04_731_6204319160032076834-1
2015-10-28 16:51:05,566 INFO parse.SemanticAnalyzer (SemanticAnalyzer.java:analyzeInternal(9210)) - Completed getting MetaData in Semantic Analysis
2015-10-28 16:51:05,702 INFO ppd.OpProcFactory (OpProcFactory.java:process(549)) - Processing for FS(3)
2015-10-28 16:51:05,702 INFO ppd.OpProcFactory (OpProcFactory.java:process(119)) - Processing for LIM(2)
2015-10-28 16:51:05,703 INFO ppd.OpProcFactory (OpProcFactory.java:process(549)) - Processing for SEL(1)
2015-10-28 16:51:05,703 INFO ppd.OpProcFactory (OpProcFactory.java:process(189)) - Processing for TS(0)
2015-10-28 16:51:05,747 INFO parse.SemanticAnalyzer (SemanticAnalyzer.java:analyzeInternal(9292)) - Completed plan generation
2015-10-28 16:51:05,747 INFO ql.Driver (Driver.java:compile(431)) - Semantic Analysis Completed
2015-10-28 16:51:05,747 INFO log.PerfLogger (PerfLogger.java:PerfLogEnd(135)) - </PERFLOG method=semanticAnalyze start=1446022265147 end=1446022265747 duration=600 from=org.apache.hadoop.hive.ql.Driver>
2015-10-28 16:51:05,772 INFO exec.TableScanOperator (Operator.java:initialize(337)) - Initializing Self 0 TS
2015-10-28 16:51:05,773 INFO exec.TableScanOperator (Operator.java:initializeChildren(410)) - Operator 0 TS initialized
2015-10-28 16:51:05,773 INFO exec.TableScanOperator (Operator.java:initializeChildren(414)) - Initializing children of 0 TS
2015-10-28 16:51:05,773 INFO exec.SelectOperator (Operator.java:initialize(449)) - Initializing child 1 SEL
2015-10-28 16:51:05,773 INFO exec.SelectOperator (Operator.java:initialize(337)) - Initializing Self 1 SEL
2015-10-28 16:51:05,789 INFO exec.SelectOperator (SelectOperator.java:initializeOp(63)) - SELECT struct<x:string>
2015-10-28 16:51:05,796 INFO exec.SelectOperator (Operator.java:initializeChildren(410)) - Operator 1 SEL initialized
2015-10-28 16:51:05,797 INFO exec.SelectOperator (Operator.java:initializeChildren(414)) - Initializing children of 1 SEL
2015-10-28 16:51:05,797 INFO exec.LimitOperator (Operator.java:initialize(449)) - Initializing child 2 LIM
2015-10-28 16:51:05,797 INFO exec.LimitOperator (Operator.java:initialize(337)) - Initializing Self 2 LIM
2015-10-28 16:51:05,797 INFO exec.LimitOperator (Operator.java:initializeChildren(410)) - Operator 2 LIM initialized
2015-10-28 16:51:05,797 INFO exec.LimitOperator (Operator.java:initializeChildren(414)) - Initializing children of 2 LIM
2015-10-28 16:51:05,798 INFO exec.ListSinkOperator (Operator.java:initialize(449)) - Initializing child 4 OP
2015-10-28 16:51:05,798 INFO exec.ListSinkOperator (Operator.java:initialize(337)) - Initializing Self 4 OP
2015-10-28 16:51:05,800 INFO exec.ListSinkOperator (Operator.java:initializeChildren(410)) - Operator 4 OP initialized
2015-10-28 16:51:05,800 INFO exec.ListSinkOperator (Operator.java:initialize(385)) - Initialization Done 4 OP
2015-10-28 16:51:05,800 INFO Configuration.deprecation (Configuration.java:warnOnceIfDeprecated(1087)) - mapred.task.is.map is deprecated. Instead, use mapreduce.task.ismap
2015-10-28 16:51:05,800 INFO exec.LimitOperator (Operator.java:initialize(385)) - Initialization Done 2 LIM
2015-10-28 16:51:05,801 INFO exec.SelectOperator (Operator.java:initialize(385)) - Initialization Done 1 SEL
2015-10-28 16:51:05,801 INFO exec.TableScanOperator (Operator.java:initialize(385)) - Initialization Done 0 TS
2015-10-28 16:51:05,805 INFO ql.Driver (Driver.java:getSchema(238)) - Returning Hive schema: Schema(fieldSchemas:[FieldSchema(name:dual.x, type:string, comment:null)], properties:null)
2015-10-28 16:51:05,805 INFO log.PerfLogger (PerfLogger.java:PerfLogBegin(108)) - <PERFLOG method=doAuthorization from=org.apache.hadoop.hive.ql.Driver>
2015-10-28 16:51:05,807 INFO metastore.HiveMetaStore (HiveMetaStore.java:logInfo(623)) - 1: get_database: jt_mas_safe
2015-10-28 16:51:05,807 INFO HiveMetaStore.audit (HiveMetaStore.java:logAuditEvent(305)) - ugi=dishuai596 ip=unknown-ip-addr cmd=get_database: jt_mas_safe
2015-10-28 16:51:05,997 INFO log.PerfLogger (PerfLogger.java:PerfLogEnd(135)) - </PERFLOG method=doAuthorization start=1446022265805 end=1446022265997 duration=192 from=org.apache.hadoop.hive.ql.Driver>
2015-10-28 16:51:05,997 INFO log.PerfLogger (PerfLogger.java:PerfLogEnd(135)) - </PERFLOG method=compile start=1446022264694 end=1446022265997 duration=1303 from=org.apache.hadoop.hive.ql.Driver>
2015-10-28 16:51:05,998 INFO log.PerfLogger (PerfLogger.java:PerfLogBegin(108)) - <PERFLOG method=Driver.execute from=org.apache.hadoop.hive.ql.Driver>
2015-10-28 16:51:05,998 INFO ql.Driver (Driver.java:execute(1192)) - Starting command: select * from dual limit 1
2015-10-28 16:51:06,010 INFO log.PerfLogger (PerfLogger.java:PerfLogEnd(135)) - </PERFLOG method=TimeToSubmit start=1446022264691 end=1446022266010 duration=1319 from=org.apache.hadoop.hive.ql.Driver>
2015-10-28 16:51:06,010 INFO log.PerfLogger (PerfLogger.java:PerfLogBegin(108)) - <PERFLOG method=runTasks from=org.apache.hadoop.hive.ql.Driver>
2015-10-28 16:51:06,010 INFO log.PerfLogger (PerfLogger.java:PerfLogEnd(135)) - </PERFLOG method=runTasks start=1446022266010 end=1446022266010 duration=0 from=org.apache.hadoop.hive.ql.Driver>
2015-10-28 16:51:06,011 INFO log.PerfLogger (PerfLogger.java:PerfLogEnd(135)) - </PERFLOG method=Driver.execute start=1446022265998 end=1446022266011 duration=13 from=org.apache.hadoop.hive.ql.Driver>
OK
2015-10-28 16:51:06,011 INFO ql.Driver (SessionState.java:printInfo(536)) - OK
2015-10-28 16:51:06,011 INFO log.PerfLogger (PerfLogger.java:PerfLogBegin(108)) - <PERFLOG method=releaseLocks from=org.apache.hadoop.hive.ql.Driver>
2015-10-28 16:51:06,011 INFO log.PerfLogger (PerfLogger.java:PerfLogEnd(135)) - </PERFLOG method=releaseLocks start=1446022266011 end=1446022266011 duration=0 from=org.apache.hadoop.hive.ql.Driver>
2015-10-28 16:51:06,011 INFO log.PerfLogger (PerfLogger.java:PerfLogEnd(135)) - </PERFLOG method=Driver.run start=1446022264690 end=1446022266011 duration=1321 from=org.apache.hadoop.hive.ql.Driver>
2015-10-28 16:51:06,031 INFO Configuration.deprecation (Configuration.java:warnOnceIfDeprecated(1087)) - mapred.input.dir is deprecated. Instead, use mapreduce.input.fileinputformat.inputdir
后台代码:
ArrayList<String> res = new ArrayList<String>();
private static Driver qp = null;
CommandProcessor proc = HiveUtils.getCommandProcessor(cmd, hiveConf);
qp = (Driver) proc;
while (qp.getResults(res)) { //据我按日志跟踪,就是卡在这里,不报错
}
本人也是刚刚接触hadoop2.0没多久,请大神们帮忙看看啊!
|
|