[
https://issues.apache.org/jira/browse/LENS-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14877078#comment-14877078
]
Hadoop QA commented on LENS-399:
--------------------------------
Applied patch:
[LENS-399.patch|https://issues.apache.org/jira/secure/attachment/12761283/LENS-399.patch]
and ran command: mvn clean install. Result: Success. Build Job:
https://builds.apache.org/job/PreCommit-Lens-Build/68/
> TestRewriting test is failing with powermock incompatibility with jdk8
> ----------------------------------------------------------------------
>
> Key: LENS-399
> URL: https://issues.apache.org/jira/browse/LENS-399
> Project: Apache Lens
> Issue Type: Sub-task
> Components: build, test
> Reporter: Raju Bairishetti
> Assignee: Raju Bairishetti
> Fix For: 2.4
>
> Attachments: LENS-399.patch
>
>
> Right now, TestRewriting is failing with the incompatible version of
> pwoermock on jdk8. We need to use latest version which is compatible for jdk8
> Current versions in lens:
> *<mockito.version>1.8.5</mockito.version>*
> *<powermock.version>1.4.12</powermock.version>*
> {noformat}
> An error occurred while instantiating class
> org.apache.lens.driver.cube.TestRewriting: Failed to transform class with
> name org.apache.lens.driver.cube.TestRewriting. Reason: java.io.IOException:
> invalid constant type: 18 at 1
> at org.testng.internal.ClassHelper.createInstance1(ClassHelper.java:398)
> at org.testng.internal.ClassHelper.createInstance(ClassHelper.java:299)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)