Skip to content

Commit a8d03b5

Browse files
authored
Merge pull request #84253 from hrasheed-msft/hdi_vm_naming_updates
removing some superficial vm name use of hn0 & wn0
2 parents f142bb9 + 2d058d8 commit a8d03b5

8 files changed

+22
-21
lines changed

articles/hdinsight/hbase/apache-troubleshoot-hbase.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ hdfs dfs -D "fs.default.name=hdfs://mycluster/" -mkdir /temp
6363
The error you might see when you try to run the command looks like this:
6464

6565
```apache
66-
hdiuser@hn0-spark2:~$ hdfs dfs -D "fs.default.name=hdfs://mycluster/" -mkdir /temp
66+
hdfs dfs -D "fs.default.name=hdfs://mycluster/" -mkdir /temp
6767
17/04/05 16:20:52 WARN retry.RetryInvocationHandler: Exception while invoking ClientNamenodeProtocolTranslatorPB.mkdirs over hn0-spark2.2oyzcdm4sfjuzjmj5dnmvscjpg.dx.internal.cloudapp.net/10.0.0.22:8020. Not retrying because try once and fail.
6868
org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.namenode.SafeModeException): Cannot create directory /temp. Name node is in safe mode.
6969
It was turned on manually. Use "hdfs dfsadmin -safemode leave" to turn safe mode off.
@@ -127,7 +127,7 @@ The HDInsight cluster has been scaled down to a very few nodes. The number of no
127127
```
128128

129129
```apache
130-
hdiuser@hn0-spark2:~$ hdfs dfsadmin -D "fs.default.name=hdfs://mycluster/" -report
130+
hdfs dfsadmin -D "fs.default.name=hdfs://mycluster/" -report
131131
Safe mode is ON
132132
Configured Capacity: 3372381241344 (3.07 TB)
133133
Present Capacity: 3138625077248 (2.85 TB)
@@ -164,7 +164,7 @@ The HDInsight cluster has been scaled down to a very few nodes. The number of no
164164
2. You also can check the integrity of the HDFS on the HDInsight cluster by using the following commands:
165165

166166
```apache
167-
hdiuser@hn0-spark2:~$ hdfs fsck -D "fs.default.name=hdfs://mycluster/" /
167+
hdfs fsck -D "fs.default.name=hdfs://mycluster/" /
168168
```
169169

170170
```apache

articles/hdinsight/hdinsight-apache-storm-with-kafka.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,9 @@ To create an Azure Virtual Network, and then create the Kafka and Storm clusters
467467

468468
The value returned is similar to the following text:
469469

470+
```output
470471
wn0-kafka.53qqkiavjsoeloiq3y1naf4hzc.ex.internal.cloudapp.net:9092,wn1-kafka.53qqkiavjsoeloiq3y1naf4hzc.ex.internal.cloudapp.net:9092
472+
```
471473

472474
> [!IMPORTANT]
473475
> While there may be more than two broker hosts for your cluster, you do not need to provide a full list of all hosts to clients. One or two is enough.

articles/hdinsight/hdinsight-hadoop-linux-use-ssh-unix.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,9 @@ The worker nodes and Zookeeper nodes are not directly accessible from the intern
166166

167167
2. From the SSH connection to the head or edge node, use the `ssh` command to connect to a worker node in the cluster:
168168

169+
```bash
169170
ssh sshuser@wn0-myhdi
171+
```
170172

