Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload spark libraries to Fabric Environment #872

Closed
4 tasks done
promisinganuj opened this issue Nov 21, 2024 · 2 comments · Fixed by #953
Closed
4 tasks done

Upload spark libraries to Fabric Environment #872

promisinganuj opened this issue Nov 21, 2024 · 2 comments · Fixed by #953
Assignees
Labels
e2e: fabric Related with E2E Fabric Sample P1 High Priority

Comments

@promisinganuj
Copy link
Contributor

promisinganuj commented Nov 21, 2024

As part of the initial setup, we need to upload the python OTEL library and environment.yml files to Fabric Environment.

Reference: https://github.com/Azure-Samples/modern-data-warehouse-dataops/blob/feat/e2e-fabric-dataops-sample/e2e_samples/fabric_dataops_sample/scripts/setup_fabric_environment.py

DoD

  • Upload (Stage) the environment file "otel_monitor_invoker.py" to the Fabric Environment.
  • Upload (Stage) the "environment.yml" to the Fabric Environment.
  • Publish the libraries.
  • Do it before enabling the Fabric GIT integration so that the environment gets synced to the repo.

Out of Scope

The same process would also be performed as part of CI/CD process, but that it out of scope of this item.

Update The REST APIs are not working ATM. So, we might have to consider about making this step manual.

Depends-on #946

@promisinganuj promisinganuj added P1 High Priority e2e: fabric Related with E2E Fabric Sample labels Nov 21, 2024
@sreedhar-guda
Copy link
Contributor

sreedhar-guda commented Nov 22, 2024

@promisinganuj
The manual step here to still make these files available as common modules (outside if Environment) could be:

  • Upload the files to ADLS (may be main/scripts)
  • Create shortcut (sc-adls-main)
  • The Create initial version of notebooks #862 implementation already mounts this file system as /local_data
  • Users can perform:
    import sys
    sys.path.append('/local_data/scripts')
  • Use the code module by importing it as needed

@promisinganuj promisinganuj self-assigned this Dec 12, 2024
promisinganuj added a commit that referenced this issue Dec 18, 2024
fix(e2e_samples): Minor bug fixes in the deployment scripts

Authored-by: Anuj Parashar <[email protected]>
Reviewed-by: Naga Nandyala <[email protected]>

Refs: #827, #875, #893, #872, #892
@promisinganuj
Copy link
Contributor Author

As the APIs are now working, this is unblocked. We have already implemented the library upload as part of initial IaC deployment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e2e: fabric Related with E2E Fabric Sample P1 High Priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants