Tuesday, June 21, 2022
Thursday, May 26, 2022
Monday, May 16, 2022
Build Jar : Add multiple class files in the Jar using Bazel
Add multiple class files in the Jar using Bazel
Thursday, May 12, 2022
Azure Synapse - Working with Custom jar Scala (Bazel)
Working with Custom jar in Azure
There is 2 Jars :
- Big Fat Jar or uber Jar (Contains main class )
- Build Dependency Jar/ Library to be used in Synapse
Big Fat Jar or uber Jar:
- Contains main class
- Contains all the Dependency
- Contains manifest File
- $ bazel build build_name_deploy.jar
- Can be run as : build_name_deploy.jar
- Eg: https://github.com/j-thepac/BazelTestProject
- Ref - https://docs.bazel.build/versions/main/be/java.html
Build Dependency Jar/ Library
- Does not Contain main class
- Does not contain dependencies
- Note : Download external dependencies from Maven and upload it separately (refer bewlo link)
- $ bazel build build_name.jar
Once u have jars Created based on ure need , use link - https://docs.microsoft.com/en-us/azure/synapse-analytics/spark/apache-spark-manage-scala-packages to upload to Azure
Friday, May 6, 2022
Azure Synapse : Passing and receiving Values to and from Notebooks
Passing and receiving Values to and from Notebooks
Friday, April 22, 2022
Saturday, March 12, 2022
Thursday, January 20, 2022
Sunday, January 9, 2022
Saturday, January 8, 2022
Azure Linux VM
Azure Linux VM Connection
pre-Req:
- For Mac Users
- Make sure linux machine is created
Steps:
- Open Linux Machine Panel
- Go to Settings > Connect > SSH
- Click on other Clients
- From the new page opened , Copy Create an SSH key Pair "ssh-keygen -m PEM -t rsa -b 4096"
- Run "ssh-keygen -m PEM -t rsa -b 4096" in Terminal
- Click Enter all the times
Testing Connection
- In the previous page , enter the path of the id_rsa.pub Eg : "~/.ssh/id_rsa.pub" or "(if u have added the file in a new folder ) ~/.ssh/vm_linux/pushpa/id_rsa.pub "
- click on "test your connection"
- Your unsaved edits will be discarded , ck Yes
- Ck on Test Connection
- this shd pass
Connection:
- Settings > Connect > SSH
- copy the run example ie ., ssh -i <private key path> pushpaxxxxx@1xx.xx.1xx.xx
- Replace the privae key path to ids_rsa which was created
- Make sure u give the azure account password when asked
Install Python3
- sudo su
- <azure password>
- yum install python3
- pip3 install requests
Monday, January 3, 2022
Subscribe to:
Posts (Atom)