<?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 Re: Issue with Log4j.properties file on HDFS starting in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-Log4j-properties-file-on-HDFS-starting/m-p/54476#M1659</link>
    <description>&lt;P&gt;I am having the same problem! Where did you change the name of the server exactly? Can you please give more details?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Sun, 07 May 2017 19:10:48 GMT</pubDate>
    <dc:creator>rdmar</dc:creator>
    <dc:date>2017-05-07T19:10:48Z</dc:date>
    <item>
      <title>Issue with Log4j.properties file on HDFS starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-Log4j-properties-file-on-HDFS-starting/m-p/11452#M1653</link>
      <description>&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;I'm facing an issue with HDFS starting.&lt;/P&gt;&lt;P&gt;I installed CDH5 with 3 servers. I put 2 of them as Datanodes.&lt;/P&gt;&lt;P&gt;When i try to launch HDFS service on datanode servers i got the error bellow (stderr):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;+ '[' -e /var/run/cloudera-scm-agent/process/317-hdfs-DATANODE/topology.py ']'
+ '[' -e /var/run/cloudera-scm-agent/process/317-hdfs-DATANODE/log4j.properties ']'
+ perl -pi -e 's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/317-hdfs-DATANODE#g' /var/run/cloudera-scm-agent/process/317-hdfs-DATANODE/log4j.properties
++ find /var/run/cloudera-scm-agent/process/317-hdfs-DATANODE -maxdepth 1 -name '*.py'
+ OUTPUT=
+ '[' '' '!=' '' ']'
+ '[' DATANODE_MAX_LOCKED_MEMORY '!=' '' ']'
+ ulimit -l
+ export HADOOP_IDENT_STRING=hdfs
+ HADOOP_IDENT_STRING=hdfs
+ '[' -n '' ']'
+ acquire_kerberos_tgt hdfs.keytab
+ '[' -z hdfs.keytab ']'
+ '[' -n '' ']'
+ '[' validate-writable-empty-dirs = datanode ']'
+ '[' file-operation = datanode ']'
+ '[' bootstrap = datanode ']'
+ '[' failover = datanode ']'
+ '[' transition-to-active = datanode ']'
+ '[' initializeSharedEdits = datanode ']'
+ '[' initialize-znode = datanode ']'
+ '[' format-namenode = datanode ']'
+ '[' monitor-decommission = datanode ']'
+ '[' jnSyncWait = datanode ']'
+ '[' nnRpcWait = datanode ']'
+ '[' monitor-upgrade = datanode ']'
+ '[' finalize-upgrade = datanode ']'
+ '[' mkdir = datanode ']'
+ '[' nfs3 = datanode ']'
+ '[' namenode = datanode -o secondarynamenode = datanode -o datanode = datanode ']'
+ HADOOP_OPTS='-Dsecurity.audit.logger=INFO,RFAS -Djava.net.preferIPv4Stack=true '
+ export 'HADOOP_OPTS=-Dhdfs.audit.logger=INFO,RFAAUDIT -Dsecurity.audit.logger=INFO,RFAS -Djava.net.preferIPv4Stack=true '
+ HADOOP_OPTS='-Dhdfs.audit.logger=INFO,RFAAUDIT -Dsecurity.audit.logger=INFO,RFAS -Djava.net.preferIPv4Stack=true '
+ exec /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-hdfs/bin/hdfs --config /var/run/cloudera-scm-agent/process/317-hdfs-DATANODE datanode
log4j:ERROR Could not find value for key log4j.appender.EventCounter
log4j:ERROR Could not instantiate appender named "EventCounter".&lt;/PRE&gt;&lt;P&gt;I check the parcels folders of HDFS to see if EvenCounter as well configurer and it does...&lt;/P&gt;&lt;P&gt;Do you know how to fix that ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit:&amp;nbsp;&lt;A target="_blank" href="http://pastebin.com/jKwY1JXv"&gt;http://pastebin.com/jKwY1JXv&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NicolasY.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2014 11:50:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-Log4j-properties-file-on-HDFS-starting/m-p/11452#M1653</guid>
      <dc:creator>NicolasY</dc:creator>
      <dc:date>2014-04-29T11:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Log4j.properties file on HDFS starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-Log4j-properties-file-on-HDFS-starting/m-p/11868#M1654</link>
      <description>This error is harmless and should not be causing your DataNode any issues. Can you check your DN logs instead for an actual error, if it is not starting up?</description>
      <pubDate>Sat, 03 May 2014 15:22:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-Log4j-properties-file-on-HDFS-starting/m-p/11868#M1654</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2014-05-03T15:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Log4j.properties file on HDFS starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-Log4j-properties-file-on-HDFS-starting/m-p/12000#M1655</link>
      <description>&lt;P&gt;Hi Hars,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find the today's log from one of both DN concerned. (&lt;A title="Log DN" target="_self" href="http://pastebin.com/YEXZkVqf"&gt;Log DN&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can see an FATAL message about BindException : Cannot Assigned requested address.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.2;"&gt;Thanks again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NicolasY&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2014 13:48:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-Log4j-properties-file-on-HDFS-starting/m-p/12000#M1655</guid>
      <dc:creator>NicolasY</dc:creator>
      <dc:date>2014-05-05T13:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Log4j.properties file on HDFS starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-Log4j-properties-file-on-HDFS-starting/m-p/12056#M1656</link>
      <description>Seems to be caused by the server name. I changed it and node are working normally.&lt;BR /&gt;&lt;BR /&gt;BR&lt;BR /&gt;&lt;BR /&gt;NicolasY.&lt;BR /&gt;</description>
      <pubDate>Tue, 06 May 2014 11:24:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-Log4j-properties-file-on-HDFS-starting/m-p/12056#M1656</guid>
      <dc:creator>NicolasY</dc:creator>
      <dc:date>2014-05-06T11:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Log4j.properties file on HDFS starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-Log4j-properties-file-on-HDFS-starting/m-p/12070#M1657</link>
      <description>Thanks for following up with your found solution Nicolas! Indeed a bind(…) syscall would fail if the resolved address asked of it is not found among local interfaces.</description>
      <pubDate>Tue, 06 May 2014 14:49:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-Log4j-properties-file-on-HDFS-starting/m-p/12070#M1657</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2014-05-06T14:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Log4j.properties file on HDFS starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-Log4j-properties-file-on-HDFS-starting/m-p/54475#M1658</link>
      <description>&lt;P&gt;I have the same problem! Where did you change the name of the server? Can you please give more details?&lt;/P&gt;</description>
      <pubDate>Sun, 07 May 2017 19:04:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-Log4j-properties-file-on-HDFS-starting/m-p/54475#M1658</guid>
      <dc:creator>rdmar</dc:creator>
      <dc:date>2017-05-07T19:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Log4j.properties file on HDFS starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-Log4j-properties-file-on-HDFS-starting/m-p/54476#M1659</link>
      <description>&lt;P&gt;I am having the same problem! Where did you change the name of the server exactly? Can you please give more details?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Sun, 07 May 2017 19:10:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-Log4j-properties-file-on-HDFS-starting/m-p/54476#M1659</guid>
      <dc:creator>rdmar</dc:creator>
      <dc:date>2017-05-07T19:10:48Z</dc:date>
    </item>
  </channel>
</rss>

