Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.41 KB | None | 0 0
  1. [yava@test ~]$ beeline -u jdbc:hive2://test.test.test:10000 -n hive -p
  2. SLF4J: Class path contains multiple SLF4J bindings.
  3. 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]
  4. 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]
  5. SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
  6. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
  7. SLF4J: Class path contains multiple SLF4J bindings.
  8. 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]
  9. 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]
  10. 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]
  11. SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
  12. SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
  13. Connecting to jdbc:hive2://test.test.test:10000/;user=hive
  14. Enter password for jdbc:hive2://test.test.test:10000/: ********
  15. Connected to: Apache Hive (version 3.1.0)
  16. Driver: Hive JDBC (version 3.1.0)
  17. Transaction isolation: TRANSACTION_REPEATABLE_READ
  18. Beeline version 3.1.0 by Apache Hive
  19. 0: jdbc:hive2://test.test.test:10000/> show tables;
  20. INFO : Compiling command(queryId=hive_20190325123357_d41c166a-560b-4387-94f9-b319654e4e14): show tables
  21. INFO : Semantic Analysis Completed (retrial = false)
  22. INFO : Returning Hive schema: Schema(fieldSchemas:[FieldSchema(name:tab_name, type:string, comment:from deserializer)], properties:null)
  23. INFO : Completed compiling command(queryId=hive_20190325123357_d41c166a-560b-4387-94f9-b319654e4e14); Time taken: 1.982 seconds
  24. INFO : Executing command(queryId=hive_20190325123357_d41c166a-560b-4387-94f9-b319654e4e14): show tables
  25. INFO : Starting task [Stage-0:DDL] in serial mode
  26. INFO : Completed executing command(queryId=hive_20190325123357_d41c166a-560b-4387-94f9-b319654e4e14); Time taken: 0.22 seconds
  27. INFO : OK
  28. +-----------+
  29. | tab_name |
  30. +-----------+
  31. | students |
  32. +-----------+
  33. 1 row selected (2.933 seconds)
  34. 0: jdbc:hive2://test.test.test:10000/> INSERT INTO TABLE students VALUES ('fred flintstone', 35, 1.28), ('barney rubble', 32, 2.32);
  35. 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)
  36. INFO : Semantic Analysis Completed (retrial = false)
  37. 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)
  38. INFO : Completed compiling command(queryId=hive_20190325123407_62081b77-db21-43fe-b629-0d9a345ccb57); Time taken: 4.944 seconds
  39. 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)
  40. INFO : Query ID = hive_20190325123407_62081b77-db21-43fe-b629-0d9a345ccb57
  41. INFO : Total jobs = 1
  42. INFO : Launching Job 1 out of 1
  43. INFO : Starting task [Stage-1:MAPRED] in serial mode
  44. INFO : Subscribed to counters: [] for queryId: hive_20190325123407_62081b77-db21-43fe-b629-0d9a345ccb57
  45. INFO : Tez session hasn't been created yet. Opening session
  46. ERROR : Failed to execute tez graph.
  47. 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.
  48. at org.apache.hadoop.hive.ql.exec.tez.DagUtils.localizeResource(DagUtils.java:1191) ~[hive-exec-3.1.0.jar:3.1.0]
  49. at org.apache.hadoop.hive.ql.exec.tez.DagUtils.addTempResources(DagUtils.java:1042) ~[hive-exec-3.1.0.jar:3.1.0]
  50. at org.apache.hadoop.hive.ql.exec.tez.DagUtils.localizeTempFilesFromConf(DagUtils.java:931) ~[hive-exec-3.1.0.jar:3.1.0]
  51. at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.ensureLocalResources(TezSessionState.java:610) ~[hive-exec-3.1.0.jar:3.1.0]
  52. at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.openInternal(TezSessionState.java:287) ~[hive-exec-3.1.0.jar:3.1.0]
  53. at org.apache.hadoop.hive.ql.exec.tez.TezSessionPoolSession.openInternal(TezSessionPoolSession.java:124) ~[hive-exec-3.1.0.jar:3.1.0]
  54. at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:245) ~[hive-exec-3.1.0.jar:3.1.0]
  55. at org.apache.hadoop.hive.ql.exec.tez.TezTask.ensureSessionHasResources(TezTask.java:368) ~[hive-exec-3.1.0.jar:3.1.0]
  56. at org.apache.hadoop.hive.ql.exec.tez.TezTask.execute(TezTask.java:195) ~[hive-exec-3.1.0.jar:3.1.0]
  57. at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:205) ~[hive-exec-3.1.0.jar:3.1.0]
  58. at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:97) ~[hive-exec-3.1.0.jar:3.1.0]
  59. at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:2664) ~[hive-exec-3.1.0.jar:3.1.0]
  60. at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:2335) ~[hive-exec-3.1.0.jar:3.1.0]
  61. at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:2011) ~[hive-exec-3.1.0.jar:3.1.0]
  62. at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1709) ~[hive-exec-3.1.0.jar:3.1.0]
  63. at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1703) ~[hive-exec-3.1.0.jar:3.1.0]
  64. at org.apache.hadoop.hive.ql.reexec.ReExecDriver.run(ReExecDriver.java:157) ~[hive-exec-3.1.0.jar:3.1.0]
  65. at org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:224) ~[hive-service-3.1.0.jar:3.1.0]
  66. at org.apache.hive.service.cli.operation.SQLOperation.access$700(SQLOperation.java:87) ~[hive-service-3.1.0.jar:3.1.0]
  67. at org.apache.hive.service.cli.operation.SQLOperation$BackgroundWork$1.run(SQLOperation.java:316) ~[hive-service-3.1.0.jar:3.1.0]
  68. at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_112]
  69. at javax.security.auth.Subject.doAs(Subject.java:422) ~[?:1.8.0_112]
  70. at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1729) ~[hadoop-common-3.1.1.jar:?]
  71. at org.apache.hive.service.cli.operation.SQLOperation$BackgroundWork.run(SQLOperation.java:329) ~[hive-service-3.1.0.jar:3.1.0]
  72. at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_112]
  73. at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_112]
  74. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[?:1.8.0_112]
  75. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[?:1.8.0_112]
  76. at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
  77. ERROR : FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask
  78. INFO : Completed executing command(queryId=hive_20190325123407_62081b77-db21-43fe-b629-0d9a345ccb57); Time taken: 25.344 seconds
  79. Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask (state=08S01,code=1)
  80. 0: jdbc:hive2://test.test.test:10000/>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement