<?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: Storm Topology not submitting with Secure HDFS [Internal error processing submitTopologyWithOpts] in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Storm-Topology-not-submitting-with-Secure-HDFS-Internal/m-p/387493#M246332</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/110025"&gt;@VenkataAvinash&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The error you're encountering (java.lang.RuntimeException: org.apache.storm.thrift.TApplicationException: Internal error processing submitTopologyWithOpts) indicates that there's an issue with submitting the Storm topology, but it doesn't directly point to the specific cause.&lt;BR /&gt;However, based on your configuration and the error message, it seems like there might be an issue with the Kerberos authentication setup or configuration for the Storm Nimbus service.&lt;BR /&gt;=&amp;gt;Review Kerberos Configuration: Double-check the Kerberos configuration for Storm Nimbus and ensure that it matches the settings in your storm.yaml file. Verify that the Kerberos principal (hdfs/hari-cluster-test1-master0.avinash.ceje-5ray.a5.cloudera.site@AVINASH.CEJE-5RAY.A5.CLOUDERA.SITE) and keytab file (/root/hdfs.keytab) are correctly specified.&lt;BR /&gt;=&amp;gt;Check Keytab Permissions: Ensure that the keytab file /root/hdfs.keytab has the correct permissions set and is accessible by the Storm Nimbus service.&lt;BR /&gt;=&amp;gt;Verify Service Principals: Confirm that the Kerberos principal (hdfs/hari-cluster-test1-master0.avinash.ceje-5ray.a5.cloudera.site@AVINASH.CEJE-5RAY.A5.CLOUDERA.SITE) is correctly configured for the Storm Nimbus service and that it has the necessary permissions to access HDFS.&lt;BR /&gt;=&amp;gt;Check Nimbus Logs: Check the Nimbus logs (nimbus.log) for any additional error messages or stack traces that might provide more insight into the issue.&lt;BR /&gt;=&amp;gt;Classpath Issues:Confirm that the versions of Storm, HDFS, and Kerberos libraries on your cluster are compatible with each other. Refer to the documentation for each component for known compatibility issues.&lt;BR /&gt;=&amp;gt;Try submitting a simpler topology without the HDFS bolt initially to see if the basic Kerberos configuration works. This can help isolate the issue further.&lt;BR /&gt;=&amp;gt;Consider using a tool like klist to verify if your user has successfully obtained a Kerberos ticket before submitting the topology.&lt;/P&gt;</description>
    <pubDate>Thu, 02 May 2024 05:28:39 GMT</pubDate>
    <dc:creator>RAGHUY</dc:creator>
    <dc:date>2024-05-02T05:28:39Z</dc:date>
    <item>
      <title>Storm Topology not submitting with Secure HDFS [Internal error processing submitTopologyWithOpts]</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Storm-Topology-not-submitting-with-Secure-HDFS-Internal/m-p/387075#M246241</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I am using cloudera CDP Public cloud with CDP Runtime version 7.2.17.&lt;/P&gt;&lt;P&gt;As Apache storm is not a part of cloudera stack, i downloaded from apache website and configured kerberos manually with the help of storm documentation&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://storm.apache.org/releases/2.6.1/SECURITY.html" target="_blank" rel="noopener"&gt;https://storm.apache.org/releases/2.6.1/SECURITY.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am using kafka spout and hdfs bolt ,&amp;nbsp;&lt;BR /&gt;I was able to connect to kafka spout with kafka Spout configuration properties,&lt;/P&gt;&lt;P&gt;But i faced&amp;nbsp;&lt;STRONG&gt;SIMPLE authentication is not enabled. Available:[TOKEN]&amp;nbsp;&lt;/STRONG&gt;error for hdfs bolt&lt;BR /&gt;by going through storm documentation related to&lt;BR /&gt;hdfs bolt( &lt;A href="https://storm.apache.org/releases/2.1.0/storm-hdfs.html" target="_blank" rel="noopener"&gt;https://storm.apache.org/releases/2.1.0/storm-hdfs.html&lt;/A&gt; ) i configured some of properties in yaml file&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;storm.yaml&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;storm.zookeeper.servers:
