You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can also open this configuration in **/etc/spark3/conf** by using SSH.
177
+
or You can also open this configuration in **/etc/spark3/conf** by using SSH.
178
178
179
-
1. Edit two configurations (**ranger.plugin.spark.service.name** and **ranger.plugin.spark.policy.cache.dir**) to point to the old policy repo **oldclustername_hive**, and then save the configurations.
179
+
Edit two configurations (**ranger.plugin.spark.service.name** and **ranger.plugin.spark.policy.cache.dir**) to point to the old policy repo **oldclustername_hive**, and then save the configurations.
180
180
181
181
Ambari:
182
182
@@ -186,6 +186,10 @@ Let's say that you have the policies defined in the Ranger repo already under th
186
186
187
187
:::image type="content" source="./media/ranger-policies-for-spark/config-update-xml.png" alt-text="Screenshot that shows a configuration update for service name in XML." lightbox="./media/ranger-policies-for-spark/config-update-xml.png":::
188
188
189
+
1. Click on edit button for **oldclustername_hive** and add **rangersparklookup** user in the **policy.download.auth.users** and **tag.download.auth.users** list.
190
+
191
+
:::image type="content" source="./media/ranger-policies-for-spark/" alt-text="Screenshot that shows edit option for ranger service." lightbox="./media/ranger-policies-for-spark/":::
192
+
189
193
1. Restart the Ranger and Spark services from Ambari.
190
194
191
195
The policies are applied on databases in the Spark catalog. If you want to access the databases in the Hive catalog:
@@ -198,5 +202,4 @@ The policies are applied on databases in the Spark catalog. If you want to acces
198
202
## Known issues
199
203
200
204
- Apache Ranger integration with Spark SQL doesn't work if the Ranger admin is down.
201
-
- The Ranger database can be overloaded if more than 20 Spark sessions are started concurrently because of continuous policy pulls.
202
205
- In Ranger audit logs, when you hover over the **Resource** column, it doesn't show the entire query that you ran.
0 commit comments