<?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>topic Re: cldb.pid exists with pid 11461 but no CLDB in HPE Ezmeral Software platform</title>
    <link>https://community.hpe.com/t5/hpe-ezmeral-software-platform/cldb-pid-exists-with-pid-11461-but-no-cldb/m-p/7197442#M466</link>
    <description>&lt;P&gt;With the help of&amp;nbsp;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/2153260"&gt;@Mirza12332&lt;/a&gt;&amp;nbsp;,The solution is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Stop all MapR processes on the node by stopping mapr-warden, kill the remaining stuck/unresponsive processes, if necessary.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;cd /opt/mapr/initscripts&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;stop warden and cldb services&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Clean up all pid files:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;sudo rm-f /opt/mapr/pid&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Then start mapr-warden.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Keep in mind that the only initscripts MapR supports are &lt;STRONG&gt;mapr-warden&lt;/STRONG&gt; and &lt;STRONG&gt;mapr-zookeeper.&lt;/STRONG&gt; The others are wrappers for warden.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Sep 2023 09:42:21 GMT</pubDate>
    <dc:creator>msaidbilgehan</dc:creator>
    <dc:date>2023-09-28T09:42:21Z</dc:date>
    <item>
      <title>cldb.pid exists with pid 11461 but no CLDB</title>
      <link>https://community.hpe.com/t5/hpe-ezmeral-software-platform/cldb-pid-exists-with-pid-11461-but-no-cldb/m-p/7197249#M460</link>
      <description>&lt;P&gt;After shutting down 2 nodes at the OS level and restarting these nodes, the cluster can not communicate with CLDB. I put a few command outputs below and the full cluster logs are in the drive link.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; jps&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;16643 FsShell&lt;BR /&gt;25748 Jps&lt;BR /&gt;16390 FsShell&lt;BR /&gt;24621 CentralConfigCopyHelper&lt;BR /&gt;11533 WardenMain&lt;BR /&gt;2189 QuorumPeerMain&lt;BR /&gt;13327 CLDB&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;gt; sudo /etc/init.d/mapr-cldb status&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;/opt/mapr/pid/cldb.pid exists with pid 11461 but no CLDB.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;nbsp;tail -n 25 /opt/mapr/logs/cldb.log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;mapr@node0:~$ tail -n 25 /opt/mapr/logs/cldb.log