- "hari-cluster-test1-master0.avinash.ceje-5ray.a5.cloudera.site"
storm.local.dir: "/home/venkataavinash_kesineni/storm/apache-storm-2.6.1/data"
nimbus.seeds: ["hari-cluster-test1-master0.avinash.ceje-5ray.a5.cloudera.site"]
supervisor.slots.ports:
- 6700
- 6701
- 6702
- 6703
- 6704
- 6705
storm.thrift.transport: "org.apache.storm.security.auth.kerberos.KerberosSaslTransportPlugin"
nimbus.childpots: "-Xmx1024m -Djava.security.auth.login.config=/home/venkataavinash_kesineni/storm/apache-storm-2.6.1/conf/jaas.conf"
ui.childpots: "-Xmx1024m -Djava.security.auth.login.config=/home/venkataavinash_kesineni/storm/apache-storm-2.6.1/conf/jaas.conf"
supervisor.childopts: "-Xmx256m -Djava.security.auth.login.config=/home/venkataavinash_kesineni/storm/apache-storm-2.6.1/conf/jaas.conf"
storm.zookeeper.superACL: "sasl:storm"
java.security.auth.login.config: "/home/venkataavinash_kesineni/storm/apache-storm-2.6.1/conf/jaas.conf"
nimbus.autocredential.plugins.classes: ["org.apache.storm.hdfs.security.AutoHDFSNimbus"]
nimbus.credential.renewers.classes: ["org.apache.storm.hdfs.security.AutoHDFSNimbus"]
hdfs.keytab.file: "/root/hdfs.keytab"
hdfs.kerberos.principal: "hdfs/hari-cluster-test1-master0.avinash.ceje-5ray.a5.cloudera.site@AVINASH.CEJE-5RAY.A5.CLOUDERA.SITE"
nimbus.credential.renewers.freq.secs: 82800
topology.auto-credentials: ["org.apache.storm.hdfs.security.AutoHDFS"]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i am submitting topology i am getting the following error&lt;BR /&gt;&lt;STRONG&gt;Error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;java.lang.RuntimeException: org.apache.storm.thrift.TApplicationException: Internal error processing submitTopologyWithOpts
        at org.apache.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:304) ~[storm-client-2.6.1.jar:2.6.1]
        at org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:212) ~[storm-client-2.6.1.jar:2.6.1]
        at org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:175) ~[storm-client-2.6.1.jar:2.6.1]
        at com.voltage.securedata.stream.storm.StormTopology.main(StormTopology.java:220) [vs-kafka-storm-1.0.jar:?]
Caused by: org.apache.storm.thrift.TApplicationException: Internal error processing submitTopologyWithOpts
        at org.apache.storm.thrift.TServiceClient.receiveBase(TServiceClient.java:81) ~[storm-shaded-deps-2.6.1.jar:2.6.1]
        at org.apache.storm.generated.Nimbus$Client.recv_submitTopologyWithOpts(Nimbus.java:376) ~[storm-client-2.6.1.jar:2.6.1]
        at org.apache.storm.generated.Nimbus$Client.submitTopologyWithOpts(Nimbus.java:359) ~[storm-client-2.6.1.jar:2.6.1]
        at org.apache.storm.StormSubmitter.submitTopologyInDistributeMode(StormSubmitter.java:354) ~[storm-client-2.6.1.jar:2.6.1]
        at org.apache.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:292) ~[storm-client-2.6.1.jar:2.6.1]
        ... 3 more
​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please let me know if I need to do any other steps/config related changes for storm-hdfs bolt to work with Kerberos.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 04:21:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Storm-Topology-not-submitting-with-Secure-HDFS-Internal/m-p/387075#M246241</guid>
      <dc:creator>VenkataAvinash</dc:creator>
      <dc:date>2024-04-24T04:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Storm Topology not submitting with Secure HDFS [Internal error processing submitTopologyWithOpts]</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Storm-Topology-not-submitting-with-Secure-HDFS-Internal/m-p/387493#M246332</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/110025"&gt;@VenkataAvinash&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The error you're encountering (java.lang.RuntimeException: org.apache.storm.thrift.TApplicationException: Internal error processing submitTopologyWithOpts) indicates that there's an issue with submitting the Storm topology, but it doesn't directly point to the specific cause.&lt;BR /&gt;However, based on your configuration and the error message, it seems like there might be an issue with the Kerberos authentication setup or configuration for the Storm Nimbus service.&lt;BR /&gt;=&amp;gt;Review Kerberos Configuration: Double-check the Kerberos configuration for Storm Nimbus and ensure that it matches the settings in your storm.yaml file. Verify that the Kerberos principal (hdfs/hari-cluster-test1-master0.avinash.ceje-5ray.a5.cloudera.site@AVINASH.CEJE-5RAY.A5.CLOUDERA.SITE) and keytab file (/root/hdfs.keytab) are correctly specified.&lt;BR /&gt;=&amp;gt;Check Keytab Permissions: Ensure that the keytab file /root/hdfs.keytab has the correct permissions set and is accessible by the Storm Nimbus service.&lt;BR /&gt;=&amp;gt;Verify Service Principals: Confirm that the Kerberos principal (hdfs/hari-cluster-test1-master0.avinash.ceje-5ray.a5.cloudera.site@AVINASH.CEJE-5RAY.A5.CLOUDERA.SITE) is correctly configured for the Storm Nimbus service and that it has the necessary permissions to access HDFS.&lt;BR /&gt;=&amp;gt;Check Nimbus Logs: Check the Nimbus logs (nimbus.log) for any additional error messages or stack traces that might provide more insight into the issue.&lt;BR /&gt;=&amp;gt;Classpath Issues:Confirm that the versions of Storm, HDFS, and Kerberos libraries on your cluster are compatible with each other. Refer to the documentation for each component for known compatibility issues.&lt;BR /&gt;=&amp;gt;Try submitting a simpler topology without the HDFS bolt initially to see if the basic Kerberos configuration works. This can help isolate the issue further.&lt;BR /&gt;=&amp;gt;Consider using a tool like klist to verify if your user has successfully obtained a Kerberos ticket before submitting the topology.&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 05:28:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Storm-Topology-not-submitting-with-Secure-HDFS-Internal/m-p/387493#M246332</guid>
      <dc:creator>RAGHUY</dc:creator>
      <dc:date>2024-05-02T05:28:39Z</dc:date>
    </item>
  </channel>
</rss>

