Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/help/Contents/Data Manipulation/broker_load.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@
WITH BROKER my_hdfs_broker
(
"hadoop.security.authentication" = "kerberos",
"kerberos_principal"="palo@BAIDU.COM",
"kerberos_principal"="doris@YOUR.COM",
"kerberos_keytab"="/home/palo/palo.keytab"
)

Expand All @@ -261,7 +261,7 @@
WITH BROKER my_hdfs_broker
(
"hadoop.security.authentication"="kerberos",
"kerberos_principal"="palo@BAIDU.COM",
"kerberos_principal"="doris@YOUR.COM",
"kerberos_keytab_content"="BQIAAABEAAEACUJBSURVLkNPTQAEcGFsbw"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
import io.netty.handler.codec.http.HttpMethod;

// Format:
// http://username:password@10.73.150.30:8138/api/show_proc?path=/
// http://username:password@192.168.1.1:8030/api/show_proc?path=/
public class ShowProcAction extends RestBaseAction {
private static final Logger LOG = LogManager.getLogger(ShowProcAction.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void setUp() throws NoSuchFieldException, SecurityException,

Field ambariUrlF = manager.getClass().getDeclaredField("ambariUrl");
ambariUrlF.setAccessible(true);
ambariUrlF.set(manager, "180.76.168.210:8080");
ambariUrlF.set(manager, "127.0.0.1:8080");

Field clusterNameF = manager.getClass().getDeclaredField("clusterName");
clusterNameF.setAccessible(true);
Expand All @@ -60,7 +60,7 @@ public void setUp() throws NoSuchFieldException, SecurityException,

Field blueprintF = manager.getClass().getDeclaredField("blueprintUrl");
blueprintF.setAccessible(true);
blueprintF.set(manager, "http://180.76.168.210:8080/api/v1/clusters/BDP?format=blueprint");
blueprintF.set(manager, "http://127.0.0.1:8080/api/v1/clusters/BDP?format=blueprint");
}

@Test
Expand All @@ -85,14 +85,14 @@ public void getHostTest() throws NoSuchMethodException, SecurityException, Illeg
}

private String getBlueprint() throws NoSuchMethodException, IllegalAccessException, InvocationTargetException {
String res = Util.getResultForUrl("http://180.76.168.210:8080/api/v1/clusters/BDP?format=blueprint",
String res = Util.getResultForUrl("http://127.0.0.1:8080/api/v1/clusters/BDP?format=blueprint",
null, 2000, 2000);
return res;
}

private String getComponent(String comp)
throws NoSuchMethodException, IllegalAccessException, InvocationTargetException {
String res = Util.getResultForUrl("http://180.76.168.210:8080/api/v1/clusters/BDP/services/PALO/components/"
String res = Util.getResultForUrl("http://127.0.0.1:8080/api/v1/clusters/BDP/services/PALO/components/"
+ comp, null, 2000, 2000);

return res;
Expand Down