2023-09-26 08:36:05,591 INFO  ZooKeeperClient [main-EventThread]: Setting Cldb Info in ZooKeeper, external Port:7222
2023-09-26 08:36:05,598 INFO  CLDBServer [main-EventThread]: The CLDB received notification that a ZooKeeper event of type None occurred on path null
2023-09-26 08:36:05,603 INFO  CLDBServer [ZK-Connect]: Previous CLDB was not a clean shutdown waiting for 20000ms before attempting to become master
2023-09-26 08:36:05,614 INFO  ECTierManager [main]: Subscribed for EC gateway registration notifications. Current gateways...
2023-09-26 08:36:05,619 INFO  ClusterGroup [Thread-7]: isInited: isClusterGroupDbInited:false, isExternalServerDbInited:false
2023-09-26 08:36:05,619 INFO  ClusterGroup [Thread-7]: isInited: isClusterGroupDbInited:false, isExternalServerDbInited:false
2023-09-26 08:36:07,115 INFO  HttpServer [main]: Disabled algorithms are : TLS_AES_128_GCM_SHA256
2023-09-26 08:36:07,115 INFO  HttpServer [main]: Disabled protocols are : TLSv1.3
2023-09-26 08:36:07,157 INFO  CLDB [main]: CLDBState: CLDB State change : WAIT_FOR_FILESERVERS
2023-09-26 08:36:07,160 INFO  CLDBWatchdog [main]: CLDB memory threshold(heap + non heap) is set to : 8096 MB. Xmx: 4000, Configured Non-Heap: 4096
2023-09-26 08:36:07,161 INFO  CLDB [main]: [Starting RPCServer] port: 7222 num threads: 10 heap size: 4000MB IPGutsShm 32768 startup options: -Xms2400m -Xmx4000m -XX:ErrorFile=/opt/cores/hs_err_pid%p.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/opt/cores -XX:ThreadStackSize=1024
2023-09-26 08:36:07,164 INFO  CLDB [main]: Starting 2 RPC Instances for CLDB
2023-09-26 08:36:07,169 ERROR CLDB [main]: Exception in RPC init
2023-09-26 08:36:07,169 ERROR CLDB [main]: Could not initialize RPC.. aborting
2023-09-26 08:36:22,953 INFO  CLDB [main]: Loading properties file : /opt/mapr/conf/cldb.conf
2023-09-26 08:36:23,297 INFO  CLDBMetrics [main]: Initializing CLDB Metrics with serviceName: cldbServer
2023-09-26 08:36:23,301 INFO  CLDB [main]: CLDBInit: Using hostname file /opt/mapr/hostname and hostid file /opt/mapr/hostid
2023-09-26 08:36:23,302 INFO  CLDB [main]: CLDB Properties from configuration file: num.volmirror.threads=1cldb.numthreads=10cldb.web.https.port=7443cldb.port=7222cldb.detect.dup.hostid.enabled=falsecldb.min.fileservers=1cldb.zookeeper.servers=node0.cluster:5181cldb.web.port=7221enable.replicas.invariant.check=falsecldb.jmxremote.port=7220hadoop.version=3.3.4
2023-09-26 08:36:23,302 INFO  CLDB [main]: CLDB Command line args: /opt/mapr/conf/cldb.conf
2023-09-26 08:36:23,302 INFO  CLDB [main]: CLDBInit: Initializing CLDB
2023-09-26 08:36:23,303 INFO  CLDB [main]: MapR BuildVersion: 7.4.0.0.20230728133744.GA
2023-09-26 08:36:23,303 INFO  CLDB [main]: $Id: mapr-version: 7.4.0.0.20230728133744.GA 9601b852f5443980b667e1a7910c66d39cb84c77 $
2023-09-26 08:36:23,303 INFO  CLDB [main]: CLDBInit: Start CLDBServer
2023-09-26 08:36:23,349 INFO  CLDBServer [main]: CLDBInit: HostName: node0.cluster ServerId: 3977623316996854432
2023-09-26 08:36:23,444 ERROR CLDBServer [main]: Username in ticket file /opt/mapr/conf/maprserverticket doesn't match with cluster owner's username. ticket's user: mapr cluster owner: root

mapr@node0:~$ sudo maprlogin password
[Password for user 'root' at cluster 'cluster.treo.com.tr': ]
MapR credentials of user 'root' for cluster 'cluster.treo.com.tr' are written to '/tmp/maprticket_0'

mapr@node0:~$ sudo /etc/init.d/mapr-cldb stop
CLDB not running.

mapr@node0:~$ sudo /etc/init.d/mapr-cldb start
Starting CLDB, logging to /opt/mapr/logs/cldb.log

mapr@node0:~$ sudo /etc/init.d/mapr-cldb status
/opt/mapr/pid/cldb.pid exists with pid 30042 but no CLDB.

