<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Canary test failed to write file in directory /tmp/.cloudera_health_monitoring_canary_files in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Canary-test-failed-to-write-file-in-directory-tmp-cloudera/m-p/64378#M47434</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Getting frequent alerts on HDFS health test.&amp;nbsp;Canary test failed to write file in directory /tmp/.cloudera_health_monitoring_canary_files. Checked the permissions, everything seems to be good and I could see files being created as well.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Feb 2018 10:04:20 GMT</pubDate>
    <dc:creator>Rajukiran</dc:creator>
    <dc:date>2018-02-06T10:04:20Z</dc:date>
    <item>
      <title>Canary test failed to write file in directory /tmp/.cloudera_health_monitoring_canary_files</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Canary-test-failed-to-write-file-in-directory-tmp-cloudera/m-p/64378#M47434</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Getting frequent alerts on HDFS health test.&amp;nbsp;Canary test failed to write file in directory /tmp/.cloudera_health_monitoring_canary_files. Checked the permissions, everything seems to be good and I could see files being created as well.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 10:04:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Canary-test-failed-to-write-file-in-directory-tmp-cloudera/m-p/64378#M47434</guid>
      <dc:creator>Rajukiran</dc:creator>
      <dc:date>2018-02-06T10:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Canary test failed to write file in directory /tmp/.cloudera_health_monitoring_canary_files</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Canary-test-failed-to-write-file-in-directory-tmp-cloudera/m-p/64390#M47435</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/24257"&gt;@Rajukiran&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check the logs for more information:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Service Monitor (/var/log/cloudera-scm-firehose/*SERVICE* file)... look at the latest one.&amp;nbsp; Service Monitor initiates the canary test, so if it fails, there is likely more information or a stack trace&lt;/LI&gt;&lt;LI&gt;Active NameNode (/var/log/hadoop-hdfs/*NAMENODE* file).&amp;nbsp; Look at the time the failure was logged in the Service Monitor log and then go look at the NameNode log on the active namenode host at the same time.&amp;nbsp; If HDFS returned an error, then its hould be logged there too.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 06 Feb 2018 17:04:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Canary-test-failed-to-write-file-in-directory-tmp-cloudera/m-p/64390#M47435</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2018-02-06T17:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Canary test failed to write file in directory /tmp/.cloudera_health_monitoring_canary_files</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Canary-test-failed-to-write-file-in-directory-tmp-cloudera/m-p/64394#M47436</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did check the logs and this what I found,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Failed to write to /tmp/.cloudera_health_monitoring_canary_files/.canary_file_2018_02_06-12_35_43. Error: org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /tmp/.cloudera_health_monitoring_canary_files/.canary_file_2018_02_06-12_35_43 could only be replicated to 0 nodes instead of minReplication (=1).  There are 3 datanode(s) running and 3 node(s) are excluded in this operation.
	at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.chooseTarget4NewBlock(BlockManager.java:1724)
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:3442)
	at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.addBlock(NameNodeRpcServer.java:686)
	at org.apache.hadoop.hdfs.server.namenode.AuthorizationProviderProxyClientProtocol.addBlock(AuthorizationProviderProxyClientProtocol.java:217)
	at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.addBlock(ClientNamenodeProtocolServerSideTranslatorPB.java:506)
	at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
	at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:617)
	at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1073)
	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2226)
	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2222)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:422)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1917)
	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2220)&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Feb 2018 17:37:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Canary-test-failed-to-write-file-in-directory-tmp-cloudera/m-p/64394#M47436</guid>
      <dc:creator>Rajukiran</dc:creator>
      <dc:date>2018-02-06T17:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Canary test failed to write file in directory /tmp/.cloudera_health_monitoring_canary_files</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Canary-test-failed-to-write-file-in-directory-tmp-cloudera/m-p/64395#M47437</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/24257"&gt;@Rajukiran&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That indicates that there is something wrong in HDFS.&amp;nbsp; The client could not write out blocks since there were no available DataNodes.&amp;nbsp; I would check the health of your NameNode via the NameNode Web UI and verify that it shows the DataNodes are up and heartbeating.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, try using the command line to write a file to HDFS and see if you have a similar problem.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 17:40:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Canary-test-failed-to-write-file-in-directory-tmp-cloudera/m-p/64395#M47437</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2018-02-06T17:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Canary test failed to write file in directory /tmp/.cloudera_health_monitoring_canary_files</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Canary-test-failed-to-write-file-in-directory-tmp-cloudera/m-p/64592#M47438</link>
      <description>&lt;P&gt;The issue was with java heap space on the data nodes. Increasing the java heap space based on the data node block size resolved the issue.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 08:07:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Canary-test-failed-to-write-file-in-directory-tmp-cloudera/m-p/64592#M47438</guid>
      <dc:creator>Rajukiran</dc:creator>
      <dc:date>2018-02-14T08:07:23Z</dc:date>
    </item>
  </channel>
</rss>

