Hi Slava
I did it, and could see the cache /tables thru both IgniteVisor and Sqlline
However, when I tried to query the data, I am getting below error
Error: class org.apache.ignite.binary.BinaryObjectException: Custom objects
are not supported (state=50000,code=0)
java.sql.SQLException: class org.apache.ignite.binary.BinaryObjectException:
Custom objects are not supported
at
org.apache.ignite.internal.jdbc.thin.JdbcThinConnection.sendRequest(JdbcThinConnection.java:671)
at
org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.execute0(JdbcThinStatement.java:130)
at
org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.execute(JdbcThinStatement.java:299)
at sqlline.Commands.execute(Commands.java:823)
at sqlline.Commands.sql(Commands.java:733)
at sqlline.SqlLine.dispatch(SqlLine.java:795)
at sqlline.SqlLine.begin(SqlLine.java:668)
at sqlline.SqlLine.start(SqlLine.java:373)
at sqlline.SqlLine.main(SqlLine.java:265)
This is how I have created the Cache
CacheConfiguration<String, Customer> custCacheCfg = new
CacheConfiguration<>(CUSTOMER_CACHE);
custCacheCfg.setCacheMode(CacheMode.PARTITIONED); // Default.
custCacheCfg.setIndexedTypes(String.class, Customer.class);
custCacheCfg.setBackups(1);
what could be the issue
Thanks
Naveen
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/