Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IntelliJ][Aris cluster]Could not open the Master UI link #2254

Closed
jingyanjingyan opened this issue Oct 24, 2018 · 3 comments
Closed

[IntelliJ][Aris cluster]Could not open the Master UI link #2254

jingyanjingyan opened this issue Oct 24, 2018 · 3 comments

Comments

@jingyanjingyan
Copy link

jingyanjingyan commented Oct 24, 2018

Build: https://vscjavaci.cloudapp.net/job/Azure_Toolkits_for_Java/job/AzureToolsManager_PR/2331

Repro Steps:

  1. Link an Aris cluster
    Livy endpoint | https://40.121.133.199:30443/gateway/default/livy/v1
    Yarn endpoint | https://40.121.133.199:30443/gateway/default/yarn

  2. Submit, click the Master UI link in output

Result:
Could not launch the master UI
http://mssql-master-pool-0.service-master-pool:8088/proxy/application_1539998170284_0138/

@wezhang
Copy link
Member

wezhang commented Dec 27, 2018

FYI: SparkBatchJobRunner

        submissionState.setConsoleView(jobOutputView.getSecondaryConsoleView());
        submissionState.getConsoleView().addMessageFilter((line, entireLength) -> {
            //...
            String urlInLine = line.substring(3, 7);
            String mappedUrl = remoteProcess.getSparkJob().getCluster().mapInternalUrlToPublic(urlInLine);
            // Result = 
            // return Result;
        });
        submissionState.setRemoteProcessCtrlLogHandler(processHandler);

@v-jiche
Copy link

v-jiche commented Dec 29, 2018

Bug fixed on windows.
Bug repros on Linux:
Build:
azure-toolkit-for-intellij-2018.3.develop.943.12-29-2018

Repro Steps:

  1. Link an Aris Cluster
    host: 10.91.134.112
    user name: root
    password: Yukon900
  2. Submit, click the Master UI link in output

Result:
Could not launch the master UI:
http://mssql-master-pool-0.service-master-pool:8088/proxy/application_1545336386529_0089/

@jingyanjingyan
Copy link
Author

Verify with develop 943, it will open url like https://10.91.134.112:30443/gateway/default/yarn/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants