This message was deleted.
The error message you’re encountering indicates a PermissionError
related to the patch
command in your local MWAA (Managed Workflows for Apache Airflow) environment. This error occurs when the DataHub plugin attempts to apply a patch using the patchy
library, which internally calls the patch
command.
Here are some steps you can take to resolve this issue:
-
Check Permissions: Ensure that the user running the Airflow process has the necessary permissions to execute the
patch
command. This might involve checking the permissions of thepatch
executable and ensuring that it is accessible to the user. -
Install
patch
Command: Verify that thepatch
command is installed on your system. You can check this by runningpatch --version
in your terminal. If it’s not installed, you can install it using your package manager (e.g.,apt-get install patch
on Debian-based systems oryum install patch
on Red Hat-based systems). -
Modify Security Context: If you are running this in a containerized environment like OpenShift, you might need to adjust the security context to allow the execution of the
patch
command. This could involve modifying thesecurityContext
in your deployment configuration to allow the necessary permissions. -
Review Airflow and DataHub Plugin Configuration: Ensure that your Airflow and DataHub plugin configurations are set up correctly. This includes verifying that the DataHub plugin is properly installed and configured in Airflow.
-
Check for Environment-Specific Issues: Since you are using a local MWAA environment, there might be specific configurations or restrictions in place. Ensure that your local environment allows the execution of subprocesses and that there are no security policies preventing the use of the
patch
command.
If you need more detailed steps or further assistance with any of these points, please let me know!
Sources:
- https://datahubspace.slack.com/archives/CUMUWQU66/p1725402533.006119|https://datahubspace.slack.com/archives/CUMUWQU66/p1725402533.006119
- https://datahubspace.slack.com/archives/C029A3M079U/p1721915444.083259|https://datahubspace.slack.com/archives/C029A3M079U/p1721915444.083259 0 button 0 button Hint: Mention @runllm in the thread for followups.
Hi ! Did this interaction resolve your issue or do you still require assistance ?
Please tag @ RunLLM if you still need further assistance !
Or tag @Datahub Community Support if you require a person to take a look
Hope this helps ! ><