<?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 HDFS router based federation daemon failing to start in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/HDFS-router-based-federation-daemon-failing-to-start/m-p/405963#M252519</link>
    <description>&lt;P&gt;Unable to start dfsrouter daemon. Cluster is kerberized and using hadoop 3.3.4. Trying to implement hdfs router based federation. Configured hdfs-rbf-site.xml with required properties.&lt;/P&gt;&lt;P&gt;It is a working cluster. Zookeeper quorum is already configured in core-site.xml.&lt;BR /&gt;&lt;BR /&gt;Below is the error from log. "Zookeeper connection string cannot be null".&lt;BR /&gt;&lt;BR /&gt;ERROR router.FederationUtil - Could not instantiate: ZKDelegationTokenSecretManagerImpl&lt;BR /&gt;java.lang.reflect.InvocationTargetException&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)&lt;BR /&gt;at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)&lt;BR /&gt;at java.lang.reflect.Constructor.newInstance(Constructor.java:423)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.federation.router.FederationUtil.newInstance(FederationUtil.java:164)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.federation.router.FederationUtil.newSecretManager(FederationUtil.java:224)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.federation.router.security.RouterSecurityManager.&amp;lt;init&amp;gt;(RouterSecurityManager.java:60)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.&amp;lt;init&amp;gt;(RouterRpcServer.java:293)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.federation.router.Router.createRpcServer(Router.java:391)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.federation.router.Router.serviceInit(Router.java:188)&lt;BR /&gt;at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.federation.router.DFSRouter.main(DFSRouter.java:69)&lt;BR /&gt;Caused by: java.lang.NullPointerException: Zookeeper connection string cannot be null&lt;BR /&gt;at org.apache.hadoop.thirdparty.com.google.common.base.Preconditions.checkNotNull(Preconditions.java:899)&lt;BR /&gt;at org.apache.hadoop.security.token.delegation.ZKDelegationTokenSecretManager.&amp;lt;init&amp;gt;(ZKDelegationTokenSecretManager.java:168)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.federation.router.security.token.ZKDelegationTokenSecretManagerImpl.&amp;lt;init&amp;gt;(ZKDelegationTokenSecretManagerImpl.java:42)&lt;BR /&gt;... 12 more&lt;BR /&gt;&lt;BR /&gt;Any help is appreciated!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 12 Apr 2025 01:38:26 GMT</pubDate>
    <dc:creator>Hadoop16</dc:creator>
    <dc:date>2025-04-12T01:38:26Z</dc:date>
    <item>
      <title>HDFS router based federation daemon failing to start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDFS-router-based-federation-daemon-failing-to-start/m-p/405963#M252519</link>
      <description>&lt;P&gt;Unable to start dfsrouter daemon. Cluster is kerberized and using hadoop 3.3.4. Trying to implement hdfs router based federation. Configured hdfs-rbf-site.xml with required properties.&lt;/P&gt;&lt;P&gt;It is a working cluster. Zookeeper quorum is already configured in core-site.xml.&lt;BR /&gt;&lt;BR /&gt;Below is the error from log. "Zookeeper connection string cannot be null".&lt;BR /&gt;&lt;BR /&gt;ERROR router.FederationUtil - Could not instantiate: ZKDelegationTokenSecretManagerImpl&lt;BR /&gt;java.lang.reflect.InvocationTargetException&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)&lt;BR /&gt;at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)&lt;BR /&gt;at java.lang.reflect.Constructor.newInstance(Constructor.java:423)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.federation.router.FederationUtil.newInstance(FederationUtil.java:164)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.federation.router.FederationUtil.newSecretManager(FederationUtil.java:224)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.federation.router.security.RouterSecurityManager.&amp;lt;init&amp;gt;(RouterSecurityManager.java:60)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.&amp;lt;init&amp;gt;(RouterRpcServer.java:293)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.federation.router.Router.createRpcServer(Router.java:391)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.federation.router.Router.serviceInit(Router.java:188)&lt;BR /&gt;at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.federation.router.DFSRouter.main(DFSRouter.java:69)&lt;BR /&gt;Caused by: java.lang.NullPointerException: Zookeeper connection string cannot be null&lt;BR /&gt;at org.apache.hadoop.thirdparty.com.google.common.base.Preconditions.checkNotNull(Preconditions.java:899)&lt;BR /&gt;at org.apache.hadoop.security.token.delegation.ZKDelegationTokenSecretManager.&amp;lt;init&amp;gt;(ZKDelegationTokenSecretManager.java:168)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.federation.router.security.token.ZKDelegationTokenSecretManagerImpl.&amp;lt;init&amp;gt;(ZKDelegationTokenSecretManagerImpl.java:42)&lt;BR /&gt;... 12 more&lt;BR /&gt;&lt;BR /&gt;Any help is appreciated!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Apr 2025 01:38:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDFS-router-based-federation-daemon-failing-to-start/m-p/405963#M252519</guid>
      <dc:creator>Hadoop16</dc:creator>
      <dc:date>2025-04-12T01:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS router based federation daemon failing to start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDFS-router-based-federation-daemon-failing-to-start/m-p/412136#M253266</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/109626"&gt;@Hadoop16&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error Zookeeper connection string cannot be null means the Router process is expecting ZooKeeper configs for token management but isn’t finding them. Even if you already have a ZooKeeper quorum set in core-site.xml, the Router Federation requires its own configs in hdfs-rbf-site.xml. Specifically, you need to set hadoop.kms.authentication.zk-dt-secret-manager.zkConnectionString (or in some versions hadoop.security.token.service.use_ip + hadoop.zk.address) depending on your setup. Please double-check that hdfs-rbf-site.xml contains the federation and router related properties, including ZooKeeper connection string and Kerberos settings. Ensure the file is deployed to all Router nodes and included in the classpath. Also verify that the Router service user has Kerberos credentials and permissions to connect to ZooKeeper. Once the ZK connection string is set properly, the Router daemon should start without this error.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 08:56:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDFS-router-based-federation-daemon-failing-to-start/m-p/412136#M253266</guid>
      <dc:creator>RAGHUY</dc:creator>
      <dc:date>2025-08-19T08:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS router based federation daemon failing to start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDFS-router-based-federation-daemon-failing-to-start/m-p/412137#M253267</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/101097"&gt;@RAGHUY&lt;/a&gt;&amp;nbsp;Thank you! I figured that later but Router starting to fail with below error.I have the jaas.conf in place. Any help on this is appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;ERROR client.ZooKeeperSaslClient - SASL authentication failed using login context 'ZKDelegationTokenSecretManagerClient' with exception: {}&lt;/DIV&gt;&lt;DIV&gt;javax.security.sasl.SaslException: Error in authenticating with a Zookeeper Quorum member: the quorum member's saslToken is null.&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;at org.apache.zookeeper.client.ZooKeeperSaslClient.createSaslToken(ZooKeeperSaslClient.java:312)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;at org.apache.zookeeper.client.ZooKeeperSaslClient.respondToServer(ZooKeeperSaslClient.java:275)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;at org.apache.zookeeper.ClientCnxn$SendThread.readResponse(ClientCnxn.java:882)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:101)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:363)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1223)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;2025-08-19 20:45:37,097 ERROR curator.ConnectionState - Authentication failed&lt;/DIV&gt;&lt;DIV&gt;2025-08-19 20:45:37,098 INFO&amp;nbsp; zookeeper.ClientCnxn - Unable to read additional data from server sessionid 0x1088d05c6550015, likely server has closed socket, closing socket connection and attempting reconnect&lt;/DIV&gt;&lt;DIV&gt;2025-08-19 20:45:37,098 INFO&amp;nbsp; zookeeper.ClientCnxn - EventThread shut down for session: 0x1088d05c6550015&lt;/DIV&gt;&lt;DIV&gt;2025-08-19 20:45:37,212 ERROR imps.CuratorFrameworkImpl - Ensure path threw exception&lt;/DIV&gt;&lt;DIV&gt;org.apache.zookeeper.KeeperException$AuthFailedException: KeeperErrorCode = AuthFailed for /hdfs-router-tokens&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Aug 2025 20:48:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDFS-router-based-federation-daemon-failing-to-start/m-p/412137#M253267</guid>
      <dc:creator>Hadoop16</dc:creator>
      <dc:date>2025-08-19T20:48:18Z</dc:date>
    </item>
  </channel>
</rss>

