Re: issue in launching SolrCloud windows/cygwin

2014-10-19 Thread Anurag Sharma
Hi Nazik, Thanks for the response. The link mentioned by you is very useful. I used the windows cmd and started the cloud using solr.cmd script. The script is very rich in taking multiple options. Anurag On Sun, Oct 19, 2014 at 5:01 PM, Nazik Huq wrote: > Run Solr straight from the Windows cm

Re: issue in launching SolrCloud windows/cygwin

2014-10-19 Thread Nazik Huq
Run Solr straight from the Windows cmd if CygWin isn't a requirement. For example, running "java -jar start.jar" from the "example" directory will start single instance Solr. To run SolrCloud follow the instructions in "Simple Two-Shard Cluster on the Same Machine" from this link http://bit.ly/1rl

Re: issue in launching SolrCloud windows/cygwin

2014-10-19 Thread Anurag Sharma
Hello Jurgen, Thanks a lot for yoru prompt response. It solved the CRLF problem but the script is not supported on cygwin due to severe limitations and lack of adherence to BASH standards, such as lack of lsof, curl, and ps options. I found there is a native solr.cmd script for windows which wor

Re: issue in launching SolrCloud windows/cygwin

2014-10-19 Thread Jürgen Wagner (DVT)
Hello Anurag, the CRLF problem with Cygwin can be cured by running the scripts all through this filter: tr -d '\r' < $script > $script.new ; mv $script.new $script with $script holding the path of the script to be massaged. Generally, however, I would advise to use the standard scripts only fo

issue in launching SolrCloud windows/cygwin

2014-10-18 Thread Anurag Sharma
Here is the issue am facing issue in using the 'solr' script on Windows with cygwin terminal: $ bin/solr -e cloud bin/solr: line 16: $'\r': command not found bin/solr: line 17: $'\r': command not found bin/solr: line 46: $'\r': command not found which: no lsof in (/usr/local/bin:/usr/bin:/cygdrive