[jira] [Updated] (HBASE-22534) TestCellUtil fails when run on JDK11

2019-06-10 Thread Guanghao Zhang (JIRA)


 [ 
https://issues.apache.org/jira/browse/HBASE-22534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guanghao Zhang updated HBASE-22534:
---
Fix Version/s: (was: 2.2.1)
   2.2.0

> TestCellUtil fails when run on JDK11
> 
>
> Key: HBASE-22534
> URL: https://issues.apache.org/jira/browse/HBASE-22534
> Project: HBase
>  Issue Type: Bug
>  Components: java, test
>Reporter: Sakthi
>Assignee: Sakthi
>Priority: Minor
>  Labels: jdk11
> Fix For: 3.0.0, 2.2.0, 2.3.0, 2.1.6
>
> Attachments: hbase-22534.master.001.patch
>
>
> When built on Java 8 and unit tests are run on Java 11, TestCellUtil fails. A 
> sample stacktrace:
> {code}
>  Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.096 s <<< 
> FAILURE! - in org.apache.hadoop.hbase.TestCellUtil
> testGetType(org.apache.hadoop.hbase.TestCellUtil) Time elapsed: 0.544 s <<< 
> ERROR!
> org.mockito.exceptions.base.MockitoException:
> Cannot call abstract real method on java object!
> Calling real methods is only possible when mocking non abstract method.
> //correct example:
> when(mockOfConcreteClass.nonAbstractMethod()).thenCallRealMethod();
> at 
> org.apache.hadoop.hbase.TestCellUtil.testGetType(TestCellUtil.java:543){code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HBASE-22534) TestCellUtil fails when run on JDK11

2019-06-04 Thread Sean Busbey (JIRA)


 [ 
https://issues.apache.org/jira/browse/HBASE-22534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Busbey updated HBASE-22534:

   Resolution: Fixed
Fix Version/s: 2.1.6
   2.2.1
   2.3.0
   3.0.0
   Status: Resolved  (was: Patch Available)

> TestCellUtil fails when run on JDK11
> 
>
> Key: HBASE-22534
> URL: https://issues.apache.org/jira/browse/HBASE-22534
> Project: HBase
>  Issue Type: Bug
>  Components: java, test
>Reporter: Sakthi
>Assignee: Sakthi
>Priority: Minor
>  Labels: jdk11
> Fix For: 3.0.0, 2.3.0, 2.2.1, 2.1.6
>
> Attachments: hbase-22534.master.001.patch
>
>
> When built on Java 8 and unit tests are run on Java 11, TestCellUtil fails. A 
> sample stacktrace:
> {code}
>  Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.096 s <<< 
> FAILURE! - in org.apache.hadoop.hbase.TestCellUtil
> testGetType(org.apache.hadoop.hbase.TestCellUtil) Time elapsed: 0.544 s <<< 
> ERROR!
> org.mockito.exceptions.base.MockitoException:
> Cannot call abstract real method on java object!
> Calling real methods is only possible when mocking non abstract method.
> //correct example:
> when(mockOfConcreteClass.nonAbstractMethod()).thenCallRealMethod();
> at 
> org.apache.hadoop.hbase.TestCellUtil.testGetType(TestCellUtil.java:543){code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HBASE-22534) TestCellUtil fails when run on JDK11

2019-06-04 Thread Sean Busbey (JIRA)


 [ 
https://issues.apache.org/jira/browse/HBASE-22534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Busbey updated HBASE-22534:

Component/s: test
 java

> TestCellUtil fails when run on JDK11
> 
>
> Key: HBASE-22534
> URL: https://issues.apache.org/jira/browse/HBASE-22534
> Project: HBase
>  Issue Type: Bug
>  Components: java, test
>Reporter: Sakthi
>Assignee: Sakthi
>Priority: Minor
> Attachments: hbase-22534.master.001.patch
>
>
> When built on Java 8 and unit tests are run on Java 11, TestCellUtil fails. A 
> sample stacktrace:
> {code}
>  Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.096 s <<< 
> FAILURE! - in org.apache.hadoop.hbase.TestCellUtil
> testGetType(org.apache.hadoop.hbase.TestCellUtil) Time elapsed: 0.544 s <<< 
> ERROR!
> org.mockito.exceptions.base.MockitoException:
> Cannot call abstract real method on java object!
> Calling real methods is only possible when mocking non abstract method.
> //correct example:
> when(mockOfConcreteClass.nonAbstractMethod()).thenCallRealMethod();
> at 
> org.apache.hadoop.hbase.TestCellUtil.testGetType(TestCellUtil.java:543){code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HBASE-22534) TestCellUtil fails when run on JDK11

2019-06-04 Thread Sean Busbey (JIRA)


 [ 
https://issues.apache.org/jira/browse/HBASE-22534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Busbey updated HBASE-22534:

Labels: jdk11  (was: )

> TestCellUtil fails when run on JDK11
> 
>
> Key: HBASE-22534
> URL: https://issues.apache.org/jira/browse/HBASE-22534
> Project: HBase
>  Issue Type: Bug
>  Components: java, test
>Reporter: Sakthi
>Assignee: Sakthi
>Priority: Minor
>  Labels: jdk11
> Attachments: hbase-22534.master.001.patch
>
>
> When built on Java 8 and unit tests are run on Java 11, TestCellUtil fails. A 
> sample stacktrace:
> {code}
>  Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.096 s <<< 
> FAILURE! - in org.apache.hadoop.hbase.TestCellUtil
> testGetType(org.apache.hadoop.hbase.TestCellUtil) Time elapsed: 0.544 s <<< 
> ERROR!
> org.mockito.exceptions.base.MockitoException:
> Cannot call abstract real method on java object!
> Calling real methods is only possible when mocking non abstract method.
> //correct example:
> when(mockOfConcreteClass.nonAbstractMethod()).thenCallRealMethod();
> at 
> org.apache.hadoop.hbase.TestCellUtil.testGetType(TestCellUtil.java:543){code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HBASE-22534) TestCellUtil fails when run on JDK11

2019-06-04 Thread Sakthi (JIRA)


 [ 
https://issues.apache.org/jira/browse/HBASE-22534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sakthi updated HBASE-22534:
---
Status: Patch Available  (was: In Progress)

> TestCellUtil fails when run on JDK11
> 
>
> Key: HBASE-22534
> URL: https://issues.apache.org/jira/browse/HBASE-22534
> Project: HBase
>  Issue Type: Bug
>Reporter: Sakthi
>Assignee: Sakthi
>Priority: Minor
> Attachments: hbase-22534.master.001.patch
>
>
> When built on Java 8 and unit tests are run on Java 11, TestCellUtil fails. A 
> sample stacktrace:
> {code}
>  Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.096 s <<< 
> FAILURE! - in org.apache.hadoop.hbase.TestCellUtil
> testGetType(org.apache.hadoop.hbase.TestCellUtil) Time elapsed: 0.544 s <<< 
> ERROR!
> org.mockito.exceptions.base.MockitoException:
> Cannot call abstract real method on java object!
> Calling real methods is only possible when mocking non abstract method.
> //correct example:
> when(mockOfConcreteClass.nonAbstractMethod()).thenCallRealMethod();
> at 
> org.apache.hadoop.hbase.TestCellUtil.testGetType(TestCellUtil.java:543){code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HBASE-22534) TestCellUtil fails when run on JDK11

2019-06-03 Thread Sakthi (JIRA)


 [ 
https://issues.apache.org/jira/browse/HBASE-22534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sakthi updated HBASE-22534:
---
Attachment: hbase-22534.master.001.patch

> TestCellUtil fails when run on JDK11
> 
>
> Key: HBASE-22534
> URL: https://issues.apache.org/jira/browse/HBASE-22534
> Project: HBase
>  Issue Type: Bug
>Reporter: Sakthi
>Assignee: Sakthi
>Priority: Minor
> Attachments: hbase-22534.master.001.patch
>
>
> When built on Java 8 and unit tests are run on Java 11, TestCellUtil fails. A 
> sample stacktrace:
> {code}
>  Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.096 s <<< 
> FAILURE! - in org.apache.hadoop.hbase.TestCellUtil
> testGetType(org.apache.hadoop.hbase.TestCellUtil) Time elapsed: 0.544 s <<< 
> ERROR!
> org.mockito.exceptions.base.MockitoException:
> Cannot call abstract real method on java object!
> Calling real methods is only possible when mocking non abstract method.
> //correct example:
> when(mockOfConcreteClass.nonAbstractMethod()).thenCallRealMethod();
> at 
> org.apache.hadoop.hbase.TestCellUtil.testGetType(TestCellUtil.java:543){code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)