|
|
@@ -271,6 +271,13 @@ class ODPi20StackAdvisor(DefaultStackAdvisor):
|
|
|
if not livyUser in users and livyUser is not None:
|
|
|
users[livyUser] = {"propertyHosts" : "*","propertyGroups" : "*", "config" : "livy-env", "propertyName" : "livy_user"}
|
|
|
|
|
|
+ if "SPARK2" in servicesList:
|
|
|
+ livyUser = None
|
|
|
+ if "livy2-env" in services["configurations"] and "livy_user" in services["configurations"]["livy2-env"]["properties"]:
|
|
|
+ livyUser = services["configurations"]["livy2-env"]["properties"]["livy_user"]
|
|
|
+ if not livyUser in users and livyUser is not None:
|
|
|
+ users[livy2User] = {"propertyHosts" : "*","propertyGroups" : "*", "config" : "livy2-env", "propertyName" : "livy_user"}
|
|
|
+
|
|
|
putCoreSiteProperty = self.putProperty(configurations, "core-site", services)
|
|
|
putCoreSitePropertyAttribute = self.putPropertyAttribute(configurations, "core-site")
|
|
|
|