Member since
10-22-2015
55
Posts
41
Kudos Received
16
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1216 | 01-11-2019 03:06 PM | |
901 | 08-27-2018 04:10 PM | |
1602 | 10-10-2017 05:38 PM | |
1476 | 06-22-2017 05:31 PM | |
1433 | 05-30-2017 07:59 PM |
01-06-2016
06:34 PM
1 Kudo
The node label is specified in the resources.json file as the yarn.label.expression property. See an example here: https://slider.incubator.apache.org/docs/configura...
... View more
12-18-2015
06:19 PM
1 Kudo
Slider has to run the Solr servers on random ports because it can't control where they are started (more than one might be started on the same host). The next release of Slider will have an anti-affinity container placement option, so that might help. You should be able to connect to each of the Solr instances that Slider creates.
... View more
12-18-2015
05:56 PM
1 Kudo
I guess this is a design limitation of the LucidWorks solr app package. One thing you'd have to do to avoid losing data on restart is to configure Solr to store its data in HDFS. You might be able to do this by setting the solr_opts parameter in the appConfig: -Dsolr.directoryFactory=HdfsDirectoryFactory -Dsolr.lock.type=none -Dsolr.hdfs.confdir=/etc/hadoop/conf -Dsolr.hdfs.home=${DEFAULT_DATA_DIR} You would also need to configure automatic failover when creating the collection: curl "http://server:port/solr/admin/collections?action=CREATE&name=collection_name&numShards=2&autoAddReplicas=true"
... View more
12-11-2015
04:39 PM
1 Kudo
I've added a comment to my initial response that should solve your problem.
... View more
12-11-2015
04:38 PM
1 Kudo
Another thing I noticed is that memory requested is pretty high if you're going to be running it on a VM. It might not be launching Solr because it doesn't have enough memory. I made the these changes to appConfig and resources and was able to get Solr running on a VM that has 9GB of RAM. You might need to make additional adjustments for your setup, and also make sure yarn.scheduler.minimum-allocation-mb isn't too high.
... View more
12-11-2015
03:48 PM
1 Kudo
ZK_HOST and AGENT_WORK_ROOT will be replaced by Slider. The AGENT_WORK_ROOT will have the form /hadoop/yarn/local/usercache/<userName>/appcache/<appID>/<containerID> (where /hadoop/yarn/local is the directory specified by the yarn.nodemanager.local-dirs in yarn-site.xml). Based on the solr_node.py script, it looks like the output of the Solr start command should end up in the slider-agent logs in the container log directory. If containers are failing to launch, information about that should be in the AM log, slider.log in the log directory for container 0001.
... View more
12-10-2015
08:05 PM
1 Kudo
The directory ${AGENT_WORK_ROOT}/app/install/solr-* will be created for you by Slider. Slider will untar your Solr tarball to the ${AGENT_WORK_ROOT}/app/install directory. That's why Slider needs to know the name of the directory contained in your tarball.
... View more
12-10-2015
06:15 PM
3 Kudos
The only part of "site.global.app_root": "${AGENT_WORK_ROOT}/app/install/solr-5.2.0-SNAPSHOT" that you should change is the solr-5.2.0-SNAPSHOT. You should make this match the version of the Solr tarball you downloaded. (You can check the version by running "tar tf solr.tgz"). You probably also want to change "site.global.zk_host": "localhost:2181" to "site.global.zk_host": "${ZK_HOST}", which will configure Solr to use the same ZooKeeper instance Slider is using. I think you can leave ${SOLR_HOST} as is, but I am not completely sure of the purpose of that parameter.
... View more
11-20-2015
09:56 PM
Slider is really just a client library. The Slider View installs its own copy of the Slider jars in a directory like this one: /var/lib/ambari-server/resources/views/work/SLIDER{2.0.0}/WEB-INF/lib/ When you install the Slider service separately, Slider is installed in the standard service directory /usr/hdp/current/slider-client/, and then you can use the slider shell script to perform Slider operations.
... View more
11-19-2015
10:11 PM
1 Kudo
I get the same error. It looks like that download URL is not working at the moment. Try this alternate one: http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos6/2.x/BUILDS/2.3.2.0-2950/slider-app-packages/hbase/slider-hbase-app-package-1.1.2.2.3.2.0-2950.zip
... View more
- « Previous
- Next »