Cassandra

Read(1290) Label: cassandra, datastaxcli,

1. The directory containing files of Cassandra external library is: installation directory\esProc\extlib\CassandraCli. The Raqsoft core jar for this external library is scu-cassandra-cli-2.10.jar.

cassandra-driver-core-3.3.0.jar

cassandra-driver-extras-3.3.0.jar

cassandra-driver-mapping-3.3.0.jar

commons-logging-1.2.jar

commons-math3-3.6.1.jar

fastjson-1.2.76.jar

guava-19.0.jar

log4j-1.2.17.jar

metrics-core-3.2.6.jar

netty-all-4.1.17.Final.jar

netty-buffer-4.0.47.Final.jar

netty-codec-4.0.47.Final.jar

netty-handler-4.0.47.Final.jar

netty-transport-4.0.47.Final.jar

slf4j-api-1.7.5.jar

slf4j-log4j12-1.7.5.jar

Note: The third-party jars are encapsulated in the compression package and users can choose appropriate ones for specific scenarios.

 

2. A JRE version 1.7 or above is required. Users need to install a higher version if the esProc built-in JRE version does not meet the requirements, and then configure java_home in config.txt under installation directory\esProc\bin. Just skip this step if the JRE version is adequate.

 

3. Users can manually change the size of memory if the default size isn’t large enough for needs. Under Windows, make the change in config.txt when starting esProc through .exe file; and in .bat file when starting the application through the .bat file. Make the modification in .sh file under Linux.

To modify the config.txt file under Windows:

 

Below is the method of changing memory settings in config.txt under Windows:

java_home=C:\ProgramFiles\Java\JDK1.7.0_11;esproc_port=48773;btx_port=41735;gtm_port=41737;jvm_args=-Xms256m -XX:PermSize=256M -XX:MaxPermSize=512M -Xmx9783m -Duser.language=zh

 

4. esProc provides functions stax_open(), stax_query(),stax_cursor() and stax_close() for accessing the Cassandra databases. Look them up inHelp-Function referenceto find their uses.