171173
To retrieve a list of the node names, see the [Manage HDInsight by using the Apache Ambari REST API](hdinsight-hadoop-manage-ambari-rest-api.md#example-get-the-fqdn-of-cluster-nodes) document.
172174

articles/hdinsight/hdinsight-plan-virtual-network-deployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Azure provides name resolution for Azure services that are installed in a virtua
111111
112112
* Any resource that is available on the internet. For example, microsoft.com, windowsupdate.com.
113113
114-
* Any resource that is in the same Azure Virtual Network, by using the __internal DNS name__ of the resource. For example, when using the default name resolution, the following are example internal DNS names assigned to HDInsight worker nodes:
114+
* Any resource that is in the same Azure Virtual Network, by using the __internal DNS name__ of the resource. For example, when using the default name resolution, the following are examples of internal DNS names assigned to HDInsight worker nodes:
115115
116116
* wn0-hdinsi.0owcbllr5hze3hxdja3mqlrhhe.ex.internal.cloudapp.net
117117
* wn2-hdinsi.0owcbllr5hze3hxdja3mqlrhhe.ex.internal.cloudapp.net

articles/hdinsight/hdinsight-troubleshoot-hdfs.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ Access the local HDFS from the command line and application code instead of by u
2323

2424
1. At the command prompt, use `hdfs dfs -D "fs.default.name=hdfs://mycluster/" ...` literally, as in the following command:
2525

26-
```apache
27-
hdiuser@hn0-spark2:~$ hdfs dfs -D "fs.default.name=hdfs://mycluster/" -ls /
26+
```output
27+
hdfs dfs -D "fs.default.name=hdfs://mycluster/" -ls /
2828
Found 3 items
2929
drwxr-xr-x - hdiuser hdfs 0 2017-03-24 14:12 /EventCheckpoint-30-8-24-11102016-01
3030
drwx-wx-wx - hive hdfs 0 2016-11-10 18:42 /tmp
@@ -59,7 +59,7 @@ Access the local HDFS from the command line and application code instead of by u
5959
3. Run the compiled .jar file (for example, a file named `java-unit-tests-1.0.jar`) on the HDInsight cluster with the following command:
6060
6161
```apache
62-
hdiuser@hn0-spark2:~$ hadoop jar java-unit-tests-1.0.jar JavaUnitTests
62+
hadoop jar java-unit-tests-1.0.jar JavaUnitTests
6363
hdfs://mycluster/tmp/hive/hive/5d9cf301-2503-48c7-9963-923fb5ef79a7/inuse.info
6464
hdfs://mycluster/tmp/hive/hive/5d9cf301-2503-48c7-9963-923fb5ef79a7/inuse.lck
6565
hdfs://mycluster/tmp/hive/hive/a0be04ea-ae01-4cc4-b56d-f263baf2e314/inuse.info
@@ -83,8 +83,8 @@ hdfs dfs -D "fs.default.name=hdfs://mycluster/" -mkdir /temp
8383

8484
You see the following error when you run the command:
8585

86-
```apache
87-
hdiuser@hn0-spark2:~$ hdfs dfs -D "fs.default.name=hdfs://mycluster/" -mkdir /temp
86+
```output
87+
hdfs dfs -D "fs.default.name=hdfs://mycluster/" -mkdir /temp
8888
17/04/05 16:20:52 WARN retry.RetryInvocationHandler: Exception while invoking ClientNamenodeProtocolTranslatorPB.mkdirs over hn0-spark2.2oyzcdm4sfjuzjmj5dnmvscjpg.dx.internal.cloudapp.net/10.0.0.22:8020. Not retrying because try once and fail.
8989
org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.namenode.SafeModeException): Cannot create directory /temp. Name node is in safe mode.
9090
It was turned on manually. Use "hdfs dfsadmin -safemode leave" to turn safe mode off.
@@ -143,12 +143,12 @@ The HDInsight cluster has been scaled down to a very few nodes. The number of no
143143

144144
1. Get the status of HDFS on the HDInsight cluster by using the following commands:
145145

146-
```apache
146+
```bash
147147
hdfs dfsadmin -D "fs.default.name=hdfs://mycluster/" -report
148148
```
149149

150-
```apache
151-
hdiuser@hn0-spark2:~$ hdfs dfsadmin -D "fs.default.name=hdfs://mycluster/" -report
150+
```output
151+
hdfs dfsadmin -D "fs.default.name=hdfs://mycluster/" -report
152152
Safe mode is ON
153153
Configured Capacity: 3372381241344 (3.07 TB)
154154
Present Capacity: 3138625077248 (2.85 TB)
@@ -184,11 +184,11 @@ The HDInsight cluster has been scaled down to a very few nodes. The number of no
184184

185185
2. Check the integrity of HDFS on the HDInsight cluster by using the following commands:
186186

187-
```apache
188-
hdiuser@hn0-spark2:~$ hdfs fsck -D "fs.default.name=hdfs://mycluster/" /
187+
```bash
188+
hdfs fsck -D "fs.default.name=hdfs://mycluster/" /
189189
```
190190

191-
```apache
191+
```output
192192
Connecting to namenode via http://hn0-spark2.2oyzcdm4sfjuzjmj5dnmvscjpg.dx.internal.cloudapp.net:30070/fsck?ugi=hdiuser&path=%2F
193193
FSCK started by hdiuser (auth:SIMPLE) from /10.0.0.22 for path / at Wed Apr 05 16:40:28 UTC 2017
194194
....................................................................................................

articles/hdinsight/kafka/apache-kafka-get-started.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ To create an Apache Kafka on HDInsight cluster, use the following steps:
118118

119119
Once connected, you see information similar to the following text:
120120

121-
```text
121+
```output
122122
Authorized uses only. All activity may be monitored and reported.
123123
Welcome to Ubuntu 16.04.4 LTS (GNU/Linux 4.13.0-1011-azure x86_64)
124124
@@ -136,7 +136,6 @@ To create an Apache Kafka on HDInsight cluster, use the following steps:
136136
Welcome to Apache Kafka on HDInsight.
137137
138138
Last login: Thu Mar 29 13:25:27 2018 from 108.252.109.241
139-
ssuhuser@hn0-mykafk:~$
140139
```
141140

142141
## <a id="getkafkainfo"></a>Get the Apache Zookeeper and Broker host information

articles/hdinsight/kafka/apache-kafka-quickstart-powershell.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ If you plan to use more than 32 worker nodes (either at cluster creation or by s
147147

148148
Once connected, you see information similar to the following text:
149149

150-
```text
150+
```output
151151
Authorized uses only. All activity may be monitored and reported.
152152
Welcome to Ubuntu 16.04.4 LTS (GNU/Linux 4.13.0-1011-azure x86_64)
153153
@@ -166,7 +166,6 @@ Welcome to Ubuntu 16.04.4 LTS (GNU/Linux 4.13.0-1011-azure x86_64)
166166
Welcome to Kafka on HDInsight.
167167
168168
Last login: Thu Mar 29 13:25:27 2018 from 108.252.109.241
169-
ssuhuser@hn0-mykafk:~$
170169
```
171170

172171
## <a id="getkafkainfo"></a>Get the Apache Zookeeper and Broker host information

articles/hdinsight/kafka/apache-kafka-quickstart-resource-manager-template.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ An SSH client. For more information, see [Connect to HDInsight (Apache Hadoop) u
6363

6464
Once connected, you see information similar to the following text:
6565

66-
```text
66+
```output
6767
Authorized uses only. All activity may be monitored and reported.
6868
Welcome to Ubuntu 16.04.4 LTS (GNU/Linux 4.13.0-1011-azure x86_64)
6969
@@ -81,7 +81,6 @@ An SSH client. For more information, see [Connect to HDInsight (Apache Hadoop) u
8181
Welcome to Kafka on HDInsight.
8282
8383
Last login: Thu Mar 29 13:25:27 2018 from 108.252.109.241
84-
ssuhuser@hn0-mykafk:~$
8584
```
8685

8786
## <a id="getkafkainfo"></a>Get the Apache Zookeeper and Broker host information

0 commit comments

Comments
 (0)