【问题标题】:Authorization Time Out : Azure Data Lake Store Configuration in Azure Data Factory授权超时:Azure 数据工厂中的 Azure Data Lake Store 配置
【发布时间】:2016-02-01 10:25:51
【问题描述】:

我们正在数据工厂的帮助下将数据从 Azure 表存储移动到 Azure Data Lake Store。如果我添加了一个连接到 Azure Data Lake Store 的链接服务。

{
    "name": "AzureDataLakeStoreLinkedService",
    "properties": {
        "description": "",
        "hubName": "xxxxxxxxxxxxxxxxxxxxxx",
        "type": "AzureDataLakeStore",
        "typeProperties": {
            "dataLakeStoreUri": "https://xxxxxxxxxxxxx.azuredatalakestore.net/webhdfs/v1",
            "authorization": "**********",
            "sessionId": "**********",
            "subscriptionId": "XXXXXXXXXXXXXXXXXXXXXx",
            "resourceGroupName": "xxxxxxxxxxxxxxxx"
        }
    }
}

对于此 Azure Data Lake Store 链接服务,有一个授权按钮。我们已授权,我们能够成功地将数据移动到 Azure Data Lake Store。

但问题是在一段时间后授权到期并且请求变得未经授权。然后我需要重新授权连接信息。

我需要避免这一步,在超时后每次都授权请求。怎么办?请分享任何有用的链接

【问题讨论】:

    标签: azure cortana-intelligence azure-data-factory azure-data-lake


    【解决方案1】:

    我使用 Microsoft 帐户授权链接服务。因此,超时经常发生(不到一天)。建议我使用 Azure Active Directory 帐户,它不会超时 90 天。我按照说明操作,DataFactory 目前工作正常,过去一周没有任何超时。

    我得到的另一个建议是使用服务主体,即使用在 Azure Active Directory 中注册的应用程序而不是个人用户帐户进行授权。我还没有尝试这种方法。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-08-21
      • 2018-08-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-14
      • 1970-01-01
      • 1970-01-01
      • 2019-10-19
      相关资源
      最近更新 更多