none
Configuring proxy server using Azure Data lake Java client.

    Question

  • Hi,

    Is there a way to configure proxy server using Azure Data lake Java client? Looked at documentation and Javadoc but was not able to find it. 

    Thanks!

    Jin

    Tuesday, January 31, 2017 5:05 PM

All replies

  • Hi Jin,

    As noted in this twitter conversation(https://twitter.com/jinhyukchang/status/826210826784632834), the following is our recommendation:

    The JVM options will work.Start with: -DproxySet=true -Dhttps.proxyHost=… -Dhttps.proxyPort=…

    More here: https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html

    Thanks,

    Amit Kulkarni

    Program Manager, ADLS

    Tuesday, January 31, 2017 5:31 PM
  • Hi Amit,

    Thanks for prompt response. I am actually aware of this solution, but the caveat is that it's being applied to JVM unless it's explicitly mentioned which hosts to be excluded. Is there a way configure it in API level instead of JVM level?

    Thanks,

    Jin


    Tuesday, January 31, 2017 10:58 PM
  • Hi Jin,

    Currently there is no way to set it at the API level. Kindly enter this as a feature request on our uservoice: https://feedback.azure.com/forums/327234-data-lake

    Thanks,

    Amit

    Wednesday, February 8, 2017 4:59 AM
  • Hi,

    Actually you can. When you create DataLakeStoreAccountManagementClientImpl use the constructor accepting RestClient. Create your RestClient using "usingProxyAuthenticator" and/or "usingProxy" methods according to your needs. Then pass it to constructor. 

    Thursday, June 7, 2018 5:59 PM