microsoft / azure-tools-for-java

Azure tools for Java, including Azure Toolkits for Eclipse, IntelliJ and related projects.
Other
239 stars 158 forks source link

[IntelliJ][RunConf]Remote run blocked and got error when storage type is ADLS gen 1 #2812

Closed v-xiaocw closed 5 years ago

v-xiaocw commented 5 years ago

Build: develop 1005 intelliJ: 2018.3.1.RC2 Repro Steps: 1.Create a new project 2.Right click LogQuery conment menu directly and create a Run/Debug config and settings as follow: spark cluster: zhouytest230hdi36adls main class name: LogQuery storage type:ADLS Gen 1 ADLS Root Path: adl://zhouytest230hdi36.azuredatalakestore.net/clusters/hdi-root Authentication Method: Azure Account 3.Apply and OK ,then click remote run button. Result: It will block for a long time: image

t-rufang commented 5 years ago

Currently in order to verify if the ADLS storage account is under subscriptions user choosed, 1) Firstly we list all ADLA accounts, 2) Then list all ADLS accounts that binded to each ADLA account. 3) Finally check if any of the ADLS accounts we found in the subscriptions matched up to the given ADLS account.

However, in this case the given ADLS account is not binded to any ADLA account. Therefore we get the error.

lcadzy commented 5 years ago

2836

v-xiaocw commented 5 years ago

Fixed in build1021