Bosch is planning to use the Analytic Server in a multiuser environment. In such an environment, different users create different streams that can have different priorities. One example for such priorities are “production” and “development”. Streams that are needed in production (shop floor data) are more important (priority “production”) than streams that are created by developers that are developing new applications (priority “development”).
When a user first executes a modeler stream (submits a job), the analytic server generates a spark job. This spark job initializes a new YARN application, owned by the “as_user”. All subsequent jobs submits (by arbitrary users) are submitted into this previously started YARN application.
Consequently, SPARK jobs are not separated from each other. They are all part of one single YARN application. This can result in critical situations. If a single stream shows unwanted behavior it can compromise other streams. For example if a stream stalls and needs to be killed, the whole application needs to be killed. If the whole application fails, all streams in execution will fail. This is a very serious problem when running production streams next to development streams on the same cluster, as there is no separation of concerns.
In order to realize such a separation of concerns, the Analytic server provides multi tenancy concept. With this concept multiple Analytic Servers are started each AS creates its own YARN application. This concept, however, comes with the huge and unacceptable overhead of multiple Analytic Server instances.
Furthermore, Bosch also needs to provide SPSS to a wide range of different customers as a shared service. Therefore, Analytic Server must be capable of scheduling jobs from different customers into their specific resource pools. In this context, Bosch requires impersonation. In the best case, each stream that is submitted by a user is executed as an individual YARN application, owned by the respective user.
Bosch requirements to realize the use case described above:
NOTICE TO EU RESIDENTS: per EU Data Protection Policy, if you wish to remove your personal information from the IBM ideas portal, please login to the ideas portal using your previously registered information then change your email to "email@example.com" and first name to "anonymous" and last name to "anonymous". This will ensure that IBM will not send any emails to you about all idea submissions