what is solr web interface url - solr

I am using datastax 2.2.2 in my ubuntu:12.04 system. I just downloaded tar ball and started solr using
dse cassandra -s
It starts solr. I verified it using
netstat -plten
It show port 8983 is being used.
10.XX.XX.XX:8983/solr/ --> Call never ends. It's keep on loading.
I started opscenter and checked with ip:8888/ it shows opscenter ui.
What is the solr web interface url for datastx 2.2.2 and Do i need to change any configurations for solr?
Any Ideas?

The Solr Admin UI default is usually:
<ip>:8983/solr
For example from my test VM on my local machine:
http://192.168.56.20:8983/solr/

Related

Indexing problem with SOLR (MultiMaxScoreQParserPlugin)

I'm trying to integrate SOLR with Hybris but both of them are running on Kubernetes as a diffferent pod.
If I'm trying indexing SOLR on Hybris, it throws the error below;
ERROR [BackofficeLO-47] (000001JT) [SolrStandaloneSearchProvider] Error from server at http://10.10.100.181:34324/solr: Error CREATEing SolrCore 'master_backoffice_backoffice_product_flip': Unable to create core [master_backoffice_backoffice_product_flip] Caused by: de.hybris.platform.solr.search.MultiMaxScoreQParserPlugin
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://10.10.100.181:34324/solr: Error CREATEing SolrCore 'master_backoffice_backoffice_product_flip': Unable to create core [master_backoffice_backoffice_product_flip] Caused by: de.hybris.platform.solr.search.MultiMaxScoreQParserPlugin
I guess somethings wrong with SOLR "deafult" indexing directory.
Solr is running as process like below inside the pod;
solr#solr-fsd33wdf-qteg:/opt/solr-8.5.2$ ps -ef | grep solr
solr 10 1 0 Jun23 ? 00:15:55 /usr/local/openjdk-11/bin/java -server -Xms512m -Xmx512m -XX:+UseG1GC -XX:+PerfDisableSharedMem -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=250 -XX:+UseLargePages -XX:+AlwaysPreTouch -Xlog:gc*:file=/var/solr/logs/solr_gc.log:time,uptime:filecount=9,filesize=20M -Dsolr.jetty.inetaccess.includes= -Dsolr.jetty.inetaccess.excludes= -Dsolr.log.dir=/var/solr/logs -Djetty.port=8983 -DSTOP.PORT=7983 -DSTOP.KEY=solrrocks -Duser.timezone=UTC -Djetty.home=/opt/solr/server -Dsolr.solr.home=/var/solr/data -Dsolr.data.home= -Dsolr.install.dir=/opt/solr -Dsolr.default.confdir=/opt/solr/server/solr/configsets/_default/conf -Dlog4j.configurationFile=/var/solr/log4j2.xml -Xss256k -Dsolr.jetty.https.port=8983 -jar start.jar --module=http
So default confdir is /opt/solr/server/solr/configsets/_default/conf
If I'm check SOLR_HOME variable, it's different directory;
solr#solr-f575dcfdf-qtnpg:/opt/solr-8.5.2$ echo $SOLR_HOME
/var/solr/data
So, how can I change confdir to /var/solr/data ? I guess this is the problem here?
Thanks!
This page provides you with information on how to use the standalone setup. The ant configureSolrServer takes an argument of the path to the original Solr binary that you should download from here. This overwrites the files in the directory with the SAP Commerce specific setup. The MultiMaxScoreQParserPlugin is part of solr-hybris-components-<version_of_solr>.jar file, where the <version_of_solr> corresponds to the solr version your SAP Commerce is running on. Note that SAP Commerce also supports multiple Solr versions and it depends on what configuration you have.
You may then extend the default Solr docker image as provided here to have your setup running.

Migrating from Standalone Apache SOLR to SOLR Cloud

We have a standalone Apache Solr setup in local Server for testing purpose, with around 10 cores created in it. Now we are planning to setup a new Solrcloud environment in AWS with numShards:3 and replicationFact:3 .
Is there any way to transfer existing Apache Solr core (Schema and data) to new SolrCloud environment in AWS.
Used ZooKeeper to Manage Configuration Files. Uploaded Configuration file to Zookeeper : /bin/solr zk upconfig -n -d

elastic search interpreter of zeppelin does not work

Elasticsearch 5.1.1
Zeppelin 0.6.2
Notebook command
%elasticsearch
get /tweeter/tweet/1
Result message
Error : None of the configured nodes are available:
[{#transport#-1}{127.0.0.1}{localhost/127.0.0.1:9300}]
elastic search interpreter settingenter code here
Default setting
elasticsearch.yml Setting
cluster.name: elasticsearch
network.host: 127.0.0.1
http.port: 9200
transport.tcp.port: 9300
Zeppelin currently doesnt support ES 5.0. There is a PR for that working in progress but stuck due to many API changes.
https://github.com/apache/zeppelin/pull/1598
Updated: Recently the PR for adding elastic http client was merged. So now you can use ES 5.0+ in zeppelin using elastic interpreter (http client setting, port 9200)
See also: https://github.com/apache/zeppelin/commit/e763b3bf3e8a26a2e2134bc615aac1bff59cd82d

on which port does solr works on

I am new to solr i have just installed it with tomcat, and just after installing i opened http://localhost:8080/solr/#/ and i could see the solr admin page .
So the website i am refering,
it is given there that to start solr run bin/solr start ,and it can be seen at http://localhost:8983/solr/#/
So now solr admin page is visible at both 8080 and 8983.
So i just wanted to know on which port does solr actually works on ,8080 or 8983 ?
Well i am also new to Solr and i am running it with Jetty. and i think it actually works on 8983. although you can change it in the configuration xml file.
If you're using Solr 5 it will be hosted by jetty and listen on port 8983 by default; you can change the port from the solr command line using e.g. bin/solr start -p 9999
If you're using an older version of solr and you are hosting in tomcat as you say, then by default it will use the default tomcat port (8080) and you'll need to look at your maven/tomcat/whatever setup to change the port.
You can change the port from maven using -Djetty.port=9999 or -Dmaven.tomcat.port=9999 as appropriate.
From what you're describing it looks like you may have two copies of solr running on your machine, one with jetty and one with tomcat.

How do i check cassandra and solr is up?

I just installed datastax 2.2.2 on my ubuntu:12.04 machine from tarball
I started services using bin/dse cassandra -s. I din't set any env variables.But it starts the service.
bin/dse/bin/nodetool status
It lists out list of valid commands where status is not there. How do i verify my cassandra and solr is up?
AM i missing something? ANy ideas?
nodetool status should work. DSE 4.6 is the latest version, why are you on 2.2?
Watch your system and output logs as the node starts up to see gossip hints etc. It will end with something like:
done waiting for other nodes
You can also check if the service is running --
ps -ef | grep dse
nodetool status
Run this command in terminal and you will get all information related
IP Address,
Load,
Tokens,
Owns,
Host,
ID,
and Rack
bin/nodetool ring -h localhost
It will return about the solr and cassandra status.

Resources