org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':hivetest'.

Apache's JIRA Issue Tracker | mahendra dattatraya tonape | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.NoSuchMethodError

    org.apache.hive.service.cli.operation.LogDivertAppender.setWriter(Ljava/io/Writer;)V

    at org.apache.hive.service.cli.operation.LogDivertAppender.<init>()
  2. org.apache.hive
    HiveServer2.init
    1. org.apache.hive.service.cli.operation.LogDivertAppender.<init>(LogDivertAppender.java:166)
    2. org.apache.hive.service.cli.operation.OperationManager.initOperationLogCapture(OperationManager.java:85)
    3. org.apache.hive.service.cli.operation.OperationManager.init(OperationManager.java:63)
    4. org.apache.hive.service.CompositeService.init(CompositeService.java:59)
    5. org.apache.hive.service.cli.session.SessionManager.init(SessionManager.java:85)
    6. org.apache.hive.service.CompositeService.init(CompositeService.java:59)
    7. org.apache.hive.service.cli.CLIService.init(CLIService.java:118)
    8. org.apache.hive.service.CompositeService.init(CompositeService.java:59)
    9. org.apache.hive.service.server.HiveServer2.init(HiveServer2.java:100)
    9 frames
  3. com.datametica.hiveunit
    HiveUnit.<init>
    1. com.datametica.hiveunit.core.MiniCluster.<init>(MiniCluster.java:126)
    2. com.datametica.hiveunit.HiveUnit.<init>(HiveUnit.java:58)
    2 frames
  4. com.datametica.hiveUnitPlugin
    HiveUnitTask.hiveUnitTask
    1. com.datametica.hiveUnitPlugin.gradle.HiveUnitTask.sendHuFilesPathToHive(HiveUnitTask.java:50)
    2. com.datametica.hiveUnitPlugin.gradle.HiveUnitTask.hiveUnitTask(HiveUnitTask.java:40)
    2 frames
  5. org.gradle.internal
    JavaMethod.invoke
    1. org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
    1 frame
  6. Gradle Core
    ExecuteActionsTaskExecuter.execute
    1. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:226)
    2. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:219)
    3. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:208)
    4. org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:585)
    5. org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:568)
    6. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
    7. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
    8. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
    9. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
    9 frames