Cassandra basic setup

2016-11-23 Thread Riccardo Iacomini
ss. I tried adding the path to the jar *ignite-cassandra-1.7.0.jar *to both CLASSPATH and USER_LIBS, still not getting found. Opening the jar I cannot find the requested class. Am I missing some dependencies? Thank you for your help. Riccardo Iacomini *RDSLab*

Re: Cassandra basic setup

2016-11-24 Thread Riccardo Iacomini
this time *org.apache.ignite.cache.store.cassandra.utils.datasource.DataSource. *The class is indeed located in the jar ignite-cassandra-1.7.0.jar in IGNITE_HOME/modules/cassandra/target. I tried adding the path to USER_LIBS and CLASSPATH, no different behavior. Maybe the environment variables got ignored? Riccardo Iacomini

Re: Cassandra basic setup

2016-11-28 Thread Riccardo Iacomini
ere <https://apacheignite.readme.io/v1.5/docs/docker-deployment> in the documentation. Do you have any other suggestion? Thanks for your patience. Best regards Riccardo Iacomini *RDSLab* On Sun, Nov 27, 2016 at 8:46 PM, Igor Rudyak wrote: > Try to include required jars into IGNITE_LIBS e

Re: Cassandra basic setup

2016-11-28 Thread Riccardo Iacomini
Ignite? Do you use ignite.sh script for this? Igor On Nov 28, 2016 8:05 AM, "Riccardo Iacomini" wrote: > Hi Igor, > I tried your suggestion, but it does find the class. I've also read from > the README files that optional modules must be copied into the libs folder: &

Re: Cassandra basic setup

2016-11-29 Thread Riccardo Iacomini
gh the examples, or simply I used a different version of the documentation in contrast with the one I was running. Anyway, thank you for your time. Best regards Riccardo Iacomini *RDSLab* On Mon, Nov 28, 2016 at 5:34 PM, Igor Rudyak wrote: > If you are using ignite.sh it should be fine.

Re: Cassandra basic setup

2016-11-30 Thread Riccardo Iacomini
gnite-bootstrap.sh* script is the *1.6.* Best Regards Riccardo Iacomini *RDSLab* On Tue, Nov 29, 2016 at 11:18 PM, Igor Rudyak wrote: > Ok, thanks for the info. > > Igor > > On Tue, Nov 29, 2016 at 12:56 PM, Denis Magda wrote: > >> Igor, >> >> The documentati

Ignite Cassandra AWS test framework

2016-12-01 Thread Riccardo Iacomini
ation. The ganglia folder with the scripts for the deployment of the monitoring cluster is missing too in *bootstrap/aws/. *How should I procede? Thank you in advance for your time. Riccardo Iacomini *RDSLab*

Re: Ignite Cassandra AWS test framework

2016-12-01 Thread Riccardo Iacomini
Hi Val, No, that's not the issue. I would like to follow the AWS ignite-cassandra framework guide on the documentation, but some files the documentation says I should modify are not in the test-package after I build ignite from source. Just to be clear, this is the link to the guide I am actually

Re: Ignite Cassandra AWS test framework

2016-12-02 Thread Riccardo Iacomini
c code which does not include the needed files (maybe some build errors)? Have a nice day Riccardo Iacomini *RDSLab* On Fri, Dec 2, 2016 at 7:23 AM, Igor Rudyak wrote: > Ok guys, just updated the documentation. > > Igor > > On Thu, Dec 1, 2016 at 4:44 PM, Igor Rudyak wr

Cassandra cache info

2016-12-02 Thread Riccardo Iacomini
advance for the information. Riccardo Iacomini *RDSLab*

Re: Cassandra cache info

2016-12-05 Thread Riccardo Iacomini
? Thank you in advance for the response. I looks like a silly question but I would like to be sure I got the use case for the SQL case. Riccardo Iacomini *RDSLab* On Fri, Dec 2, 2016 at 6:35 PM, vkulichenko wrote: > Hi Riccardo, > > If you are working with SQL queries, then you have to

ODBC driver issue

