The Dataiku Frontrunner Awards have just launched to recognize your achievements! Submit Your Entry

Upload file from local to the server

Solved!
Bader
Level 3
Upload file from local to the server

Hi ,

I have dataiku install in the server, and I would like to upload some setup file (Jar files or jaon file) from my local machine to the dss server using dataiku. 
i know I could use scp from my local, however, I would like to create dataiku  macros to automate this activity.

0 Kudos
2 Solutions
Clément_Stenac
Dataiker
Dataiker

Hi,

You could upload to a managed folder and (as a plugin developer) write a macro that copies the file from the managed folder to a directory of your choosing on the server. The DSS administrator still needs to add JARs from this directory in the Spark configuration.

View solution in original post

0 Kudos
CoreyS
Community Manager
Community Manager

Hi @Bader you can upload and download files from the managed folder using the Public REST API

 

More info on Managed Folders can be found here

 

I hope this helps!

Looking for more resources to help you use DSS effectively and upskill your knowledge? Check out these great resources: Dataiku Academy | Documentation | Knowledge Base

A reply answered your question? Mark as ‘Accepted Solution’ to help others like you!

View solution in original post

0 Kudos
5 Replies
Alex_Combessie
Dataiker
Dataiker

Hi,

By security design, DSS (and the server hosting it) does not have remote access to your local machine.

Could you please detail what type of setup file you want to push to the DSS server? 

Best regards,

Alex

0 Kudos
Bader
Level 3
Author

Hi Alex,  

Our servers have no connection to internet. Therefore, I want to push Jar files for spark-scala. this activity is not just one time, we need to push spark-scala packages whenever, we need new packages. 

Because of that, I want to automate this activity without having admin user get in the server in scp to folder.  

0 Kudos
Clément_Stenac
Dataiker
Dataiker

Hi,

You could upload to a managed folder and (as a plugin developer) write a macro that copies the file from the managed folder to a directory of your choosing on the server. The DSS administrator still needs to add JARs from this directory in the Spark configuration.

View solution in original post

0 Kudos
Bader
Level 3
Author

Hi Clement, 

How to upload file to manage folder ? 

0 Kudos
CoreyS
Community Manager
Community Manager

Hi @Bader you can upload and download files from the managed folder using the Public REST API

 

More info on Managed Folders can be found here

 

I hope this helps!

Looking for more resources to help you use DSS effectively and upskill your knowledge? Check out these great resources: Dataiku Academy | Documentation | Knowledge Base

A reply answered your question? Mark as ‘Accepted Solution’ to help others like you!

View solution in original post

0 Kudos
Labels (1)
A banner prompting to get Dataiku DSS