[ 
https://issues.apache.org/jira/browse/HIVE-23847?focusedWorklogId=459334&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-459334
 ]

ASF GitHub Bot logged work on HIVE-23847:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 15/Jul/20 15:02
            Start Date: 15/Jul/20 15:02
    Worklog Time Spent: 10m 
      Work Description: asinkovits commented on a change in pull request #1252:
URL: https://github.com/apache/hive/pull/1252#discussion_r455122449



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezSessionState.java
##########
@@ -109,7 +112,7 @@
 
   private final HiveConf conf;
   private Path tezScratchDir;
-  private LocalResource appJarLr;
+  private Collection<LocalResource> appJarLrs;

Review comment:
       Thanks for the suggestion. Unfortunately it seems that the generated 
HiveParser.class has some huge methods, which causes the shade plugin to fail.
   
   Error creating shaded jar: Problem shading JAR 
/home/antals/.m2/repository/org/apache/hive/hive-parser/4.0.0-SNAPSHOT/hive-parser-4.0.0-SNAPSHOT.jar
 entry org/apache/hadoop/hive/ql/parse/HiveParser.class: 
java.lang.RuntimeException: Method code too large!




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 459334)
    Time Spent: 0.5h  (was: 20m)

> Extracting hive-parser module broke exec jar upload in tez
> ----------------------------------------------------------
>
>                 Key: HIVE-23847
>                 URL: https://issues.apache.org/jira/browse/HIVE-23847
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Antal Sinkovits
>            Assignee: Antal Sinkovits
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 2020-07-13 16:53:50,551 [INFO] [Dispatcher thread {Central}] 
> |HistoryEventHandler.criticalEvents|: 
> [HISTORY][DAG:dag_1594632473849_0001_1][Event:TASK_ATTEMPT_FINISHED]: 
> vertexName=Map 1, taskAttemptId=attempt_1594632473849_0001_1_00_000000_0, 
> creationTime=1594652027059, allocationTime=1594652028460, 
> startTime=1594652029356, finishTime=1594652030546, timeTaken=1190, 
> status=FAILED, taskFailureType=NON_FATAL, errorEnum=FRAMEWORK_ERROR, 
> diagnostics=Error: Error while running task ( failure ) : 
> attempt_1594632473849_0001_1_00_000000_0:java.lang.RuntimeException: 
> java.lang.RuntimeException: Map operator initialization failed
>       at 
> org.apache.hadoop.hive.ql.exec.tez.TezProcessor.initializeAndRunProcessor(TezProcessor.java:296)
>       at 
> org.apache.hadoop.hive.ql.exec.tez.TezProcessor.run(TezProcessor.java:250)
>       at 
> org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.run(LogicalIOProcessorRuntimeTask.java:381)
>       at 
> org.apache.tez.runtime.task.TaskRunner2Callable$1.run(TaskRunner2Callable.java:75)
>       at 
> org.apache.tez.runtime.task.TaskRunner2Callable$1.run(TaskRunner2Callable.java:62)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at javax.security.auth.Subject.doAs(Subject.java:422)
>       at 
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1729)
>       at 
> org.apache.tez.runtime.task.TaskRunner2Callable.callInternal(TaskRunner2Callable.java:62)
>       at 
> org.apache.tez.runtime.task.TaskRunner2Callable.callInternal(TaskRunner2Callable.java:38)
>       at org.apache.tez.common.CallableWithNdc.call(CallableWithNdc.java:36)
>       at 
> com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125)
>       at 
> com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:57)
>       at 
> com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>       at java.lang.Thread.run(Thread.java:748)
> Caused by: java.lang.RuntimeException: Map operator initialization failed
>       at 
> org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.init(MapRecordProcessor.java:340)
>       at 
> org.apache.hadoop.hive.ql.exec.tez.TezProcessor.initializeAndRunProcessor(TezProcessor.java:266)
>       ... 16 more
> Caused by: java.lang.NoClassDefFoundError: 
> org/apache/hadoop/hive/ql/parse/ParseException
>       at java.lang.Class.getDeclaredConstructors0(Native Method)
>       at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
>       at java.lang.Class.getConstructor0(Class.java:3075)
>       at java.lang.Class.getDeclaredConstructor(Class.java:2178)
>       at 
> org.apache.hive.common.util.ReflectionUtil.newInstance(ReflectionUtil.java:79)
>       at 
> org.apache.hadoop.hive.ql.exec.Registry.registerGenericUDTF(Registry.java:225)
>       at 
> org.apache.hadoop.hive.ql.exec.Registry.registerGenericUDTF(Registry.java:217)
>       at 
> org.apache.hadoop.hive.ql.exec.FunctionRegistry.<clinit>(FunctionRegistry.java:544)
>       at 
> org.apache.hadoop.hive.ql.exec.ExprNodeGenericFuncEvaluator.isDeterministic(ExprNodeGenericFuncEvaluator.java:154)
>       at 
> org.apache.hadoop.hive.ql.exec.ExprNodeEvaluator.isConsistentWithinQuery(ExprNodeEvaluator.java:117)
>       at 
> org.apache.hadoop.hive.ql.exec.ExprNodeEvaluatorFactory.iterate(ExprNodeEvaluatorFactory.java:102)
>       at 
> org.apache.hadoop.hive.ql.exec.ExprNodeEvaluatorFactory.toCachedEvals(ExprNodeEvaluatorFactory.java:76)
>       at 
> org.apache.hadoop.hive.ql.exec.SelectOperator.initializeOp(SelectOperator.java:69)
>       at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:359)
>       at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:548)
>       at 
> org.apache.hadoop.hive.ql.exec.Operator.initializeChildren(Operator.java:502)
>       at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:368)
>       at 
> org.apache.hadoop.hive.ql.exec.MapOperator.initializeMapOperator(MapOperator.java:506)
>       at 
> org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.init(MapRecordProcessor.java:303)
>       ... 17 more
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.hadoop.hive.ql.parse.ParseException
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
>       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
>       ... 36 more



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to