如何将文件和文件夹从一个ADLS复制到其他订阅上的另一个文件? [英] How to copy files and folder from one ADLS to another one on different subscription?

查看:79
本文介绍了如何将文件和文件夹从一个ADLS复制到其他订阅上的另一个文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要能够将文件和文件夹从另一个订阅的DataLake复制到另一个DataLake,我同时拥有Auth Token和密钥.

I need to be able to copy files and folder from one DataLake to another DataLake on a different subscription, I'm in possession of both Auth Token and secret key.

我尝试了不同的解决方案,包括:

I've tried different solution including:

wich涉及hadoop,但是由于site-core.xml wich只接受一个下标,因此无法在两个不同的订阅上使用.

wich is involving hadoop but didn't worked on two different subscriptions, due to the site-core.xml wich only accept one subscripton.

ADLcopy效果不佳,DataFactory也没有.

ADLcopy didn't worked as well, neither DataFactory.

有什么想法吗?谁能指出我正确的方向?

Any ideas? Can anyone point me in the right direction?

推荐答案

Azure Data Factory支持这种情况,您需要创建2个AzureDataLakeStoreLinkedService,每个都有正确的对应订阅和资源组(它们不一定与数据工厂的订阅),以及访问ADLS的服务主体的凭据. 如果这不能解决您的问题,那么您能告诉我更多的情况吗,因为我不明白:我正在尝试在core-site.xml中同时添加两个直接订阅的秘密密钥和令牌" ,你是说

Azure Data Factory supports such scenario, you need to create 2 AzureDataLakeStoreLinkedService, each with correct corresponding subscription and resource group (they don't necessarily be the same with the subscription of the data factory), and the credential of the service principal to access ADLS. If this doesn't answer your question, could you tell more of your scenario, as I don't understand this: " I'm trying to add both secret key and tokens of the two dirrent subscriptions in the core-site.xml", do you mean

这篇关于如何将文件和文件夹从一个ADLS复制到其他订阅上的另一个文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