- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Slider service install not required for slider apps to run?
- Labels:
-
Apache Ambari
-
Apache HBase
Created on ‎11-20-2015 09:42 PM - edited ‎09-16-2022 02:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am running HDP 2.3 and was capturing screenshots for a lesson under development for Slider. I created a Slider view, created the yarn home directory in HDFS, copied an HBase slider package to the appropriate location, and restarted Ambari server. It was then I realized the I had forgotten to install the Slider service on my cluster. Thinking it would be a great error message to capture, I went back to the Slider View, created the app per the wizard, and deployed - thinking it would error out and tell me that the service was not installed. To my surprise, the application ran without a problem, and the Slider View allowed me to perform the Flex and other actions with no issues.
Because this is for a training class, I need to understand why this worked. Is there something special about the HBase slider package we make available that allows it to run on a cluster where the service is not installed, or does the HDP or Ambari support slider applications without the need to explicitly install the service? If that's true, what is it that installing Slider on HDP actually accomplishes?
I will post screenshots in a comment below.
Thanks in advance.
Created ‎11-20-2015 09:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created on ‎11-20-2015 09:46 PM - edited ‎08-19-2019 05:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
List of installed services, no Slider:
Created ‎11-20-2015 09:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created ‎11-21-2015 04:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ah, gotcha. So installing the Slider View is functionally equivalent to installing Slider on the cluster, assuming you are launching applications from the View. But to make slider available via CLI, you must install it at the cluster level. Makes sense!
Created ‎11-24-2015 11:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Actually, you don't need to install slider on your cluster at all: you just need it on your local system -it will install itself via HDFS and YARN. This lets you use different versions of slider for different applications, and upgrade without needing any cluster admin.
Created ‎11-30-2015 03:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve - that's a good point. The question, then, is why make it available as a cluster-level service at all? What is the benefit of providing Slider as an installable option, or providing a Slider view in HDP?
Created ‎11-30-2015 06:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Primarily so that Ambari can use it to deploy and manage things via slider; it doesn't need to be installed on other machines in the cluster.
