Table of contents

Transfer files between Watson Studio Local and HDP cluster

You can transfer files between the HDP cluster and the Watson Studio Local cluster using Python utility functions or from a Python environment within your notebook.

Requirement: The HDP cluster must be set up to work with Watson Studio Local, and Watson Studio Local must be configured to work with the HDP cluster.

Python example

Restriction: The WebHDFS URL must always end in a forward slash, for example, https://9.87.654.321:50070/gateway/dsx/webhdfs/v1/.

To download files from the HDP cluster to Watson Studio Local:


To upload files from Watson Studio Local to the HDP cluster:

"/user/user1/sample_07.csv" )