FAQ
Hi

We have using CM 4.0.4, we have problem with Decommissioning node.

Finally we find issue in CM
https://ccp.cloudera.com/display/FREE4DOC/Known+Issues+and+Work+Arounds+in+Cloudera+Manager+Free+Edition+4.0

My problem with My namenode process id 18241, I can't find any folder in
/var/run/cloudera-scm-agent/process folder.

root@dvcliftonhera122:/var/log/hadoop-hdfs# ps -aux | grep namenode
Warning: bad ps syntax, perhaps a bogus '-'? See
http://procps.sf.net/faq.html
root 8307 0.0 0.0 9376 940 pts/2 S+ 09:18 0:00 grep
--color=auto namenode
hdfs 18241 16.7 17.5 16785868 11583720 ? Sl 00:45 85:44
/usr/lib/jvm/j2sdk1.6-oracle/jre/bin/java -Dproc_namenode -Xmx3072m
-Dhdfs.audit.logger=INFO,RFAAUDIT -Dsecurity.audit.logger=INFO,RFAS
-Djava.net.preferIPv4Stack=true -Dhadoop.log.dir=/var/log/hadoop-hdfs
-Dhadoop.log.file=hadoop-cmf-hdfs1-NAMENODE-dvcliftonhera122.log.out
-Dhadoop.home.dir=/usr/lib/hadoop -Dhadoop.id.str=hdfs
-Dhadoop.root.logger=INFO,RFA
-Djava.library.path=/usr/lib/hadoop/lib/native
-Dhadoop.policy.file=hadoop-policy.xml -Djava.net.preferIPv4Stack=true
-Xmx16106127360 -Dhadoop.security.logger=INFO,RFAS
org.apache.hadoop.hdfs.server.namenode.NameNode

root@dvcliftonhera122:/var/run/cloudera-scm-agent/process# ls -ltr | grep
18241
root@dvcliftonhera122:/var/run/cloudera-scm-agent/process#

Please guide me.


Did I learn something today? If not, I wasted it.

Search Discussions

  • Philip Zeyliger at Feb 5, 2013 at 4:27 pm
    Hi Dhanasekaran,

    The easiest way to find the working directory of a process is to "ls -ld
    /proc/18241/cwd". See 'man 5 proc' for more details (search for "cwd").

    I apologize for the docs you found not being clear about how to find the
    process number.

    Hope this helps,

    -- Philip


    On Tue, Feb 5, 2013 at 6:42 AM, Dhanasekaran Anbalagan
    wrote:
    Hi

    We have using CM 4.0.4, we have problem with Decommissioning node.

    Finally we find issue in CM
    https://ccp.cloudera.com/display/FREE4DOC/Known+Issues+and+Work+Arounds+in+Cloudera+Manager+Free+Edition+4.0

    My problem with My namenode process id 18241, I can't find any folder in
    /var/run/cloudera-scm-agent/process folder.

    root@dvcliftonhera122:/var/log/hadoop-hdfs# ps -aux | grep namenode
    Warning: bad ps syntax, perhaps a bogus '-'? See
    http://procps.sf.net/faq.html
    root 8307 0.0 0.0 9376 940 pts/2 S+ 09:18 0:00 grep
    --color=auto namenode
    hdfs 18241 16.7 17.5 16785868 11583720 ? Sl 00:45 85:44
    /usr/lib/jvm/j2sdk1.6-oracle/jre/bin/java -Dproc_namenode -Xmx3072m
    -Dhdfs.audit.logger=INFO,RFAAUDIT -Dsecurity.audit.logger=INFO,RFAS
    -Djava.net.preferIPv4Stack=true -Dhadoop.log.dir=/var/log/hadoop-hdfs
    -Dhadoop.log.file=hadoop-cmf-hdfs1-NAMENODE-dvcliftonhera122.log.out
    -Dhadoop.home.dir=/usr/lib/hadoop -Dhadoop.id.str=hdfs
    -Dhadoop.root.logger=INFO,RFA
    -Djava.library.path=/usr/lib/hadoop/lib/native
    -Dhadoop.policy.file=hadoop-policy.xml -Djava.net.preferIPv4Stack=true
    -Xmx16106127360 -Dhadoop.security.logger=INFO,RFAS
    org.apache.hadoop.hdfs.server.namenode.NameNode

    root@dvcliftonhera122:/var/run/cloudera-scm-agent/process# ls -ltr | grep
    18241
    root@dvcliftonhera122:/var/run/cloudera-scm-agent/process#

    Please guide me.


    Did I learn something today? If not, I wasted it.
  • Dhanasekaran Anbalagan at Feb 5, 2013 at 4:38 pm
    Hi Philip,

    Thanks I understand the working directory of the process.

    -Dhanasekaran.

    Did I learn something today? If not, I wasted it.

    On Tue, Feb 5, 2013 at 11:27 AM, Philip Zeyliger wrote:

    Hi Dhanasekaran,

    The easiest way to find the working directory of a process is to "ls -ld
    /proc/18241/cwd". See 'man 5 proc' for more details (search for "cwd").

    I apologize for the docs you found not being clear about how to find the
    process number.

    Hope this helps,

    -- Philip


    On Tue, Feb 5, 2013 at 6:42 AM, Dhanasekaran Anbalagan <bugcy013@gmail.com
    wrote:
    Hi

    We have using CM 4.0.4, we have problem with Decommissioning node.

    Finally we find issue in CM
    https://ccp.cloudera.com/display/FREE4DOC/Known+Issues+and+Work+Arounds+in+Cloudera+Manager+Free+Edition+4.0

    My problem with My namenode process id 18241, I can't find any folder in
    /var/run/cloudera-scm-agent/process folder.

    root@dvcliftonhera122:/var/log/hadoop-hdfs# ps -aux | grep namenode
    Warning: bad ps syntax, perhaps a bogus '-'? See
    http://procps.sf.net/faq.html
    root 8307 0.0 0.0 9376 940 pts/2 S+ 09:18 0:00 grep
    --color=auto namenode
    hdfs 18241 16.7 17.5 16785868 11583720 ? Sl 00:45 85:44
    /usr/lib/jvm/j2sdk1.6-oracle/jre/bin/java -Dproc_namenode -Xmx3072m
    -Dhdfs.audit.logger=INFO,RFAAUDIT -Dsecurity.audit.logger=INFO,RFAS
    -Djava.net.preferIPv4Stack=true -Dhadoop.log.dir=/var/log/hadoop-hdfs
    -Dhadoop.log.file=hadoop-cmf-hdfs1-NAMENODE-dvcliftonhera122.log.out
    -Dhadoop.home.dir=/usr/lib/hadoop -Dhadoop.id.str=hdfs
    -Dhadoop.root.logger=INFO,RFA
    -Djava.library.path=/usr/lib/hadoop/lib/native
    -Dhadoop.policy.file=hadoop-policy.xml -Djava.net.preferIPv4Stack=true
    -Xmx16106127360 -Dhadoop.security.logger=INFO,RFAS
    org.apache.hadoop.hdfs.server.namenode.NameNode

    root@dvcliftonhera122:/var/run/cloudera-scm-agent/process# ls -ltr |
    grep 18241
    root@dvcliftonhera122:/var/run/cloudera-scm-agent/process#

    Please guide me.


    Did I learn something today? If not, I wasted it.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedFeb 5, '13 at 2:42p
activeFeb 5, '13 at 4:38p
posts3
users2
websitecloudera.com
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase