On Mon, Nov 25, 2013 at 2:56 AM, Naresh Yadav <[email protected]> wrote:
> hi, > > If anybody has experience in running blur on windows then please help > me... > I am attempting single node cluster just to test blur first.. > > Hadoop 2 release provides bat files for windows so my hadoop is up and > running on hdfs://localhost:9000 in just an hour on windows 7.. > > I request Blur team if they can also provide bat files as separate download > link then it will be big help for us. > Would you mind to add a jira issue for it? https://issues.apache.org/jira/browse/BLUR > > As there are no bat files in blur latest release so i had taken way to run > them using Cygwin....But while running them i am faced first problem as > $ ./start-all.sh > /usr/bin/env: bash: No such file or directory > It sounds like bash is missing from cygwin. > > I know i will face many other problems as doing first time and also i do > not have > knowledge of shell scripts(sh).. > > I request users who had done this already on windows please give tips on > possible problems so that i can get blur running in least time.... > Ok, I can try to get a batch file together with all the jar files on the class path. However if you simply run: java -cp %CLASSPATH% org.apache.blur.thrift.ThriftBlurShardServer -s 0 Given that the CLASSPATH contains all the jars in the lib/ dir and the lib/hadoop-*/hadoop-*jar and the lib/hadoop-*/lib/*.jar. Also conf/ directory should be first on the class path so that the blur-site.properties file can be found. Another option is use maven as your class path generator: If you have maven up and running you should be able to run "mvn install -DskipTests" from the src artifact. After all the projects have built cd into the blur-core project and run: mvn exec:java -Dexec.mainClass="org.apache.blur.thrift.ThriftBlurShardServer" -Dexec.args="-s 0" Once a single shard server is running you should be able to connect to it via the shell by cd to the blur-shell project and running: mvn exec:java -Dexec.mainClass="org.apache.blur.shell.Main" -Dexec.args="localhost:40020" Both options assume that you are running ZooKeeper locally. Let us know what you find. Aaron > > > Thanks > NARESH > > > > > > > Thanks, > Naresh >
