Error for Kafka install on windows 7(without Cygwin) - hadoop

I am trying to install kafka_2.10-0.10.1.0 on windows 7(without Cygwin), but I am getting below error when I am trying to start server
.\bin\windows\zookeeper-server-start.bat .\config\server.properties
The syntax of the command is incorrect.
The syntax of the command is incorrect.
I have followed below steps.
Downloaded kafka_2.10-0.10.1.0 folder.
Changed log.dirs path in server.properties
Set the JAVA_HOME path in system
Please guide to install

Related

Hive on window 10 using cygwin: Path error

I got this error when install hive on window 10 using cygwin.
I had added this code
C:\WINDOWS\system32>mklink /J D:\cygdrive\d\ d:\
But the path like below. I think Cygwin doesn't understand cygdrive\d\hadoop\hive3.1.2....
It must be cygdrive/d/hadoop/hive3.1.2/....
Error
org.apache.hadoop.hive.metastore.HiveMetaException: File /cygdrive/d/hadoop/hive3.1.2\scripts\metastore\upgrade\mssql\upgrade.order.mssqlnot found
Underlying cause: java.io.FileNotFoundException : \cygdrive\d\hadoop\hive3.1.2\scripts\metastore\upgrade\mssql\upgrade.order.mssql (The system cannot find the path specified)
How can I fix this?
Update: Solved.
I was fixed by using Wsl instead of Cygwin. In Wsl, install openJdk8 of Java, set Java_home to /user/lib/jvm/openJdk8... then rerun hive command again. Done.
It seems Cygwin calls java of windows, it should be using Linux version.

{"init terminating in do_boot",{'cannot get bootfile','start_clean.boot'}} init terminating in do_boot ({cannot get bootfile,start_clean.boot})

when I run command rabbitmq-plugins.bat enable rabbitmq_management in windows 10. I got below error
{"init terminating in do_boot",{'cannot get bootfile','start_clean.boot'}}
init terminating in do_boot ({cannot get bootfile,start_clean.boot})
. I have windows 10.
. ERLANG is installed and ERLANG_HOME varaible is set
Please help me in resolving this
I also faced this issue and solved it by reinstalling it. Steps I followed on Windows 10:
Uninstall RabbitMQ
Delete the folder %APPDATA%\RabbitMQ
Delete folder RabbitMQ Server from C:\ProgramFiles
set ERLANG_HOME
Reinstall RabbitMQ via administrator account
Assuming you installed ERLANG via administrator account as well. If not then first reinstall Erlang before reinstalling RabbitMQ.
For me, the problem was that I was installing the latest (version 23) of ERLANG... which has the bin folder one level deeper and that caused issues for RabbitMQ... even if I set the ERLANG_HOME environment variable that one level deeper.
What worked was installing the latest of version 22 (22.3 at the time of this post) of ERLANG.
why?:
1.when you specify the installation path and do not follow the default path
2.the installer will create a C:Program Files\rabbitmq_server-3.11.1\Rabbit MQ\plugins folder,the path you specified will be missing these files
solve:
merge the files in C:Program Files\Rabbit MQ\rabbitmq_server-3.11.1\plugins into the directory you specify,likeD:\RabbitMQ\rabbitmq_server-3.11.1\plugins

Issues installing PhantomJS for windows: command not recognized

following the docs here: http://attester.ariatemplates.com/usage/phantom.html, I am trying to install phantomjs on my windows machine.
I tried adding multiple lines to my Path system variable, and yet, I get the same error in the command prompt when I type in phantomjs --version.
" 'phantomjs' is not recognized as an internal or external command, operable program or batch file."
I added the phantomjs.exe to C:\phantomjs\bin\, and added C:\phantomjs\bin\phantomjs to the path, and any variation that I could think of, such as:
C:\phantomjs\bin\phantomjs.exe\; C:\phantomjs\bin; C:\phantomjs\bin\phantomjs\;
How am I not installing this right?
You don't need to put all the directories to the environment PATH variable.
Add only following to your path and restart your command prompt.
C:\phantomjs\bin\
Add phantomjs.exe to C:\Windows\System32 folder.

bin/hadoop: line 133: C:Java/jdk1.7.0_45/bin/java: No such file or directory

Can someone help on this? I am trying to get hadoop 2.2.0 version and got error message
$ bin/hadoop version
bin/hadoop: line 133: C:Java/jdk1.7.0_45/bin/java: No such file or directory
bin/hadoop: line 133: exec: C:Java/jdk1.7.0_45/bin/java: cannot execute: No such file or directory
I am trying to install single instance hadoop on windows 7/64.
I did install Cygwin64 and hadoop on "c/+1/Hadoop/hadoop-2.2.0"
JAVA_HOME is
$ echo $JAVA_HOME
c:Java/jdk1.7.0_45
Any idea will be more than welcome so feel free to fire up!
"C:Java/jdk1.7.0_45/bin/java" is neither a valid Windows path nor a valid cygwin path. So your JAVA_HOME is set incorrectly. Set it to the directory where you installed the JDK. Maybe you mean "/cydrive/c/Java/jdk1.7.0_45/bin/java". Using "where java" or "which java" might help a bit.
(opinion follows...)
In my experience trying to set up hadoop on windows using cygwin is a tough battle, and usually not worth the effort. When I have to develop on Windows machines I usually set up a virtual machine running Linux, and everything tends to go much smoother.

How can I install jython on Windows 7?

I have downloaded "jython-installer-2.7-b1.jar". I want to install it on Windows 7. What are the steps can I follow? Please guide me.
Pre requisite: Installation of Java
Follow the following steps:
Run "jython-installer-2.7-b1.jar" as below command:
java -jar jython-installer-2.7-b1.jar
Follow the instruction from Jython Installation pop up
After successful installation set PATH as C:\jython2.7b1\bin
Open command prompt and execute the command as below:
jython --version
The output as "Jython 2.7b1" would verify the complete installation and setting path
I followed #RiponAlWasim answer but at the first step the installer stopped saying unable to create directory
To solve this problem Open command prompt as administrator

Resources