Cassandra

Read(2716) Label: cassandra, datastaxcli,

1. The path 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.

config-1.3.3.jar

jackson-annotations-2.15.2.jar

jackson-core-2.15.2.jar

jackson-databind-2.15.2.jar

java-driver-core-4.19.3.jar

java-driver-guava-shaded-4.19.3.jar

native-protocol-1.5.2.jar

netty-buffer-4.1.136.Final.jar

netty-codec-4.1.136.Final.jar

netty-common-4.1.136.Final.jar

netty-handler-4.1.136.Final.jar

netty-resolver-4.1.136.Final.jar

netty-transport-4.1.136.Final.jar

slf4j-api-1.7.36.jar

slf4j-nop-1.7.36.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 in【Help】-【Function reference】to find their uses.