Re: AbstractMethodError from JMXServerUtils after update from Java 1.8.0_112 to 1.8.0_162

2018-01-28 Thread Edward Ribeiro
FYI, there's a patch coming soon to address this:
https://issues.apache.org/jira/browse/CASSANDRA-14173

Cheers,
Ed

On Thu, Jan 18, 2018 at 7:46 PM, Michael Shuler 
wrote:

> https://issues.apache.org/jira/browse/CASSANDRA-14173
>
> On 01/18/2018 03:29 PM, Stephen Rosenthal wrote:
> > Hi,
> >
> >
> >
> > I got the following error after updating my Cassandra system from Java
> > 1.8.0_112 to 1.8.0_162:
> >
> >
> >
> > java.lang.AbstractMethodError:
> > org.apache.cassandra.utils.JMXServerUtils$Exporter.
> exportObject(Ljava/rmi/Remote;ILjava/rmi/server/
> RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;Lsun/
> misc/ObjectInputFilter;)Ljava/rmi/Remote;
> >
> >
> >
> > I did the usual Googling and here’s what I’ve concluded:
> >
> >   * Between Java 1.8.0_152 and 1.8.0_162, the interface
> > com.sun.jmx.remote.internal.RMIExporter was changed to add a 5^th
> > argument to the exportObject method. The class in a Sun “internal”
> > package so it probably wasn’t intended for use outside of the JDK.
> >   * Cassandra references RMIExporter in
> > org.apache.cassandra.utils.JMXServerUtils but uses only 4 arguments
> > in the exportObject method:
> > https://github.com/apache/cassandra/blob/cassandra-3.11/
> src/java/org/apache/cassandra/utils/JMXServerUtils.java
> >   * I was running on Cassandra 3.11 but I also tried 3.11.1 and the
> > problem remained.
> >
> >
> >
> > I couldn’t find anyone else reporting this bug so I must be doing
> > something different. Have others seen this bug? Or is it something
> > obvious, i.e. does Cassandra not support running on Java 1.8.0_162 yet?
> >
> >
> >
> > Thanks!
> >
> > Stephen
> >
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
> For additional commands, e-mail: user-h...@cassandra.apache.org
>
>


Re: AbstractMethodError from JMXServerUtils after update from Java 1.8.0_112 to 1.8.0_162

2018-01-18 Thread Michael Shuler
https://issues.apache.org/jira/browse/CASSANDRA-14173

On 01/18/2018 03:29 PM, Stephen Rosenthal wrote:
> Hi,
> 
>  
> 
> I got the following error after updating my Cassandra system from Java
> 1.8.0_112 to 1.8.0_162:
> 
>  
> 
> java.lang.AbstractMethodError:
> org.apache.cassandra.utils.JMXServerUtils$Exporter.exportObject(Ljava/rmi/Remote;ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;Lsun/misc/ObjectInputFilter;)Ljava/rmi/Remote;
> 
>  
> 
> I did the usual Googling and here’s what I’ve concluded:
> 
>   * Between Java 1.8.0_152 and 1.8.0_162, the interface
> com.sun.jmx.remote.internal.RMIExporter was changed to add a 5^th
> argument to the exportObject method. The class in a Sun “internal”
> package so it probably wasn’t intended for use outside of the JDK.
>   * Cassandra references RMIExporter in
> org.apache.cassandra.utils.JMXServerUtils but uses only 4 arguments
> in the exportObject method:
> 
> https://github.com/apache/cassandra/blob/cassandra-3.11/src/java/org/apache/cassandra/utils/JMXServerUtils.java
>   * I was running on Cassandra 3.11 but I also tried 3.11.1 and the
> problem remained.
> 
>  
> 
> I couldn’t find anyone else reporting this bug so I must be doing
> something different. Have others seen this bug? Or is it something
> obvious, i.e. does Cassandra not support running on Java 1.8.0_162 yet?
> 
>  
> 
> Thanks!
> 
> Stephen
> 


-
To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
For additional commands, e-mail: user-h...@cassandra.apache.org



AbstractMethodError from JMXServerUtils after update from Java 1.8.0_112 to 1.8.0_162

2018-01-18 Thread Stephen Rosenthal
Hi,

I got the following error after updating my Cassandra system from Java 
1.8.0_112 to 1.8.0_162:

java.lang.AbstractMethodError: 
org.apache.cassandra.utils.JMXServerUtils$Exporter.exportObject(Ljava/rmi/Remote;ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;Lsun/misc/ObjectInputFilter;)Ljava/rmi/Remote;

I did the usual Googling and here’s what I’ve concluded:

  *   Between Java 1.8.0_152 and 1.8.0_162, the interface 
com.sun.jmx.remote.internal.RMIExporter was changed to add a 5th argument to 
the exportObject method. The class in a Sun “internal” package so it probably 
wasn’t intended for use outside of the JDK.
  *   Cassandra references RMIExporter in 
org.apache.cassandra.utils.JMXServerUtils but uses only 4 arguments in the 
exportObject method: 
https://github.com/apache/cassandra/blob/cassandra-3.11/src/java/org/apache/cassandra/utils/JMXServerUtils.java
  *   I was running on Cassandra 3.11 but I also tried 3.11.1 and the problem 
remained.

I couldn’t find anyone else reporting this bug so I must be doing something 
different. Have others seen this bug? Or is it something obvious, i.e. does 
Cassandra not support running on Java 1.8.0_162 yet?

Thanks!
Stephen