Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [yava@test ~]$ beeline -u jdbc:hive2://test.test.test:10000 -n hive -p
- SLF4J: Class path contains multiple SLF4J bindings.
- SLF4J: Found binding in [jar:file:/usr/yava/3.0.0.0-0000/tez/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
- SLF4J: Found binding in [jar:file:/usr/yava/3.0.0.0-0000/hadoop/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
- SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
- SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
- SLF4J: Class path contains multiple SLF4J bindings.
- SLF4J: Found binding in [jar:file:/usr/yava/3.0.0.0-0000/hive/lib/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
- SLF4J: Found binding in [jar:file:/usr/yava/3.0.0.0-0000/tez/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
- SLF4J: Found binding in [jar:file:/usr/yava/3.0.0.0-0000/hadoop/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
- SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
- SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
- Connecting to jdbc:hive2://test.test.test:10000/;user=hive
- Enter password for jdbc:hive2://test.test.test:10000/: ********
- Connected to: Apache Hive (version 3.1.0)
- Driver: Hive JDBC (version 3.1.0)
- Transaction isolation: TRANSACTION_REPEATABLE_READ
- Beeline version 3.1.0 by Apache Hive
- 0: jdbc:hive2://test.test.test:10000/> show tables;
- INFO : Compiling command(queryId=hive_20190325123357_d41c166a-560b-4387-94f9-b319654e4e14): show tables
- INFO : Semantic Analysis Completed (retrial = false)
- INFO : Returning Hive schema: Schema(fieldSchemas:[FieldSchema(name:tab_name, type:string, comment:from deserializer)], properties:null)
- INFO : Completed compiling command(queryId=hive_20190325123357_d41c166a-560b-4387-94f9-b319654e4e14); Time taken: 1.982 seconds
- INFO : Executing command(queryId=hive_20190325123357_d41c166a-560b-4387-94f9-b319654e4e14): show tables
- INFO : Starting task [Stage-0:DDL] in serial mode
- INFO : Completed executing command(queryId=hive_20190325123357_d41c166a-560b-4387-94f9-b319654e4e14); Time taken: 0.22 seconds
- INFO : OK
- +-----------+
- | tab_name |
- +-----------+
- | students |
- +-----------+
- 1 row selected (2.933 seconds)
- 0: jdbc:hive2://test.test.test:10000/> INSERT INTO TABLE students VALUES ('fred flintstone', 35, 1.28), ('barney rubble', 32, 2.32);
- INFO : Compiling command(queryId=hive_20190325123407_62081b77-db21-43fe-b629-0d9a345ccb57): INSERT INTO TABLE students VALUES ('fred flintstone', 35, 1.28), ('barney rubble', 32, 2.32)
- INFO : Semantic Analysis Completed (retrial = false)
- INFO : Returning Hive schema: Schema(fieldSchemas:[FieldSchema(name:_col0, type:varchar(64), comment:null), FieldSchema(name:_col1, type:int, comment:null), FieldSchema(name:_col2, type:decimal(3,2), comment:null)], properties:null)
- INFO : Completed compiling command(queryId=hive_20190325123407_62081b77-db21-43fe-b629-0d9a345ccb57); Time taken: 4.944 seconds
- INFO : Executing command(queryId=hive_20190325123407_62081b77-db21-43fe-b629-0d9a345ccb57): INSERT INTO TABLE students VALUES ('fred flintstone', 35, 1.28), ('barney rubble', 32, 2.32)
- INFO : Query ID = hive_20190325123407_62081b77-db21-43fe-b629-0d9a345ccb57
- INFO : Total jobs = 1
- INFO : Launching Job 1 out of 1
- INFO : Starting task [Stage-1:MAPRED] in serial mode
- INFO : Subscribed to counters: [] for queryId: hive_20190325123407_62081b77-db21-43fe-b629-0d9a345ccb57
- INFO : Tez session hasn't been created yet. Opening session
- ERROR : Failed to execute tez graph.
- java.io.IOException: Previous writer likely failed to write hdfs://test.test.test:8020/tmp/hive/hive/_tez_session_dir/626d449f-31c2-4fc2-a660-19767d2193f2-resources/hive-hcatalog-core.jar. Failing because I am unlikely to write too.
- at org.apache.hadoop.hive.ql.exec.tez.DagUtils.localizeResource(DagUtils.java:1191) ~[hive-exec-3.1.0.jar:3.1.0]
- at org.apache.hadoop.hive.ql.exec.tez.DagUtils.addTempResources(DagUtils.java:1042) ~[hive-exec-3.1.0.jar:3.1.0]
- at org.apache.hadoop.hive.ql.exec.tez.DagUtils.localizeTempFilesFromConf(DagUtils.java:931) ~[hive-exec-3.1.0.jar:3.1.0]
- at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.ensureLocalResources(TezSessionState.java:610) ~[hive-exec-3.1.0.jar:3.1.0]
- at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.openInternal(TezSessionState.java:287) ~[hive-exec-3.1.0.jar:3.1.0]
- at org.apache.hadoop.hive.ql.exec.tez.TezSessionPoolSession.openInternal(TezSessionPoolSession.java:124) ~[hive-exec-3.1.0.jar:3.1.0]
- at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:245) ~[hive-exec-3.1.0.jar:3.1.0]
- at org.apache.hadoop.hive.ql.exec.tez.TezTask.ensureSessionHasResources(TezTask.java:368) ~[hive-exec-3.1.0.jar:3.1.0]
- at org.apache.hadoop.hive.ql.exec.tez.TezTask.execute(TezTask.java:195) ~[hive-exec-3.1.0.jar:3.1.0]
- at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:205) ~[hive-exec-3.1.0.jar:3.1.0]
- at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:97) ~[hive-exec-3.1.0.jar:3.1.0]
- at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:2664) ~[hive-exec-3.1.0.jar:3.1.0]
- at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:2335) ~[hive-exec-3.1.0.jar:3.1.0]
- at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:2011) ~[hive-exec-3.1.0.jar:3.1.0]
- at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1709) ~[hive-exec-3.1.0.jar:3.1.0]
- at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1703) ~[hive-exec-3.1.0.jar:3.1.0]
- at org.apache.hadoop.hive.ql.reexec.ReExecDriver.run(ReExecDriver.java:157) ~[hive-exec-3.1.0.jar:3.1.0]
- at org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:224) ~[hive-service-3.1.0.jar:3.1.0]
- at org.apache.hive.service.cli.operation.SQLOperation.access$700(SQLOperation.java:87) ~[hive-service-3.1.0.jar:3.1.0]
- at org.apache.hive.service.cli.operation.SQLOperation$BackgroundWork$1.run(SQLOperation.java:316) ~[hive-service-3.1.0.jar:3.1.0]
- at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_112]
- at javax.security.auth.Subject.doAs(Subject.java:422) ~[?:1.8.0_112]
- at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1729) ~[hadoop-common-3.1.1.jar:?]
- at org.apache.hive.service.cli.operation.SQLOperation$BackgroundWork.run(SQLOperation.java:329) ~[hive-service-3.1.0.jar:3.1.0]
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_112]
- at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_112]
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[?:1.8.0_112]
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[?:1.8.0_112]
- at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
- ERROR : FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask
- INFO : Completed executing command(queryId=hive_20190325123407_62081b77-db21-43fe-b629-0d9a345ccb57); Time taken: 25.344 seconds
- Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask (state=08S01,code=1)
- 0: jdbc:hive2://test.test.test:10000/>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement