Caching the entire table

classic Classic list List threaded Threaded
5 messages Options
krishnangc krishnangc
Reply | Threaded
Open this post in threaded view
|

Caching the entire table


Hi,

I am trying to cache my entire table (2 billion lines) in ignite.for that i am planning to use persistence read through. I am trying to create the POJO's using automatic persistence. There are around 40 columns in my table. But while running import schema i am getting the following error.  Please suggest what i can do

ash-4.1$ bin/ignite-schema-import.sh
Exception in thread "main" java.lang.NoClassDefFoundError: javafx/application/Application
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
Caused by: java.lang.ClassNotFoundException: javafx.application.Application
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    ... 13 more


--

Thanks,

Krishnan. M

Developer,

algoII - Copy

M:+91-9482711446 |Skype - krishnangc

Email: [hidden email][hidden email]

Website- http://www.algofusiontech.com/ 

Please consider the environment before printing this e-mail.

Alexey Kuznetsov Alexey Kuznetsov
Reply | Threaded
Open this post in threaded view
|

Re: Caching the entire table

Krishnan,

Take a look to DEVNOTES.txt

It contains paragraph:
-------------------------------------
NOTE: JDK version should be 1.7.0-* or >= 1.8.0-u40.
      Schema Import module use JavaFX, under OpenJDK may be compiled and run only on OpenJDK 8 with installed OpenJFX."
-------------------------------------


What is your java version?


On Thu, Jul 16, 2015 at 4:33 PM, Krishna C Mahadevan <[hidden email]> wrote:

Hi,

I am trying to cache my entire table (2 billion lines) in ignite.for that i am planning to use persistence read through. I am trying to create the POJO's using automatic persistence. There are around 40 columns in my table. But while running import schema i am getting the following error.  Please suggest what i can do

ash-4.1$ bin/ignite-schema-import.sh
Exception in thread "main" java.lang.NoClassDefFoundError: javafx/application/Application
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
Caused by: java.lang.ClassNotFoundException: javafx.application.Application
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    ... 13 more


--

Thanks,

Krishnan. M

Developer,

algoII - Copy

M:+91-9482711446 |Skype - krishnangc

Email: [hidden email][hidden email]

Website- http://www.algofusiontech.com/ 

Please consider the environment before printing this e-mail.




--
Alexey Kuznetsov
GridGain Systems
www.gridgain.com
krishnangc krishnangc
Reply | Threaded
Open this post in threaded view
|

Re: Caching the entire table

In reply to this post by krishnangc
Hi my java version is java version "1.7.0_79"
Alexey Kuznetsov Alexey Kuznetsov
Reply | Threaded
Open this post in threaded view
|

Re: Caching the entire table

Krishnan,

Schema import utility build on top of JavaFx.
For Java 7 JavaFx available only for Oracle JVM.
Please check that you are using Oracle JVM and JavaFx is available.
For Java 8 JavaFx available both for Oracle and Open JDK.

On Fri, Jul 17, 2015 at 2:51 PM, krishnangc <[hidden email]> wrote:
Hi my java version is java version "1.7.0_79"




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Caching-the-entire-table-tp660p665.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.



--
Alexey Kuznetsov
GridGain Systems
www.gridgain.com
dsetrakyan dsetrakyan
Reply | Threaded
Open this post in threaded view
|

Re: Caching the entire table

Alexey,

Perhaps Ignite could provide a better error message to avoid such confusion in future?

D.

On Fri, Jul 17, 2015 at 1:44 AM, Alexey Kuznetsov <[hidden email]> wrote:
Krishnan,

Schema import utility build on top of JavaFx.
For Java 7 JavaFx available only for Oracle JVM.
Please check that you are using Oracle JVM and JavaFx is available.
For Java 8 JavaFx available both for Oracle and Open JDK.

On Fri, Jul 17, 2015 at 2:51 PM, krishnangc <[hidden email]> wrote:
Hi my java version is java version "1.7.0_79"




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Caching-the-entire-table-tp660p665.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.



--
Alexey Kuznetsov
GridGain Systems
www.gridgain.com