mapr@node0:~$ tail -n 15 /opt/mapr/logs/cldb.log
2023-09-26 08:36:23,303 INFO  CLDB [main]: $Id: mapr-version: 7.4.0.0.20230728133744.GA 9601b852f5443980b667e1a7910c66d39cb84c77 $
2023-09-26 08:36:23,303 INFO  CLDB [main]: CLDBInit: Start CLDBServer
2023-09-26 08:36:23,349 INFO  CLDBServer [main]: CLDBInit: HostName: node0.cluster ServerId: 3977623316996854432
2023-09-26 08:36:23,444 ERROR CLDBServer [main]: Username in ticket file /opt/mapr/conf/maprserverticket doesn't match with cluster owner's username. ticket's user: mapr cluster owner: root
2023-09-26 08:39:28,657 INFO  CLDB [main]: Loading properties file : /opt/mapr/conf/cldb.conf
2023-09-26 08:39:29,008 INFO  CLDBMetrics [main]: Initializing CLDB Metrics with serviceName: cldbServer
2023-09-26 08:39:29,012 INFO  CLDB [main]: CLDBInit: Using hostname file /opt/mapr/hostname and hostid file /opt/mapr/hostid
2023-09-26 08:39:29,013 INFO  CLDB [main]: CLDB Properties from configuration file: num.volmirror.threads=1cldb.numthreads=10cldb.web.https.port=7443cldb.port=7222cldb.detect.dup.hostid.enabled=falsecldb.min.fileservers=1cldb.zookeeper.servers=node0.cluster:5181cldb.web.port=7221enable.replicas.invariant.check=falsecldb.jmxremote.port=7220hadoop.version=3.3.4
2023-09-26 08:39:29,013 INFO  CLDB [main]: CLDB Command line args: /opt/mapr/conf/cldb.conf
2023-09-26 08:39:29,013 INFO  CLDB [main]: CLDBInit: Initializing CLDB
2023-09-26 08:39:29,014 INFO  CLDB [main]: MapR BuildVersion: 7.4.0.0.20230728133744.GA
2023-09-26 08:39:29,014 INFO  CLDB [main]: $Id: mapr-version: 7.4.0.0.20230728133744.GA 9601b852f5443980b667e1a7910c66d39cb84c77 $
2023-09-26 08:39:29,014 INFO  CLDB [main]: CLDBInit: Start CLDBServer
2023-09-26 08:39:29,059 INFO  CLDBServer [main]: CLDBInit: HostName: node0.cluster ServerId: 3977623316996854432
2023-09-26 08:39:29,154 ERROR CLDBServer [main]: Username in ticket file /opt/mapr/conf/maprserverticket doesn't match with cluster owner's username. ticket's user: mapr cluster owner: root&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; tail -n 25 /opt/mapr/logs/cldb.out&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fs/common/daremgr.cc:189: HSM enabled, but DARE key not found on HSM. Check log for details
2023-09-26 09:00:05,8499 :2732 Listen: 2732: bind: error 98 port 7222java.io.IOException: Could not intialize RPC java.io.IOException: Exception in RPC init        at com.mapr.fs.cldb.CLDB.initializeRpcInstances(CLDB.java:179)
        at com.mapr.fs.cldb.CLDB.&amp;lt;init&amp;gt;(CLDB.java:95)
        at com.mapr.fs.cldb.CLDB.main(CLDB.java:411)
CLDBShm: ***shmget with key 7222, size: 70848
CLDBShm created rpc guts shared memory, size 70848

2023-09-26 09:00:06,4176 :1606 Obtained CLDB key from PKCS#11 file store
CLDBJNI: Initializing cldb jni with memory 838860800 estContainerSize:144 maxContainersInCache:5825422 mapr-version: $Id: mapr-version: 7.4.0.0.20230728133744.GA 9601b852f5443980b667e1a7910c66d39cb84c77 $
fs/common/daremgr.cc:189: HSM enabled, but DARE key not found on HSM. Check log for details
2023-09-26 09:00:08,5433 :2732 Listen: 2732: bind: error 98 port 7222java.io.IOException: Could not intialize RPC java.io.IOException: Exception in RPC init        at com.mapr.fs.cldb.CLDB.initializeRpcInstances(CLDB.java:179)
        at com.mapr.fs.cldb.CLDB.&amp;lt;init&amp;gt;(CLDB.java:95)
        at com.mapr.fs.cldb.CLDB.main(CLDB.java:411)
CLDBShm: ***shmget with key 7222, size: 70848
CLDBShm created rpc guts shared memory, size 70848

2023-09-26 09:00:09,1707 :1606 Obtained CLDB key from PKCS#11 file store
CLDBJNI: Initializing cldb jni with memory 838860800 estContainerSize:144 maxContainersInCache:5825422 mapr-version: $Id: mapr-version: 7.4.0.0.20230728133744.GA 9601b852f5443980b667e1a7910c66d39cb84c77 $
fs/common/daremgr.cc:189: HSM enabled, but DARE key not found on HSM. Check log for details
2023-09-26 09:00:11,2179 :2732 Listen: 2732: bind: error 98 port 7222java.io.IOException: Could not intialize RPC java.io.IOException: Exception in RPC init        at com.mapr.fs.cldb.CLDB.initializeRpcInstances(CLDB.java:179)
        at com.mapr.fs.cldb.CLDB.&amp;lt;init&amp;gt;(CLDB.java:95)
        at com.mapr.fs.cldb.CLDB.main(CLDB.java:411)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried the command below to create new serverticket;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;mapr@node0:~$ sudo /opt/mapr/server/configure.sh -N cluster.treo.com.tr -C node0.cluster -Z node0.cluster -secure

