You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
68
-
org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.namenode.SafeModeException): Cannot create directory /temp. Name node is in safe mode.
69
-
It was turned on manually. Use "hdfs dfsadmin -safemode leave" to turn safe mode off.
70
-
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkNameNodeSafeMode(FSNamesystem.java:1359)
71
-
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirs(FSNamesystem.java:4010)
72
-
at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.mkdirs(NameNodeRpcServer.java:1102)
73
-
at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.mkdirs(ClientNamenodeProtocolServerSideTranslatorPB.java:630)
74
-
at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
75
-
at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:640)
76
-
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:982)
77
-
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2313)
78
-
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2309)
79
-
at java.security.AccessController.doPrivileged(Native Method)
80
-
at javax.security.auth.Subject.doAs(Subject.java:422)
81
-
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1724)
82
-
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2307)
83
-
at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1552)
84
-
at org.apache.hadoop.ipc.Client.call(Client.java:1496)
85
-
at org.apache.hadoop.ipc.Client.call(Client.java:1396)
86
-
at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:233)
87
-
at com.sun.proxy.$Proxy10.mkdirs(Unknown Source)
88
-
at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.mkdirs(ClientNamenodeProtocolTranslatorPB.java:603)
89
-
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
90
-
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
91
-
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
92
-
at java.lang.reflect.Method.invoke(Method.java:498)
93
-
at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:278)
94
-
at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:194)
95
-
at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:176)
96
-
at com.sun.proxy.$Proxy11.mkdirs(Unknown Source)
97
-
at org.apache.hadoop.hdfs.DFSClient.primitiveMkdir(DFSClient.java:3061)
98
-
at org.apache.hadoop.hdfs.DFSClient.mkdirs(DFSClient.java:3031)
99
-
at org.apache.hadoop.hdfs.DistributedFileSystem$24.doCall(DistributedFileSystem.java:1162)
100
-
at org.apache.hadoop.hdfs.DistributedFileSystem$24.doCall(DistributedFileSystem.java:1158)
101
-
at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
102
-
at org.apache.hadoop.hdfs.DistributedFileSystem.mkdirsInternal(DistributedFileSystem.java:1158)
103
-
at org.apache.hadoop.hdfs.DistributedFileSystem.mkdirs(DistributedFileSystem.java:1150)
104
-
at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1898)
105
-
at org.apache.hadoop.fs.shell.Mkdir.processNonexistentPath(Mkdir.java:76)
106
-
at org.apache.hadoop.fs.shell.Command.processArgument(Command.java:273)
107
-
at org.apache.hadoop.fs.shell.Command.processArguments(Command.java:255)
108
-
at org.apache.hadoop.fs.shell.FsCommand.processRawArguments(FsCommand.java:119)
109
-
at org.apache.hadoop.fs.shell.Command.run(Command.java:165)
110
-
at org.apache.hadoop.fs.FsShell.run(FsShell.java:297)
111
-
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
112
-
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90)
113
-
at org.apache.hadoop.fs.FsShell.main(FsShell.java:350)
114
-
mkdir: Cannot create directory /temp. Name node is in safe mode.
115
-
```
116
-
117
-
### Probable cause
118
-
119
-
The HDInsight cluster has been scaled down to a very few nodes. The number of nodes is below or close to the HDFS replication factor.
120
-
121
-
### Resolution steps
122
-
123
-
1. Get the status of the HDFS on the HDInsight cluster by running the following commands:
Total symlinks: 0 (Files currently being written: 2)
181
-
Total blocks (validated): 2535 (avg. block size 3680686 B)
182
-
Minimally replicated blocks: 2535 (100.0 %)
183
-
Over-replicated blocks: 0 (0.0 %)
184
-
Under-replicated blocks: 0 (0.0 %)
185
-
Mis-replicated blocks: 0 (0.0 %)
186
-
Default replication factor: 3
187
-
Average block replication: 3.0
188
-
Corrupt blocks: 0
189
-
Missing replicas: 0 (0.0 %)
190
-
Number of data-nodes: 8
191
-
Number of racks: 1
192
-
FSCK ended at Wed Apr 05 16:40:28 UTC 2017 in 187 milliseconds
193
-
194
-
The filesystem under path '/' is HEALTHY
195
-
```
196
-
197
-
3. If you determine that there are no missing, corrupt, or under-replicated blocks, or that those blocks can be ignored, run the following command to take the name node out of safe mode:
Copy file name to clipboardExpand all lines: articles/hdinsight/hdinsight-troubleshoot-guide.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ ms.date: 05/29/2019
13
13
14
14
| Apache workload | Top questions |
15
15
|---|---|
16
-
|<br>[Troubleshoot Apache HBase](hbase/apache-troubleshoot-hbase.md)|<br>[How do I run hbck command reports with multiple unassigned regions?](hbase/apache-troubleshoot-hbase.md#how-do-i-run-hbck-command-reports-with-multiple-unassigned-regions)<br><br>[How do I fix timeout issues when using hbck commands for region assignments?](hbase/apache-troubleshoot-hbase.md#how-do-i-fix-timeout-issues-with-hbck-commands-for-region-assignments)<br><br>[How do I force-disable HDFS safe mode on a cluster?](hbase/apache-troubleshoot-hbase.md#how-do-i-force-disable-hdfs-safe-mode-in-a-cluster)<br><br>[How do I fix JDBC or SQLLine connectivity issues with Apache Phoenix?](hbase/apache-troubleshoot-hbase.md#how-do-i-fix-jdbc-or-sqlline-connectivity-issues-with-apache-phoenix)<br><br>[What causes a master server to fail to start?](hbase/apache-troubleshoot-hbase.md#what-causes-a-master-server-to-fail-to-start)<br><br>[What causes a restart failure on a region server?](hbase/apache-troubleshoot-hbase.md#what-causes-a-restart-failure-on-a-region-server)|
16
+
|<br>[Troubleshoot Apache HBase](hbase/apache-troubleshoot-hbase.md)|<br>[How do I run hbck command reports with multiple unassigned regions?](hbase/apache-troubleshoot-hbase.md#how-do-i-run-hbck-command-reports-with-multiple-unassigned-regions)<br><br>[How do I fix timeout issues when using hbck commands for region assignments?](hbase/apache-troubleshoot-hbase.md#how-do-i-fix-timeout-issues-with-hbck-commands-for-region-assignments)<br><br>[How do I fix JDBC or SQLLine connectivity issues with Apache Phoenix?](hbase/apache-troubleshoot-hbase.md#how-do-i-fix-jdbc-or-sqlline-connectivity-issues-with-apache-phoenix)<br><br>[What causes a master server to fail to start?](hbase/apache-troubleshoot-hbase.md#what-causes-a-master-server-to-fail-to-start)<br><br>[What causes a restart failure on a region server?](hbase/apache-troubleshoot-hbase.md#what-causes-a-restart-failure-on-a-region-server)|
17
17
|<br>[Troubleshoot Apache Hadoop HDFS](hdinsight-troubleshoot-hdfs.md)|<br>[How do I access a local HDFS from inside a cluster?](hdinsight-troubleshoot-hdfs.md#how-do-i-access-local-hdfs-from-inside-a-cluster)<br><br>[How do I force-disable HDFS safe mode on a cluster?](hdinsight-troubleshoot-hdfs.md#how-do-i-force-disable-hdfs-safe-mode-in-a-cluster)|
18
18
|<br>[Troubleshoot Apache Hive](hdinsight-troubleshoot-hive.md)|<br>[How do I export a Hive metastore and import it on another cluster?](hdinsight-troubleshoot-hive.md#how-do-i-export-a-hive-metastore-and-import-it-on-another-cluster)<br><br>[How do I locate Apache Hive logs on a cluster?](hdinsight-troubleshoot-hive.md#how-do-i-locate-hive-logs-on-a-cluster)<br><br>[How do I launch the Apache Hive shell with specific configurations on a cluster?](hdinsight-troubleshoot-hive.md#how-do-i-launch-the-hive-shell-with-specific-configurations-on-a-cluster)<br><br>[How do I analyze Apache Tez DAG data on a cluster-critical path?](hdinsight-troubleshoot-hive.md#how-do-i-analyze-tez-dag-data-on-a-cluster-critical-path)<br><br>[How do I download Apache Tez DAG data from a cluster?](hdinsight-troubleshoot-hive.md#how-do-i-download-tez-dag-data-from-a-cluster)|
19
19
|<br>[Troubleshoot Apache Spark](hdinsight-troubleshoot-SPARK.md)|<br>[How do I configure an Apache Spark application by using Apache Ambari on clusters?](spark/apache-troubleshoot-spark.md#how-do-i-configure-an-apache-spark-application-by-using-apache-ambari-on-clusters)<br><br>[How do I configure an Apache Spark application by using a Jupyter notebook on clusters?](spark/apache-troubleshoot-spark.md#how-do-i-configure-an-apache-spark-application-by-using-a-jupyter-notebook-on-clusters)<br><br>[How do I configure an Apache Spark application by using Apache Livy on clusters?](spark/apache-troubleshoot-spark.md#how-do-i-configure-an-apache-spark-application-by-using-apache-livy-on-clusters)<br><br>[How do I configure an Apache Spark application by using spark-submit on clusters?](spark/apache-troubleshoot-spark.md#how-do-i-configure-an-apache-spark-application-by-using-spark-submit-on-clusters)<br><br>[How do I configure an Apache Spark application by using IntelliJ?](spark/apache-spark-intellij-tool-plugin.md)<br><br>[How do I configure an Apache Spark application by using Eclipse?](spark/apache-spark-eclipse-tool-plugin.md)<br><br>[How do I configure an Apache Spark application by using VSCode?](hdinsight-for-vscode.md)<br><br>[What causes an Apache Spark application OutOfMemoryError exception?](spark/apache-troubleshoot-spark.md#what-causes-an-apache-spark-application-outofmemoryerror-exception)|
Copy file name to clipboardExpand all lines: articles/hdinsight/hdinsight-troubleshoot-hdfs.md
+21-18Lines changed: 21 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
-
title: Troubleshoot HDFS in Azure HDinsight
2
+
title: Troubleshoot HDFS in Azure HDInsight
3
3
description: Get answers to common questions about working with HDFS and Azure HDInsight.
4
4
author: hrasheed-msft
5
5
ms.author: hrasheed
6
6
ms.service: hdinsight
7
-
ms.topic: conceptual
8
-
ms.date: 12/06/2018
7
+
ms.topic: troubleshooting
8
+
ms.date: 08/14/2019
9
9
ms.custom: seodec18
10
10
---
11
11
@@ -71,17 +71,13 @@ Access the local HDFS from the command line and application code instead of by u
71
71
72
72
### Issue
73
73
74
-
The local HDFS is stuck in safe mode on the HDInsight cluster.
74
+
The local Apache Hadoop Distributed File System (HDFS) is stuck in safe mode on the HDInsight cluster. Failure occurs when you run the following HDFS command:
75
75
76
-
### Detailed description
77
-
78
-
Failure occurs when you run the following HDFS command:
@@ -215,11 +211,18 @@ The HDInsight cluster has been scaled down to a very few nodes. The number of no
215
211
The filesystem under path '/' is HEALTHY
216
212
```
217
213
218
-
3. If you determine that there are no missing, corrupt, or under-replicated blocks, or that those blocks can be ignored, run the following command to take the name node out of safe mode:
214
+
1. If you determine that there are no missing, corrupt, or under-replicated blocks, or that those blocks can be ignored, run the following command to take the name node out of safe mode:
[Troubleshoot by Using Azure HDInsight](hdinsight-troubleshoot-guide.md)
220
+
## Next steps
221
+
222
+
If you didn't see your problem or are unable to solve your issue, visit one of the following channels for more support:
223
+
224
+
* Get answers from Azure experts through [Azure Community Support](https://azure.microsoft.com/support/community/).
225
+
226
+
* Connect with [@AzureSupport](https://twitter.com/azuresupport) - the official Microsoft Azure account for improving customer experience. Connecting the Azure community to the right resources: answers, support, and experts.
227
+
228
+
* If you need more help, you can submit a support request from the [Azure portal](https://portal.azure.com/?#blade/Microsoft_Azure_Support/HelpAndSupportBlade/). Select **Support** from the menu bar or open the **Help + support** hub. For more detailed information, review [How to create an Azure support request](https://docs.microsoft.com/azure/azure-supportability/how-to-create-azure-support-request). Access to Subscription Management and billing support is included with your Microsoft Azure subscription, and Technical Support is provided through one of the [Azure Support Plans](https://azure.microsoft.com/support/plans/).
0 commit comments