[
https://issues.apache.org/jira/browse/HIVE-15656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15827763#comment-15827763
]
Jesus Camacho Rodriguez commented on HIVE-15656:
------------------------------------------------
[~anishek], [~thejas], there are still issues with _powermock_ in the ptest
run, e.g.,
https://builds.apache.org/job/PreCommit-HIVE-Build/3002/testReport/junit/org.apache.hadoop.hive.accumulo/TestAccumuloStorageHandler/testRollbackCreateTableDeletesExistentTable/
{noformat}
Error Message
org.mockito.mock.MockCreationSettings.getSerializableMode()Lorg/mockito/mock/SerializableMode;
Stacktrace
java.lang.NoSuchMethodError:
org.mockito.mock.MockCreationSettings.getSerializableMode()Lorg/mockito/mock/SerializableMode;
at
org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.enableSerializationAcrossJVM(AcrossJVMSerializationFeature.java:166)
at
org.powermock.api.mockito.repackaged.CglibMockMaker.createMock(CglibMockMaker.java:24)
at
org.powermock.api.mockito.internal.mockmaker.PowerMockMaker.createMock(PowerMockMaker.java:47)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:26)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:51)
at org.mockito.Mockito.mock(Mockito.java:1243)
at org.mockito.Mockito.mock(Mockito.java:1120)
at
org.apache.hadoop.hive.accumulo.TestAccumuloStorageHandler.testRollbackCreateTableDeletesExistentTable(TestAccumuloStorageHandler.java:440)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
...
{noformat}
There are more than 15 ptest runs in the queue; if we do not revert this, they
will be wasted. Hence, I am going to revert HIVE-15550 and HIVE-15648, and
reopen them. Please, push them once you get a clean QA run.
> Place powermock in correct dependency management section root pom.xml
> ---------------------------------------------------------------------
>
> Key: HIVE-15656
> URL: https://issues.apache.org/jira/browse/HIVE-15656
> Project: Hive
> Issue Type: Bug
> Components: Build Infrastructure
> Affects Versions: 2.2.0
> Reporter: anishek
> Assignee: anishek
> Priority: Minor
> Fix For: 2.2.0
>
> Attachments: HIVE-15656.patch
>
>
> As part of committing HIVE-15550 to master, powermock was included in the
> root pom.xml. This should not be the case. This lead to build failures fixed
> in HIVE-15648.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)