what is the appropraite version of zookeeper? - java

i'm new to storm ,zookeeper and java
Now i imported project using storm -0.8.2 with recommended maven -3.X
but i don't know what is the version of zookeeper and version of maven that i should install it !!?
and i installed java 7
java -version
java version "1.7.0_80"
is there problem with using another version of java that coder used another ?
or is there any problem of using java 7 with old version of storm ?

There is no problems to use Java 7 with storm 0.8.2 as I done it. But stay away from zookeeper 3.3.3. Try zookeeper 3.3.5 or higher since the 3.3.3 caused storm workers to hang, crash or stop after 4-5 hours.
As for maven, Maven 3.3 will work fine to build jar compatible with storm.

Related

jenkins pipline with different jdk version

Currently in my jenkins setup I have 1 master and 2 nodes.
One node has jdk 7 and another node has jdk8. Now I want to execute pipelines under jdk8 but not under jdk7 as I have migrated the application from jdk7 to 8.
If I run the pipelines only on the node where jdk8 is installed will work??
OR do I need to do the changes in the pipeline as such as adding new jdk8 version as env variable in the package stage in the pipeline?
just I want to compile the code under jdk8 instead of 7 in jenkins?

Is neoj4 2.2.2 supporting java 8?, error on neo4j/bin/utils script

We are testing neo4j 2.2.2 with java 8u45 but we are seeing an error when we start neo4j.
ERROR! Neo4j cannot be started using java version 1.8.0_45.
* Please use Oracle(R) Java(TM) 7 to run Neo4j Server. Download "Java Platform (JDK) 7" from:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
* Please see http://docs.neo4j.org/ for Neo4j Server installation instructions.
Still the database starts, so the question is: Is this Error message a bug or we should revert the java 8 version to 7.
Error is trigger on /bin/utils script on function checkjvmcompatibility()
Thank you !!!
It clearly says that you should use Java 7. This is a system requirement, enforced by the library.
But the release notes on the http://docs.neo4j.org/ say:
Neo4j 2.2.2 is a maintenance release, with critical improvements. Notably, this release: Provides full support for Oracle and OpenJDK Java 8.
So either there's a mistake in the documentation, or (more likely) they forgot to update the compatibility check utility. Send them a message on this problem.
http://neo4j.com/contact-us/
According with the neo4j team: it is a bug that will be fixed in an upcoming maintenance release (thank you Viksit Puri).
So release notes are fine and java 8 works well with neo4j version 2.2.2 of Neo4j

sbt compilation error: no augmentString method in StringOps

I'm on Fedora 21 with:
scala 2.10.3
java 1.8.0
sbt 0.13.1
Scala and java are installed using yum. Sbt is installed manually and to the end of ~/.bashrc file the line export PATH=/home/igor/Documents/Projects/Scala/Assignments/sbt/bin:$PATH is added to make sbt available in the terminal. Then when I cd to the /home/igor/Documents/Projects/Scala/Assignments/example and run sbt -h, the help message is normally displayed but if start sbt:
[igor#prague example]$ sbt
Loading /home/igor/Documents/Projects/Scala/Assignments/sbt/bin/sbt-launch-lib.bash
OpenJDK Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
java.lang.NoSuchMethodError: scala.Predef$.augmentString(Ljava/lang/String;)Lscala/collection/immutable/StringOps;
at sbt.ConsoleLogger$.<init>(ConsoleLogger.scala:129)
at sbt.ConsoleLogger$.<clinit>(ConsoleLogger.scala)
at sbt.StandardMain$.<init>(Main.scala:52)
at sbt.StandardMain$.<clinit>(Main.scala)
at sbt.xMain.run(Main.scala:26)
at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:57)
at xsbt.boot.Launch$.withContextLoader(Launch.scala:77)
at xsbt.boot.Launch$.run(Launch.scala:57)
at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:45)
at xsbt.boot.Launch$.launch(Launch.scala:65)
at xsbt.boot.Launch$.apply(Launch.scala:16)
at xsbt.boot.Boot$.runImpl(Boot.scala:32)
at xsbt.boot.Boot$.main(Boot.scala:21)
at xsbt.boot.Boot.main(Boot.scala)
Error during sbt execution: java.lang.NoSuchMethodError: scala.Predef$.augmentString(Ljava/lang/String;)Lscala/collection/immutable/StringOps;
If I download scala 2.10.4 and yum remove scala and add the new scala to the path like I did it manually with sbt, the same error remains.
Is it possible to make sbt working? I need to run sbt submit command in order to submit my assignments to the Coursera.
Not sure but it may be an issue with java 8.
From typesafe blog for scala 2.11
The Scala 2.11 series targets Java 6, with (evolving) experimental support for Java 8. In 2.11, Java 8 support is mostly limited to reading Java 8 bytecode and parsing Java 8 source. We will be expanding Scala's (experimental) Java 8 support and interop throughout the 2.11 series.
If 2.11 version has only experimental support, then 2.10 will also not have a proper support for Java 8. You can do the course on java 7. It's an awesome course BTW :)

Do we need mahout and hadoop on same machine?

I am trying to build a recommendation engine using mahout, hadoop and java. It is my first time working with hadoop, I am getting my data sets from a server where hadoop is already installed which is a linux enviroment. My development environment is windows, now do I need to install mahout in my development environment or the server? If I need mahout on my development environment do I also need to install hadoop in it?
If you don't have Hadoop on your machine, Mahout will run in pseudo-distributed mode on the current machine.
Nonetheless, Windows and Hadoop don't really like each other, and depending on your Mahout version (more specifically the Hadoop dependency it has), you will most likely run into this issue (link). The issue is present from Hadoop 0.20.204 onwards (although I must admit that I don't know if it has been fixed on the latest version of Hadoop)

Informix CSDK install failing

I'm trying to install the Informix CSDK to get the drivers for an ODBC connection using Perl and DBD::ODBC. When running the ./installclientsdk, I'm getting the following error:
Initializing InstallShield Wizard........
Launching InstallShield Wizard........erified.
The wizard cannot continue because of the following error: could not load wizard specified in /wizard.inf (104)
I've read that only open-jdk is available on Ubuntu 11.10 so I went and installed the java version, which is where I'm at now. If I debug, I get:
QJMLException: (error code = 3002; message="java.lang.ClassNotFoundException: sun.beans.editors.BoolEditor")
I've been following this post:
http://ubuntuforums.org/showthread.php?t=1483193
But so far no luck on getting JRE running or the CSDK installed. Any suggestions on this one?
Thanks!
There should be a JVM included with the software, and the installer should use it if it cannot find an appropriate alternative. The question then is whether the JVM bundled with CSDK can run on Ubuntu 11.10. It is certified for Redhat and SuSE, I believe.
Which version of CSDK are you trying to install? Which kernel version and GNU C Library version are in Ubuntu 11.10?
I'm not keen on the '...erified' (as opposed to ...verified) part of the message; it is ominous when such simple messages are not displaying correctly.
I've not installed Informix on Ubuntu sufficiently recently to have any useful recollections of how well it worked. I don't remember any problems, but that could just mean I'm old and forgetful.

Categories