2017-06-13 Thread Riccardo Iacomini
> > libodbc.so.2.0.0* > lrwxrwxrwx 1 root root 16 giu 13 15:26 libodbc.so.2 -> > libodbc.so.2.0.0* > -rwxr-xr-x 1 root root 2274544 giu 13 15:26 libodbc.so.2.0.0* > drwxrwsr-x 4 root staff4096 nov 29 2016 python2.7/ > drwxrwsr-x 3 root staff4096 ott 21 2015 python3.5/ > drwxr-xr-x 3 root root 4096 giu 12 23:38 site_ruby/ Any suggestion on how to procede? Thank you Riccardo Iacomini *RDSLab*

Re: ODBC driver issue

2017-06-13 Thread Riccardo Iacomini
27;s my /etc/odbcinst.ini : [Apache Ignite] > Description=Apache Ignite > Driver=/usr/local/lib/libignite-odbc.so > Setup=/usr/local/lib/libignite-odbc.so > DriverODBCVer=03.00 > FileUsage=0 > UsageCount=3 Riccardo Iacomini *RDSLab* On Tue, Jun 13, 2017 at 4:31 PM, Igor Sapego wrote:

Re: ODBC driver issue

2017-06-14 Thread Riccardo Iacomini
f you look at the directory listing I previously posted, it should be there. Riccardo Iacomini *RDSLab* On Tue, Jun 13, 2017 at 6:20 PM, Igor Sapego wrote: > Well, try running the following command: > ldd /usr/local/lib/libignite-odbc.so > > This may help us see which library

Re: ODBC driver issue

2017-06-14 Thread Riccardo Iacomini
et the same error from python: *pyodbc.Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib > 'Apache Ignite' : file not found (0) (SQLDriverConnect)")* Best Riccardo Iacomini *RDSLab* On Wed, Jun 14, 2017 at 11:10 AM, Igor Sapego wrote:

Re: ODBC driver issue

2017-06-14 Thread Riccardo Iacomini
Yes, I've set the env variable, globally in /etc/environment. Just for completeness, I am running Ubuntu 16.04. Best Riccardo Iacomini *RDSLab* On Wed, Jun 14, 2017 at 1:02 PM, Igor Sapego wrote: > Do you set LD_LIBRARY_PATH to /usr/local/lib? If 'yes' then > can you de

Re: ODBC driver issue

2017-06-15 Thread Riccardo Iacomini
o query it using the odbc driver. Any useful resource about the subject is really appreciated. Thank you for your help so far. Best regards Riccardo Iacomini *RDSLab* On Thu, Jun 15, 2017 at 11:45 AM, Igor Sapego wrote: > Have you restarted your terminal after that? What does env command

Configuring SQL queries - ClassNotFoundException: Unknown pair

2017-06-26 Thread Riccardo Iacomini
on odbcConfig = new OdbcConfiguration(); > odbcConfig.setMaxOpenCursors(100); > cfg.setOdbcConfiguration(odbcConfig); > > // Starting Ignite > Ignite ignite = Ignition.start(cfg); That's the value type class (I've removed the annotations when trying to configure the fields using the query entity approach): > public class CloakLeft implements Serializable { > @QuerySqlField > private String username; > > @QuerySqlField > private int leftMonth; > > @QuerySqlField > private int leftYear; > > public String getUsername(){ return username; } > public int getLeftMonth(){ return leftMonth;} > public int getLeftYear(){ return leftYear; } > public void setUsername(String value){ > username = value; > } > public void setLeftMonth(int value){ > leftMonth = value; > } > public void setLeftYear(int value){ > leftYear = value; > } > } Any indication to solve the issue is really appreciated. Best Riccardo Iacomini *RDSLab*

Re: Configuring SQL queries - ClassNotFoundException: Unknown pair

2017-06-28 Thread Riccardo Iacomini
Thank you, I am going to answer in the S.O. question. Best Riccardo Iacomini *RDSLab* On Wed, Jun 28, 2017 at 5:21 PM, ezhuravlev wrote: > Hello, > > This question was already answered on SO: > https://stackoverflow.com/questions/44781672/apache-ignite-java-lang- > classno

Ignite Info

2017-07-07 Thread Riccardo Iacomini
, Cassandra? Expanding on this, multiple operations on the same cache key will be all executed (in batch) when the write is triggered, or only the last version will be written? Best Riccardo Iacomini *RDSLab*