oracle java + cassandra binary should work fiine

2013/1/17 Sloot, Hans-Peter <hans-peter.sl...@atos.net>

>  Well I tried to use the oracle stuff but the Cassandra rpm’s seem to
> depend on the open-jdk‘s
>
>
>
> *From:* Michael Kjellman [mailto:mkjell...@barracuda.com]
> *Sent:* dinsdag 15 januari 2013 17:47
>
> *To:* user@cassandra.apache.org
> *Subject:* Re: Starting Cassandra
>
>
>
> Do yourself a favor and get a copy of the Oracle 7 JDK (now with more
> security patches too!)
>
>
> On Jan 15, 2013, at 1:44 AM, "Sloot, Hans-Peter" <
> hans-peter.sl...@atos.net> wrote:
>
>  I managed to install apache-cassandra-1.2.0-bin.tar.gz
> <http://www.apache.org/dyn/closer.cgi?path=/cassandra/1.2.0/apache-cassandra-1.2.0-bin.tar.gz>
>
>
>
> With java-1.6.0-openjdk-1.6.0.0-1.45.1.11.1.el6.x86_64 I still get the
> segmentation fault.
>
> However with java-1.7.0-openjdk-1.7.0.3-2.1.0.1.el6.7.x86_64 everything
> runs fine.
>
>
>
> Regards Hans-Peter
>
>
>
> *From:* aaron morton [mailto:aa...@thelastpickle.com<aa...@thelastpickle.com>]
>
> *Sent:* dinsdag 15 januari 2013 1:20
> *To:* user@cassandra.apache.org
> *Subject:* Re: Starting Cassandra
>
>
>
> DSE includes hadoop files. It looks like the installation is broken. I
> would start again if possible and/or ask the peeps at Data Stax about your
> particular OS / JVM configuration.
>
>
>
> In the past I've used this to set a particular JVM when multiple ones are
> installed…
>
>
>
> update-alternatives --set java /usr/lib/jvm/java-6-sun/jre/bin/java
>
>
>
> Cheers
>
>
>
> -----------------
>
> Aaron Morton
>
> Freelance Cassandra Developer
>
> New Zealand
>
>
>
> @aaronmorton
>
> http://www.thelastpickle.com
>
>
>
> On 11/01/2013, at 10:55 PM, "Sloot, Hans-Peter" <hans-peter.sl...@atos.net>
> wrote:
>
>
>
> Hi,
>
> I removed the open-jdk packages which caused the dse* packages to be
> uninstalled too and installed jdk6u38.
>
>
>
> But when I installed the dse packages yum also downloaded and installed
> the open-jdk packages.
>
>
>
> After that I installed java-1.7.0-openjdk.x86_64.
>
>
>
> When starting Cassandra I now get:
>
> -bash-4.1$ /usr/sbin/cassandra -f
>
> xss =  -ea -javaagent:/lib/jamm-0.2.5.jar -XX:+UseThreadPriorities
> -XX:ThreadPriorityPolicy=42 -Xms1024M -Xmx1024M -Xmn200M
> -XX:+HeapDumpOnOutOfMemoryError -Xss180k
>
> INFO 10:38:21,262 Logging initialized
>
> ERROR 10:38:21,320 Exception encountered during startup
>
> java.lang.NoClassDefFoundError: org/apache/hadoop/mapred/JobConf
>
>         at java.lang.ClassLoader.defineClass1(Native Method)
>
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
>
>         at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
>
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
>
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
>
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>
>         at java.security.AccessController.doPrivileged(Native Method)
>
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
>
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
>
>         at com.datastax.bdp.server.DseServer.<clinit>(DseServer.java:112)
>
>         at
> com.datastax.bdp.hadoop.mapred.SchemaTool.init(SchemaTool.java:408)
>
>         at com.datastax.bdp.server.DseDaemon.setup(DseDaemon.java:113)
>
>         at
> org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:389)
>
>         at com.datastax.bdp.server.DseDaemon.main(DseDaemon.java:350)
>
> Caused by: java.lang.ClassNotFoundException:
> org.apache.hadoop.mapred.JobConf
>
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>
>         at java.security.AccessController.doPrivileged(Native Method)
>
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
>
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
>
>         ... 17 more
>
>
>
> I did not install Hadoop on this cluster but apparently it wants to use it.
>
>
>
> Should I first build a Hadoop cluster?
>
>
>
> Regards Hans-Peter
>
>
>
>
>
> *From:* Yang Song [mailto:xfil...@gmail.com]
> *Sent:* donderdag 10 januari 2013 19:22
> *To:* user@cassandra.apache.org
> *Subject:* Re: Starting Cassandra
>
>
>
> Could you also let us know if switching openjdk to jdk@oracle indeed
> solves the problem?
>
> Thanks!
>
>
>
> Yang
>
> 2013/1/10 Sloot, Hans-Peter <hans-peter.sl...@atos.net>
>
> I have increased the memory to 4096. Did not help
>
>
>
> It is openjdk indeed.
>
> java-1.6.0-openjdk.x86_64
>                            1:1.6.0.0-1.49.1.11.4.el6_3
> installed
>
>
>
> I will try jdk  1.6._38 from oracle.com
>
>
>
> Regards Hans-Peter
>
>
>
> *From:* Vladi Feigin [mailto:vladi...@gmail.com]
> *Sent:* donderdag 10 januari 2013 17:40
> *To:* user@cassandra.apache.org
> *Subject:* Re: Starting Cassandra
>
>
>
> Hi
>
>
> I had this problem with openJdk ,moving to jdk solved the problem
>
> On Jan 10, 2013 5:23 PM, "Andrea Gazzarini" <andrea.gazzar...@gmail.com>
> wrote:
>
> Hi,
> I'm running Cassandra with 1.6_24 and all it's working, so probably the
> problem is elsewhere. What about your hardware / SO configuration?
>
> On 01/10/2013 04:19 PM, Sloot, Hans-Peter wrote:
>
> The java version is 1.6_24.
>
> The manual said that 1.7 was not the best choice.
>
> But I will try it.
>
>
> -----Origineel bericht-----
> Van: adeel.ak...@panasiangroup.com
> Verz.:  10-01-2013, 16:08
> Aan: user@cassandra.apache.org; Sloot, Hans-Peter
> CC: user@cassandra.apache.org
> Onderwerp: Re: Starting Cassandra
>
> Hi,
>
> Please check java version with (java -version) command and install
> java 7 to resolve this issue.
>
> Regards,
>
> Adeel Akbar
>
> Quoting "Sloot, Hans-Peter" <hans-peter.sl...@atos.net>:
>
> Hello,
> Can someone help me out?
> I have installed Cassandra enterprise and followed the cookbook
>
> -          Configured the cassandra.yaml file
>
> -          Configured the cassandra-topoloy.properties file
> But when I try to start the cluster with 'service dse start' nothing
> starts.
> With cassandra -f  I get:
> /usr/sbin/cassandra -f
> xss =  -ea -javaagent:/lib/jamm-0.2.5.jar -XX:+UseThreadPriorities
> -XX:ThreadPriorityPolicy=42 -Xms495M -Xmx495M -Xmn100M
> -XX:+HeapDumpOnOutOfMemoryError -Xss180k
> Segmentation fault
> The command cassandra -v
> I get  :
> xss =  -ea -javaagent:/lib/jamm-0.2.5.jar -XX:+UseThreadPriorities
> -XX:ThreadPriorityPolicy=42 -Xms495M -Xmx495M -Xmn100M
> -XX:+HeapDumpOnOutOfMemoryError -Xss180k
> 1.1.6-dse-p1
>
> Regards Hans-Peter
>
>
>
>
>
> Dit bericht is vertrouwelijk en kan geheime informatie bevatten
> enkel bestemd voor de geadresseerde. Indien dit bericht niet voor u
> is bestemd, verzoeken wij u dit onmiddellijk aan ons te melden en
> het bericht te vernietigen. Aangezien de integriteit van het bericht
>   niet veilig gesteld is middels verzending via internet, kan Atos
> Nederland B.V. niet aansprakelijk worden gehouden voor de inhoud
> daarvan. Hoewel wij ons inspannen een virusvrij netwerk te hanteren,
>   geven wij geen enkele garantie dat dit bericht virusvrij is, noch
> aanvaarden wij enige aansprakelijkheid voor de mogelijke
> aanwezigheid van een virus in dit bericht. Op al onze
> rechtsverhoudingen, aanbiedingen en overeenkomsten waaronder Atos
> Nederland B.V. goederen en/of diensten levert zijn met uitsluiting
> van alle andere voorwaarden de Leveringsvoorwaarden van Atos
> Nederland B.V. van toepassing. Deze worden u op aanvraag direct
> kosteloos toegezonden.
>
> This e-mail and the documents attached are confidential and intended
>   solely for the addressee; it may also be privileged. If you receive
>   this e-mail in error, please notify the sender immediately and
> destroy it. As its integrity cannot be secured on the Internet, the
> Atos Nederland B.V. group liability cannot be triggered for the
> message content. Although the sender endeavours to maintain a
> computer virus-free network, the sender does not warrant that this
> transmission is virus-free and will not be liable for any damages
> resulting from any virus transmitted. On all offers and agreements
> under which Atos Nederland B.V. supplies goods and/or services of
> whatever nature, the Terms of Delivery from Atos Nederland B.V.
> exclusively apply. The Terms of Delivery shall be promptly submitted
>   to you on your request.
>
> Atos Nederland B.V. / Utrecht
> KvK Utrecht 30132762
>
>
>
>
>
>
> Dit bericht is vertrouwelijk en kan geheime informatie bevatten enkel
> bestemd voor de geadresseerde. Indien dit bericht niet voor u is bestemd,
> verzoeken wij u dit onmiddellijk aan ons te melden en het bericht te
> vernietigen. Aangezien de integriteit van het bericht niet veilig gesteld
> is middels verzending via internet, kan Atos Nederland B.V. niet
> aansprakelijk worden gehouden voor de inhoud daarvan. Hoewel wij ons
> inspannen een virusvrij netwerk te hanteren, geven wij geen enkele garantie
> dat dit bericht virusvrij is, noch aanvaarden wij enige aansprakelijkheid
> voor de mogelijke aanwezigheid van een virus in dit bericht. Op al onze
> rechtsverhoudingen, aanbiedingen en overeenkomsten waaronder Atos Nederland
> B.V. goederen en/of diensten levert zijn met uitsluiting van alle andere
> voorwaarden de Leveringsvoorwaarden van Atos Nederland B.V. van toepassing.
> Deze worden u op aanvraag direct kosteloos toegezonden.
>
> This e-mail and the documents attached are confidential and intended
> solely for the addressee; it may also be privileged. If you receive this
> e-mail in error, please notify the sender immediately and destroy it. As
> its integrity cannot be secured on the Internet, the Atos Nederland B.V.
> group liability cannot be triggered for the message content. Although the
> sender endeavours to maintain a computer virus-free network, the sender
> does not warrant that this transmission is virus-free and will not be
> liable for any damages resulting from any virus transmitted. On all offers
> and agreements under which Atos Nederland B.V. supplies goods and/or
> services of whatever nature, the Terms of Delivery from Atos Nederland B.V.
> exclusively apply. The Terms of Delivery shall be promptly submitted to you
> on your request.
>
> Atos Nederland B.V. / Utrecht
> KvK Utrecht 30132762
>
>
>
>
>
>
>
>
> Dit bericht is vertrouwelijk en kan geheime informatie bevatten enkel
> bestemd voor de geadresseerde. Indien dit bericht niet voor u is bestemd,
> verzoeken wij u dit onmiddellijk aan ons te melden en het bericht te
> vernietigen. Aangezien de integriteit van het bericht niet veilig gesteld
> is middels verzending via internet, kan Atos Nederland B.V. niet
> aansprakelijk worden gehouden voor de inhoud daarvan. Hoewel wij ons
> inspannen een virusvrij netwerk te hanteren, geven wij geen enkele garantie
> dat dit bericht virusvrij is, noch aanvaarden wij enige aansprakelijkheid
> voor de mogelijke aanwezigheid van een virus in dit bericht. Op al onze
> rechtsverhoudingen, aanbiedingen en overeenkomsten waaronder Atos Nederland
> B.V. goederen en/of diensten levert zijn met uitsluiting van alle andere
> voorwaarden de Leveringsvoorwaarden van Atos Nederland B.V. van toepassing.
> Deze worden u op aanvraag direct kosteloos toegezonden.
>
> This e-mail and the documents attached are confidential and intended
> solely for the addressee; it may also be privileged. If you receive this
> e-mail in error, please notify the sender immediately and destroy it. As
> its integrity cannot be secured on the Internet, the Atos Nederland B.V.
> group liability cannot be triggered for the message content. Although the
> sender endeavours to maintain a computer virus-free network, the sender
> does not warrant that this transmission is virus-free and will not be
> liable for any damages resulting from any virus transmitted. On all offers
> and agreements under which Atos Nederland B.V. supplies goods and/or
> services of whatever nature, the Terms of Delivery from Atos Nederland B.V.
> exclusively apply. The Terms of Delivery shall be promptly submitted to you
> on your request.
>
> Atos Nederland B.V. / Utrecht
> KvK Utrecht 30132762
>
>
>
>
>
>
>
>
> Dit bericht is vertrouwelijk en kan geheime informatie bevatten enkel
> bestemd voor de geadresseerde. Indien dit bericht niet voor u is bestemd,
> verzoeken wij u dit onmiddellijk aan ons te melden en het bericht te
> vernietigen. Aangezien de integriteit van het bericht niet veilig gesteld
> is middels verzending via internet, kan Atos Nederland B.V. niet
> aansprakelijk worden gehouden voor de inhoud daarvan. Hoewel wij ons
> inspannen een virusvrij netwerk te hanteren, geven wij geen enkele garantie
> dat dit bericht virusvrij is, noch aanvaarden wij enige aansprakelijkheid
> voor de mogelijke aanwezigheid van een virus in dit bericht. Op al onze
> rechtsverhoudingen, aanbiedingen en overeenkomsten waaronder Atos Nederland
> B.V. goederen en/of diensten levert zijn met uitsluiting van alle andere
> voorwaarden de Leveringsvoorwaarden van Atos Nederland B.V. van toepassing.
> Deze worden u op aanvraag direct kosteloos toegezonden.
>
> This e-mail and the documents attached are confidential and intended
> solely for the addressee; it may also be privileged. If you receive this
> e-mail in error, please notify the sender immediately and destroy it. As
> its integrity cannot be secured on the Internet, the Atos Nederland B.V.
> group liability cannot be triggered for the message content. Although the
> sender endeavours to maintain a computer virus-free network, the sender
> does not warrant that this transmission is virus-free and will not be
> liable for any damages resulting from any virus transmitted. On all offers
> and agreements under which Atos Nederland B.V. supplies goods and/or
> services of whatever nature, the Terms of Delivery from Atos Nederland B.V.
> exclusively apply. The Terms of Delivery shall be promptly submitted to you
> on your request.
>
> Atos Nederland B.V. / Utrecht
> KvK Utrecht 30132762
>
>
>
>
>
>
>
>
> Dit bericht is vertrouwelijk en kan geheime informatie bevatten enkel
> bestemd voor de geadresseerde. Indien dit bericht niet voor u is bestemd,
> verzoeken wij u dit onmiddellijk aan ons te melden en het bericht te
> vernietigen. Aangezien de integriteit van het bericht niet veilig gesteld
> is middels verzending via internet, kan Atos Nederland B.V. niet
> aansprakelijk worden gehouden voor de inhoud daarvan. Hoewel wij ons
> inspannen een virusvrij netwerk te hanteren, geven wij geen enkele garantie
> dat dit bericht virusvrij is, noch aanvaarden wij enige aansprakelijkheid
> voor de mogelijke aanwezigheid van een virus in dit bericht. Op al onze
> rechtsverhoudingen, aanbiedingen en overeenkomsten waaronder Atos Nederland
> B.V. goederen en/of diensten levert zijn met uitsluiting van alle andere
> voorwaarden de Leveringsvoorwaarden van Atos Nederland B.V. van toepassing.
> Deze worden u op aanvraag direct kosteloos toegezonden.
>
> This e-mail and the documents attached are confidential and intended
> solely for the addressee; it may also be privileged. If you receive this
> e-mail in error, please notify the sender immediately and destroy it. As
> its integrity cannot be secured on the Internet, the Atos Nederland B.V.
> group liability cannot be triggered for the message content. Although the
> sender endeavours to maintain a computer virus-free network, the sender
> does not warrant that this transmission is virus-free and will not be
> liable for any damages resulting from any virus transmitted. On all offers
> and agreements under which Atos Nederland B.V. supplies goods and/or
> services of whatever nature, the Terms of Delivery from Atos Nederland B.V.
> exclusively apply. The Terms of Delivery shall be promptly submitted to you
> on your request.
>
> Atos Nederland B.V. / Utrecht
> KvK Utrecht 30132762
>
>
>
> ----------------------------------
> Join Barracuda Networks in the fight against hunger.
> To learn how you can help in your community, please visit:
> http://on.fb.me/UAdL4f
>
>   ­­
>
>
>
>
>
>
> Dit bericht is vertrouwelijk en kan geheime informatie bevatten enkel
> bestemd voor de geadresseerde. Indien dit bericht niet voor u is bestemd,
> verzoeken wij u dit onmiddellijk aan ons te melden en het bericht te
> vernietigen. Aangezien de integriteit van het bericht niet veilig gesteld
> is middels verzending via internet, kan Atos Nederland B.V. niet
> aansprakelijk worden gehouden voor de inhoud daarvan. Hoewel wij ons
> inspannen een virusvrij netwerk te hanteren, geven wij geen enkele garantie
> dat dit bericht virusvrij is, noch aanvaarden wij enige aansprakelijkheid
> voor de mogelijke aanwezigheid van een virus in dit bericht. Op al onze
> rechtsverhoudingen, aanbiedingen en overeenkomsten waaronder Atos Nederland
> B.V. goederen en/of diensten levert zijn met uitsluiting van alle andere
> voorwaarden de Leveringsvoorwaarden van Atos Nederland B.V. van toepassing.
> Deze worden u op aanvraag direct kosteloos toegezonden.
>
> This e-mail and the documents attached are confidential and intended
> solely for the addressee; it may also be privileged. If you receive this
> e-mail in error, please notify the sender immediately and destroy it. As
> its integrity cannot be secured on the Internet, the Atos Nederland B.V.
> group liability cannot be triggered for the message content. Although the
> sender endeavours to maintain a computer virus-free network, the sender
> does not warrant that this transmission is virus-free and will not be
> liable for any damages resulting from any virus transmitted. On all offers
> and agreements under which Atos Nederland B.V. supplies goods and/or
> services of whatever nature, the Terms of Delivery from Atos Nederland B.V.
> exclusively apply. The Terms of Delivery shall be promptly submitted to you
> on your request.
>
> Atos Nederland B.V. / Utrecht
> KvK Utrecht 30132762
>

Reply via email to