Hi,
Im having an issue trying to add a solr node to a cluster
I tried few configs and workarounds but none works.
Basicly i set SOLR_ENABLED=1 in default file
and also tried to check folders permissions, java versions etc..
A starnge thing is it doesnt log anything to output.log so i cant see a clear resone
The jsvc.exec proccess is running but its not opening the relevats ports and join the ring.
It looks like im missing something, normal cassandra and hadoop nodes are working ok.
Im using dse-full 2.1 on debian.
dse service doesnt start in solr mode
(7 posts) (3 voices)-
Posted 8 months ago #
-
Which Java are you using on that node? Is it the same as on other nodes?
Can you stop the jsvc exec and try to run dse in solr mode usingdse cassandra -s -f
?
It will start in the foreground and display logs to the console.
Posted 8 months ago # -
root@dev-solr1:~# dse cassandra -s -f
Tomcat: Logging to /var/log/tomcat
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00000000, pid=552, tid=2681813872
#
# JRE version: 7.0_07-b10
# Java VM: Java HotSpot(TM) Client VM (23.3-b01 mixed mode linux-x86 )
# Problematic frame:
# C 0x00000000
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /root/hs_err_pid552.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
/usr/bin/dse: line 21: 552 Aborted "$CASSANDRA_BIN"/cassandra "$@" -Djava.library.path="$JAVA_LIBRARY_PATH"I tried also with
java version "1.6.0_18" and newer versionPosted 8 months ago # -
With java version 1.7 its running with no errors but not connecting to the ring.
I also dont see the extra cassandra ports open(inner cluster communication etc..)Thanks,
Posted 8 months ago # -
Java 7 is not supported by DSE. You need to install Oracle JDK 6, not JRE.
Change the heap size in cassandra-env.sh from -Xss128k to -Xss180k and run it on recent JDK 6.Posted 8 months ago # -
java version "1.6.0_35"
Java(TM) SE Runtime Environment (build 1.6.0_35-b10)
Java HotSpot(TM) Client VM (build 20.10-b01, mixed mode, sharing)root@dev-solr1:/opt/java/32# dse cassandra -s -f
Aborted
Tomcat: Logging to /var/log/tomcatAs you ca see there is no output(also in outpot.log)
Posted 8 months ago # -
it looks more like your environment set up issue. You should at least have some log out put
Posted 7 months ago #
Reply
You must log in to post.