Node setup configuration:  apiserver cldb collectd drill-bits drill-internal fileserver gateway grafana hadoop-client hadoop-util hbase hbaserest hbmaster hbregionserver httpfs mastgateway nodemanager resourcemanager s3server spark spark-historyserver spark-thriftserver zookeeper
Log can be found at:  /opt/mapr/logs/configure.log
CLDB node list: node0.cluster:7222
Zookeeper node list: node0.cluster:5181
External Zookeeper node list:
FIPS is not enabled. Verifying JKS, P12 and PEM key and trust stores
ERROR: Required /opt/mapr/conf/ssl_truststore.pem not present. Please copy from first CLDB node.
Configuring nodemanager
Configuring hbase
Configuring collectd
find: paths must precede expression: `/opt/mapr/lib/slf4j-api-1.7.36.jar'
find: possible unquoted pattern after predicate `-regex'?
awk: not an option: -r
awk: not an option: -r
awk: not an option: -r
awk: not an option: -r
awk: not an option: -r
awk: not an option: -r
awk: not an option: -r
Configuring resourcemanager
Configuring hadoop-util
Configuring httpfs
Configuring spark
Configuring hadoop-client
Configuring grafana
usage: /opt/mapr/grafana/grafana-7.5.10/bin/configure.sh [-help] [-nodeCount &amp;lt;cnt&amp;gt;] [-nodePort &amp;lt;port&amp;gt;] [-grafanaPort &amp;lt;port&amp;gt;]
        [-loadDataSourceOnly] [-customSecure] [-secure] [-unsecure] [-EC &amp;lt;commonEcoOpts&amp;gt;]
        [-password &amp;lt;pw&amp;gt;] [-R] -OT "ip:port,ip1:port,"
Configuring drill
OTNodesList:
Configuring apiserver
Running restart script /opt/mapr/conf/restart/hbaserest-1.4.14.restart
Running restart script /opt/mapr/conf/restart/hbmaster-1.4.14.restart
Running restart script /opt/mapr/conf/restart/hbregionserver-1.4.14.restart&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cluster Logs:&amp;nbsp;&lt;A href="https://drive.google.com/open?id=199KEwyPeXtmXI1zCR4XkHV0usd7krcZp&amp;amp;usp=drive_fs" target="_blank" rel="noopener"&gt;https://drive.google.com/open?id=199KEwyPeXtmXI1zCR4XkHV0usd7krcZp&amp;amp;usp=drive_fs&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 13:35:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-ezmeral-software-platform/cldb-pid-exists-with-pid-11461-but-no-cldb/m-p/7197249#M460</guid>
      <dc:creator>msaidbilgehan</dc:creator>
      <dc:date>2023-09-26T13:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: cldb.pid exists with pid 11461 but no CLDB</title>
      <link>https://community.hpe.com/t5/hpe-ezmeral-software-platform/cldb-pid-exists-with-pid-11461-but-no-cldb/m-p/7197442#M466</link>
      <description>&lt;P&gt;With the help of&amp;nbsp;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/2153260"&gt;@Mirza12332&lt;/a&gt;&amp;nbsp;,The solution is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Stop all MapR processes on the node by stopping mapr-warden, kill the remaining stuck/unresponsive processes, if necessary.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;cd /opt/mapr/initscripts&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;stop warden and cldb services&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Clean up all pid files:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;sudo rm-f /opt/mapr/pid&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Then start mapr-warden.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Keep in mind that the only initscripts MapR supports are &lt;STRONG&gt;mapr-warden&lt;/STRONG&gt; and &lt;STRONG&gt;mapr-zookeeper.&lt;/STRONG&gt; The others are wrappers for warden.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 09:42:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-ezmeral-software-platform/cldb-pid-exists-with-pid-11461-but-no-cldb/m-p/7197442#M466</guid>
      <dc:creator>msaidbilgehan</dc:creator>
      <dc:date>2023-09-28T09:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: cldb.pid exists with pid 11461 but no CLDB</title>
      <link>https://community.hpe.com/t5/hpe-ezmeral-software-platform/cldb-pid-exists-with-pid-11461-but-no-cldb/m-p/7197457#M470</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/2153748"&gt;@msaidbilgehan&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;That's awesome!&lt;/P&gt;
&lt;P&gt;We are extremely glad to know that you were able to find the solution and we appreciate you for keeping us updated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 11:46:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-ezmeral-software-platform/cldb-pid-exists-with-pid-11461-but-no-cldb/m-p/7197457#M470</guid>
      <dc:creator>Sunitha_Mod</dc:creator>
      <dc:date>2023-09-28T11:46:20Z</dc:date>
    </item>
  </channel>
</rss>

