<?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 Hive query failed with java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371408#M240971</link>
    <description>&lt;P&gt;Hi, I am running CDH 7.1.7p0.&amp;nbsp; I have a external ORC database on S3 bucket.&amp;nbsp; I did not configure this&amp;nbsp;&lt;SPAN&gt;fs.s3a.server-side-encryption-algorithm in hadoop core-site.xml.&amp;nbsp; However, I will randomly get this error when running hive query.&amp;nbsp; Rerun the same query may success or fail with same error message.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;ERROR : Vertex failed, vertexName=Map 14, vertexId=vertex_1684599244994_0012_7_02, diagnostics=[Vertex vertex_1684599244994_0012_7_02 [Map 14] killed/failed due to:ROOT_INPUT_INIT_FAILURE, Vertex Input: ss1 initializer failed, vertex=vertex_1684599244994_0012_7_02 [Map 14], java.lang.RuntimeException: ORC split generation failed with exception: java.lang.RuntimeException: java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;The database and query was part of the hive benchmark tool from github:&lt;BR /&gt;&lt;A href="https://github.com/hortonworks/hive-testbench" target="_blank" rel="noopener"&gt;https://github.com/hortonworks/hive-testbench&lt;/A&gt;&lt;BR /&gt;Can you help me to resolve this problem.&amp;nbsp; &amp;nbsp;Thank you.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here&amp;nbsp; are the s3a settings in core-site.xml, and you can see there is no encryption related setting.&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.endpoint&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.access.key&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.secret.key&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.impl&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;org.apache.hadoop.fs.s3a.S3AFileSystem&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.path.style.access&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.connection.ssl.enabled&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.ssl.channel.mode&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.threads.max&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.connection.maximum&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.retry.limit&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.retry.interval&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.committer.name&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.committer.magic.enabled&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.committer.threads&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.committer.staging.unique-filenames&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.committer.staging.conflict-mode&amp;lt;/name&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 23 May 2023 21:48:38 GMT</pubDate>
    <dc:creator>ac-ntap</dc:creator>
    <dc:date>2023-05-23T21:48:38Z</dc:date>
    <item>
      <title>Hive query failed with java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371408#M240971</link>
      <description>&lt;P&gt;Hi, I am running CDH 7.1.7p0.&amp;nbsp; I have a external ORC database on S3 bucket.&amp;nbsp; I did not configure this&amp;nbsp;&lt;SPAN&gt;fs.s3a.server-side-encryption-algorithm in hadoop core-site.xml.&amp;nbsp; However, I will randomly get this error when running hive query.&amp;nbsp; Rerun the same query may success or fail with same error message.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;ERROR : Vertex failed, vertexName=Map 14, vertexId=vertex_1684599244994_0012_7_02, diagnostics=[Vertex vertex_1684599244994_0012_7_02 [Map 14] killed/failed due to:ROOT_INPUT_INIT_FAILURE, Vertex Input: ss1 initializer failed, vertex=vertex_1684599244994_0012_7_02 [Map 14], java.lang.RuntimeException: ORC split generation failed with exception: java.lang.RuntimeException: java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;The database and query was part of the hive benchmark tool from github:&lt;BR /&gt;&lt;A href="https://github.com/hortonworks/hive-testbench" target="_blank" rel="noopener"&gt;https://github.com/hortonworks/hive-testbench&lt;/A&gt;&lt;BR /&gt;Can you help me to resolve this problem.&amp;nbsp; &amp;nbsp;Thank you.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here&amp;nbsp; are the s3a settings in core-site.xml, and you can see there is no encryption related setting.&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.endpoint&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.access.key&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.secret.key&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.impl&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;org.apache.hadoop.fs.s3a.S3AFileSystem&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.path.style.access&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.connection.ssl.enabled&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.ssl.channel.mode&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.threads.max&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.connection.maximum&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.retry.limit&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.retry.interval&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.committer.name&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.committer.magic.enabled&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.committer.threads&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.committer.staging.unique-filenames&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.committer.staging.conflict-mode&amp;lt;/name&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 21:48:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371408#M240971</guid>
      <dc:creator>ac-ntap</dc:creator>
      <dc:date>2023-05-23T21:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failed with java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371409#M240972</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/105209"&gt;@ac-ntap&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our CDP experts &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/13587"&gt;@venkatsambath&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/31598"&gt;@zzeng&lt;/a&gt;&amp;nbsp;&amp;nbsp;who may be able to assist you further&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 22:11:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371409#M240972</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2023-05-23T22:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failed with java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371410#M240973</link>
      <description>&lt;P&gt;Thank you Diana.&amp;nbsp; Will wait for&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/13587" target="_blank"&gt;@venkatsambath&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/31598" target="_blank"&gt;@zzeng&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; to provide suggestion to resolve this issue.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 22:55:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371410#M240973</guid>
      <dc:creator>ac-ntap</dc:creator>
      <dc:date>2023-05-23T22:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failed with java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371411#M240974</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/105209"&gt;@ac-ntap&lt;/a&gt;&amp;nbsp;Can you check the steps in the article&amp;nbsp;&lt;A href="https://my.cloudera.com/knowledge/How-to-configure-HDFS-and-Hive-to-use-different-JCEKS-and?id=326056" target="_blank"&gt;https://my.cloudera.com/knowledge/How-to-configure-HDFS-and-Hive-to-use-different-JCEKS-and?id=326056&lt;/A&gt;&amp;nbsp;and let me know if that helps.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 23:35:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371411#M240974</guid>
      <dc:creator>venkatsambath</dc:creator>
      <dc:date>2023-05-23T23:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failed with java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371412#M240975</link>
      <description>&lt;P&gt;Hi, since I am running tpcds test instead of production work, I am only using these 2 entries in core-&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;site.xml to specify the access key and secret key.&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;name&amp;gt;fs.s3a.access.key&amp;lt;/name&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;name&amp;gt;fs.s3a.secret.key&amp;lt;/name&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;Using above method for credential, I am able to use hive to create DB, tables and load data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Currently I can list DB and tables in s3 bucket.&amp;nbsp; And the DB listed below were created by Hive when I ran tpcds-setup.sh&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[root@ce-n3 sample-queries-tpcds]# hdfs dfs -ls s3a://sg-cdp/&lt;BR /&gt;Found 4 items&lt;BR /&gt;drwxrwxrwx - hdfs hdfs 0 2023-05-23 19:48 s3a://sg-cdp/external&lt;BR /&gt;drwxrwxrwx - hdfs hdfs 0 2023-05-23 19:48 s3a://sg-cdp/managed&lt;BR /&gt;drwxrwxrwx - hdfs hdfs 0 2023-05-23 19:48 s3a://sg-cdp/tpcds-generate&lt;BR /&gt;drwxrwxrwx - hdfs hdfs 0 2023-05-23 19:48 s3a://sg-cdp/user&lt;/P&gt;&lt;P&gt;[root@ce-n3 sample-queries-tpcds]# hdfs dfs -ls s3a://sg-cdp/external&lt;BR /&gt;Found 3 items&lt;BR /&gt;drwxrwxrwx - hdfs hdfs 0 2023-05-23 19:48 s3a://sg-cdp/external/m1.db&lt;BR /&gt;drwxrwxrwx - hdfs hdfs 0 2023-05-23 19:48 s3a://sg-cdp/external/tpcds_bin_partitioned_external_orc_2.db&lt;BR /&gt;drwxrwxrwx - hdfs hdfs 0 2023-05-23 19:48 s3a://sg-cdp/external/tpcds_text_2.db&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is configuring S3 credential&amp;nbsp;using&amp;nbsp;&amp;nbsp;JCEKS&amp;nbsp; a must?&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;I run into this problem occasionally&amp;nbsp;o&lt;/SPAN&gt;nly when running queries to retrieve data,&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1) I did not configure any encryption, why it is expecting password?&lt;BR /&gt;2) If hive is expecting password, then all hive queries to access the S3 bucket should fail.&amp;nbsp; However, it only randomly&amp;nbsp;fails and rerun the exact same query few times will success.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Appreciate&amp;nbsp;your help.&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 23:55:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371412#M240975</guid>
      <dc:creator>ac-ntap</dc:creator>
      <dc:date>2023-05-23T23:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failed with java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371451#M240985</link>
      <description>&lt;P&gt;Since the issue is intermittent it is unclear yet what is triggering the problem. It is not a must to have jceks.&lt;/P&gt;&lt;P&gt;a. Do you see any pattern on the failure, like the issue happens only when the failing task runs on a particular node.&amp;nbsp;&lt;/P&gt;&lt;P&gt;b. How are you managing the edited core-site.xml, is it through cloudera-manager? May i know the safety valve used.&lt;/P&gt;&lt;P&gt;c. Can you attach the complete application log for the failed run and successful run?&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 13:20:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371451#M240985</guid>
      <dc:creator>venkatsambath</dc:creator>
      <dc:date>2023-05-24T13:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failed with java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371454#M240987</link>
      <description>&lt;P&gt;d. Additionally please try disabling "&lt;SPAN class="il"&gt;Generate&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="il"&gt;HADOOP_CREDSTORE_PASSWORD&lt;/SPAN&gt;&lt;SPAN&gt;" in CM &amp;gt; Hive and Hive on Tez &amp;gt; configuration just to make sure the jceks generated by hive is not interfering with the creds you use.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 14:06:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371454#M240987</guid>
      <dc:creator>venkatsambath</dc:creator>
      <dc:date>2023-05-24T14:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failed with java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371476#M240996</link>
      <description>&lt;P&gt;There is no pattern when the problem triggers.&amp;nbsp; I have a script to run all 99 tpcds queries and 15 run successfully while other failed with this password error.&amp;nbsp;&lt;BR /&gt;I modify all settings via Cloudera Manager GUI.&amp;nbsp; I did not manually edit any core-site.xml, hive-site.xml or tez-site.xml.&amp;nbsp;&lt;BR /&gt;I tried to uncheck this setting 'generate_jceks_password' from Hive and Hive on Tez from Cloudera manager, this setting was checked by default.&amp;nbsp; Restarted both of them.&amp;nbsp; But still get this error randomly.&amp;nbsp;&lt;BR /&gt;I tried this procedure&lt;/P&gt;&lt;P&gt;&lt;A href="https://my.cloudera.com/knowledge/How-to-configure-HDFS-and-Hive-to-use-different-JCEKS-and?id=326056" target="_blank"&gt;https://my.cloudera.com/knowledge/How-to-configure-HDFS-and-Hive-to-use-different-JCEKS-and?id=326056&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but must uncheck 'generate_jceks_password' in order to get hive metastore up.&amp;nbsp; If checked, hive metastore went down because hive canary test fails.&amp;nbsp; Again, the password error returns randomly.&lt;/P&gt;&lt;P&gt;Here are the log message:&lt;BR /&gt;ERROR : Vertex failed, vertexName=Map 1, vertexId=vertex_1684599244994_0003_6_18, diagnostics=[Vertex vertex_1684599244994_0003_6_18 [Map 1] killed/failed due to:ROOT_INPUT_INIT_FAILURE, Vertex Input: reason initializer failed, vertex=vertex_1684599244994_0003_6_18 [Map 1], java.lang.RuntimeException: ORC split generation failed with exception: java.lang.RuntimeException: java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat.generateSplitsInfo(OrcInputFormat.java:1943)&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat.getSplits(OrcInputFormat.java:2030)&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.HiveInputFormat.addSplitsForGroup(HiveInputFormat.java:542)&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.HiveInputFormat.getSplits(HiveInputFormat.java:850)&lt;BR /&gt;at org.apache.hadoop.hive.ql.exec.tez.HiveSplitGenerator.initialize(HiveSplitGenerator.java:250)&lt;BR /&gt;at org.apache.tez.dag.app.dag.RootInputInitializerManager.lambda$runInitializer$3(RootInputInitializerManager.java:203)&lt;BR /&gt;at java.security.AccessController.doPrivileged(Native Method)&lt;BR /&gt;at javax.security.auth.Subject.doAs(Subject.java:422)&lt;BR /&gt;at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1898)&lt;BR /&gt;at org.apache.tez.dag.app.dag.RootInputInitializerManager.runInitializer(RootInputInitializerManager.java:196)&lt;BR /&gt;at org.apache.tez.dag.app.dag.RootInputInitializerManager.runInitializerAndProcessResult(RootInputInitializerManager.java:177)&lt;BR /&gt;at org.apache.tez.dag.app.dag.RootInputInitializerManager.lambda$createAndStartInitializing$2(RootInputInitializerManager.java:171)&lt;BR /&gt;at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)&lt;BR /&gt;at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125)&lt;BR /&gt;at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:69)&lt;BR /&gt;at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)&lt;BR /&gt;at java.lang.Thread.run(Thread.java:750)&lt;BR /&gt;Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm&lt;BR /&gt;at java.util.concurrent.FutureTask.report(FutureTask.java:122)&lt;BR /&gt;at java.util.concurrent.FutureTask.get(FutureTask.java:192)&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat.generateSplitsInfo(OrcInputFormat.java:1882)&lt;BR /&gt;... 18 more&lt;BR /&gt;Caused by: java.lang.RuntimeException: java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat.lambda$generateSplitsInfo$0(OrcInputFormat.java:1847)&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat$FileGenerator.getAcidState(OrcInputFormat.java:1276)&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat$FileGenerator.callInternal(OrcInputFormat.java:1302)&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat$FileGenerator.access$1800(OrcInputFormat.java:1226)&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat$FileGenerator$1.run(OrcInputFormat.java:1263)&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat$FileGenerator$1.run(OrcInputFormat.java:1260)&lt;BR /&gt;at java.security.AccessController.doPrivileged(Native Method)&lt;BR /&gt;at javax.security.auth.Subject.doAs(Subject.java:422)&lt;BR /&gt;at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1898)&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat$FileGenerator.call(OrcInputFormat.java:1260)&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat$FileGenerator.call(OrcInputFormat.java:1226)&lt;BR /&gt;at java.util.concurrent.FutureTask.run(FutureTask.java:266)&lt;BR /&gt;at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)&lt;BR /&gt;at java.util.concurrent.FutureTask.run(FutureTask.java:266)&lt;BR /&gt;... 3 more&lt;BR /&gt;Caused by: java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm&lt;BR /&gt;at org.apache.hadoop.fs.s3a.S3AUtils.lookupPassword(S3AUtils.java:966)&lt;BR /&gt;at org.apache.hadoop.fs.s3a.S3AUtils.getPassword(S3AUtils.java:946)&lt;BR /&gt;at org.apache.hadoop.fs.s3a.S3AUtils.getPassword(S3AUtils.java:927)&lt;BR /&gt;at org.apache.hadoop.fs.s3a.S3AUtils.lookupPassword(S3AUtils.java:905)&lt;BR /&gt;at org.apache.hadoop.fs.s3a.S3AUtils.lookupPassword(S3AUtils.java:870)&lt;BR /&gt;at org.apache.hadoop.fs.s3a.S3AUtils.getEncryptionAlgorithm(S3AUtils.java:1605)&lt;BR /&gt;at org.apache.hadoop.fs.s3a.S3AFileSystem.initialize(S3AFileSystem.java:363)&lt;BR /&gt;at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3443)&lt;BR /&gt;at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:158)&lt;BR /&gt;at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3503)&lt;BR /&gt;at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3471)&lt;BR /&gt;at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:518)&lt;BR /&gt;at org.apache.hadoop.fs.Path.getFileSystem(Path.java:361)&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat.lambda$generateSplitsInfo$0(OrcInputFormat.java:1845)&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://my.cloudera.com/knowledge/How-to-configure-HDFS-and-Hive-to-use-different-JCEKS-and?id=326056" target="_blank"&gt;https://my.cloudera.com/knowledge/How-to-configure-HDFS-and-Hive-to-use-different-JCEKS-and?id=326056&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 19:45:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371476#M240996</guid>
      <dc:creator>ac-ntap</dc:creator>
      <dc:date>2023-05-24T19:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failed with java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371488#M240997</link>
      <description>&lt;P&gt;Is this the complete exception stack trace you have in logs. The stack is supposed to have traces of&amp;nbsp;getPasswordFromCredentialProviders which I dont find and further more stack trace. Can you attach the entire application log.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 03:29:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371488#M240997</guid>
      <dc:creator>venkatsambath</dc:creator>
      <dc:date>2023-05-25T03:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failed with java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371646#M241040</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/105209"&gt;@ac-ntap&lt;/a&gt;&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. If you are still experiencing the issue, can you provide the information @venkatsambath has requested? Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 12:18:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371646#M241040</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2023-05-29T12:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failed with java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371665#M241050</link>
      <description>&lt;P&gt;Do you mean the yarn application log, which log do you want me to attach here?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="acntap_0-1685380726026.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/37680iA7262968AE59C989/image-size/medium?v=v2&amp;amp;px=400" role="button" title="acntap_0-1685380726026.png" alt="acntap_0-1685380726026.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Currently when I enter hive to access hive, it shows:&lt;BR /&gt;Connecting to jdbc:hive2://ce-n1.rtp.lab.xyz.com:2181,ce-n2.rtp.lab.xyz.com:2181,ce-n3.rtp.lab.xyz.com:2181/default;password=root;serviceDiscoveryMode=zooKeeper;user=root;zooKeeperNamespace=hiveserver2&lt;BR /&gt;&lt;BR /&gt;I tried to use beeline -u 'jdbc:hive2://localhost:10000'&amp;nbsp; but the password problem still randomly comes up.&amp;nbsp; &amp;nbsp;Not sure the main problem is about this msg:&lt;BR /&gt;Caused by: java.nio.file.AccessDeniedException: /var/run/cloudera-scm-agent/process/1546336141-hive_on_tez-HIVESERVER2/creds.localjceks&lt;BR /&gt;ERROR : Status: Failed&lt;BR /&gt;ERROR : Vertex failed, vertexName=Map 10, vertexId=vertex_1684959753082_0005_1_01, diagnostics=[Vertex vertex_1684959753082_0005_1_01 [Map 10] killed/failed due to:ROOT_INPUT_INIT_FAILURE, Vertex Input: date_dim initializer failed, vertex=vertex_1684959753082_0005_1_01 [Map 10], java.lang.RuntimeException: ORC split generation failed with exception: java.lang.RuntimeException: java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat.generateSplitsInfo(OrcInputFormat.java:1943)&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat.getSplits(OrcInputFormat.java:2030)&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.HiveInputFormat.addSplitsForGroup(HiveInputFormat.java:542)&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.HiveInputFormat.getSplits(HiveInputFormat.java:850)&lt;BR /&gt;at org.apache.hadoop.hive.ql.exec.tez.HiveSplitGenerator.initialize(HiveSplitGenerator.java:250)&lt;BR /&gt;at org.apache.tez.dag.app.dag.RootInputInitializerManager.lambda$runInitializer$3(RootInputInitializerManager.java:203)&lt;BR /&gt;at java.security.AccessController.doPrivileged(Native Method)&lt;BR /&gt;at javax.security.auth.Subject.doAs(Subject.java:422)&lt;BR /&gt;at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1898)&lt;BR /&gt;at org.apache.tez.dag.app.dag.RootInputInitializerManager.runInitializer(RootInputInitializerManager.java:196)&lt;BR /&gt;at org.apache.tez.dag.app.dag.RootInputInitializerManager.runInitializerAndProcessResult(RootInputInitializerManager.java:177)&lt;BR /&gt;at org.apache.tez.dag.app.dag.RootInputInitializerManager.lambda$createAndStartInitializing$2(RootInputInitializerManager.java:171)&lt;BR /&gt;at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)&lt;BR /&gt;at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125)&lt;BR /&gt;at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:69)&lt;BR /&gt;at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)&lt;BR /&gt;at java.lang.Thread.run(Thread.java:750)&lt;BR /&gt;Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm&lt;BR /&gt;at java.util.concurrent.FutureTask.report(FutureTask.java:122)&lt;BR /&gt;at java.util.concurrent.FutureTask.get(FutureTask.java:192)&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat.generateSplitsInfo(OrcInputFormat.java:1882)&lt;BR /&gt;... 18 more&lt;BR /&gt;Caused by: java.lang.RuntimeException: java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat.lambda$generateSplitsInfo$0(OrcInputFormat.java:1847)&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat$FileGenerator.getAcidState(OrcInputFormat.java:1276)&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat$FileGenerator.callInternal(OrcInputFormat.java:1302)&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat$FileGenerator.access$1800(OrcInputFormat.java:1226)&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat$FileGenerator$1.run(OrcInputFormat.java:1263)&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat$FileGenerator$1.run(OrcInputFormat.java:1260)&lt;BR /&gt;at java.security.AccessController.doPrivileged(Native Method)&lt;BR /&gt;at javax.security.auth.Subject.doAs(Subject.java:422)&lt;BR /&gt;at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1898)&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat$FileGenerator.call(OrcInputFormat.java:1260)&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat$FileGenerator.call(OrcInputFormat.java:1226)&lt;BR /&gt;at java.util.concurrent.FutureTask.run(FutureTask.java:266)&lt;BR /&gt;at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)&lt;BR /&gt;at java.util.concurrent.FutureTask.run(FutureTask.java:266)&lt;BR /&gt;... 3 more&lt;BR /&gt;Caused by: java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm&lt;BR /&gt;at org.apache.hadoop.fs.s3a.S3AUtils.lookupPassword(S3AUtils.java:966)&lt;BR /&gt;at org.apache.hadoop.fs.s3a.S3AUtils.getPassword(S3AUtils.java:946)&lt;BR /&gt;at org.apache.hadoop.fs.s3a.S3AUtils.getPassword(S3AUtils.java:927)&lt;BR /&gt;at org.apache.hadoop.fs.s3a.S3AUtils.lookupPassword(S3AUtils.java:905)&lt;BR /&gt;at org.apache.hadoop.fs.s3a.S3AUtils.lookupPassword(S3AUtils.java:870)&lt;BR /&gt;at org.apache.hadoop.fs.s3a.S3AUtils.getEncryptionAlgorithm(S3AUtils.java:1605)&lt;BR /&gt;at org.apache.hadoop.fs.s3a.S3AFileSystem.initialize(S3AFileSystem.java:363)&lt;BR /&gt;at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3443)&lt;BR /&gt;at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:158)&lt;BR /&gt;at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3503)&lt;BR /&gt;at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3471)&lt;BR /&gt;at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:518)&lt;BR /&gt;at org.apache.hadoop.fs.Path.getFileSystem(Path.java:361)&lt;BR /&gt;at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat.lambda$generateSplitsInfo$0(OrcInputFormat.java:1845)&lt;BR /&gt;... 16 more&lt;BR /&gt;Caused by: java.io.IOException: Configuration problem with provider path.&lt;BR /&gt;at org.apache.hadoop.conf.Configuration.getPasswordFromCredentialProviders(Configuration.java:2428)&lt;BR /&gt;at org.apache.hadoop.conf.Configuration.getPassword(Configuration.java:2347)&lt;BR /&gt;at org.apache.hadoop.fs.s3a.S3AUtils.lookupPassword(S3AUtils.java:961)&lt;BR /&gt;... 29 more&lt;BR /&gt;Caused by: java.nio.file.AccessDeniedException: /var/run/cloudera-scm-agent/process/1546336141-hive_on_tez-HIVESERVER2/creds.localjceks&lt;BR /&gt;at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)&lt;BR /&gt;at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)&lt;BR /&gt;at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)&lt;BR /&gt;at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)&lt;BR /&gt;at java.nio.file.Files.newByteChannel(Files.java:361)&lt;BR /&gt;at java.nio.file.Files.newByteChannel(Files.java:407)&lt;BR /&gt;at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384)&lt;BR /&gt;at java.nio.file.Files.newInputStream(Files.java:152)&lt;BR /&gt;at org.apache.hadoop.security.alias.LocalKeyStoreProvider.getInputStreamForFile(LocalKeyStoreProvider.java:76)&lt;BR /&gt;at org.apache.hadoop.security.alias.AbstractJavaKeyStoreProvider.locateKeystore(AbstractJavaKeyStoreProvider.java:325)&lt;BR /&gt;at org.apache.hadoop.security.alias.AbstractJavaKeyStoreProvider.&amp;lt;init&amp;gt;(AbstractJavaKeyStoreProvider.java:86)&lt;BR /&gt;at org.apache.hadoop.security.alias.LocalKeyStoreProvider.&amp;lt;init&amp;gt;(LocalKeyStoreProvider.java:56)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 17:33:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371665#M241050</guid>
      <dc:creator>ac-ntap</dc:creator>
      <dc:date>2023-05-29T17:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failed with java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371668#M241051</link>
      <description>&lt;P&gt;Not sure this is the log you are referring:&lt;BR /&gt;[root@ce-n3 hive]# ls -lt&lt;BR /&gt;total 111680&lt;BR /&gt;-rw-r--r-- 1 hive hive 97636958 May 29 14:22 hadoop-cmf-hive_on_tez-HIVESERVER2-ce-n3.rtp.lab.xyz.com.log.out&lt;BR /&gt;Today, I ran these 3 tests:&lt;BR /&gt;1) 2023-05-29 13:13:06 connect to hive using beeline -u 'jdbc:hive2://localhost:10000', the query completed successfully&lt;BR /&gt;2) 2023-05-29 13:19:59 connect to hive (it defaults to connecting via thrift:2181), run same query as #1, it fails with encryption password not found&lt;BR /&gt;Connecting to jdbc:hive2://ce-n1.rtp.lab.xyz.com:2181,ce-n2.rtp.lab.xyz.com:2181,ce-n3.rtp.lab.xyz.com:2181/default;password=root;serviceDiscoveryMode=zooKeeper;user=root;zooKeeperNamespace=hiveserver2&lt;BR /&gt;3) 2023-05-29 13:28:48 connect to hive using beeline -u 'jdbc:hive2://localhost:10000', run query2, fails with encryption password not found.&lt;BR /&gt;I do not find a option to attach file in here, even I expanded the toolbar.&amp;nbsp; Maybe I overlooked?&amp;nbsp;&lt;BR /&gt;Anyway, in the above log, I see error re thrift (even when there are no activity)&lt;BR /&gt;2023-05-29 13:07:08,636 ERROR org.apache.thrift.server.TThreadPoolServer: [HiveServer2-Handler-Pool: Thread-173]: Error occurred during processing of message.&lt;BR /&gt;java.lang.RuntimeException: org.apache.thrift.transport.TTransportException: Invalid status 22&lt;BR /&gt;at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:219) ~[hive-exec-3.1.3000.7.1.7.0-551.jar:3.1.3000.7.1.7.0-551]&lt;BR /&gt;at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:269) [hive-exec-3.1.3000.7.1.7.0-551.jar:3.1.3000.7.1.7.0-551]&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_372]&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_372]&lt;BR /&gt;at java.lang.Thread.run(Thread.java:750) [?:1.8.0_372]&lt;BR /&gt;Caused by: org.apache.thrift.transport.TTransportException: Invalid status 22&lt;BR /&gt;at org.apache.thrift.transport.TSaslTransport.sendAndThrowMessage(TSaslTransport.java:232) ~[hive-exec-3.1.3000.7.1.7.0-551.jar:3.1.3000.7.1.7.0-551]&lt;BR /&gt;at org.apache.thrift.transport.TSaslTransport.receiveSaslMessage(TSaslTransport.java:184) ~[hive-exec-3.1.3000.7.1.7.0-551.jar:3.1.3000.7.1.7.0-551]&lt;BR /&gt;at org.apache.thrift.transport.TSaslServerTransport.handleSaslStartMessage(TSaslServerTransport.java:125) ~[hive-exec-3.1.3000.7.1.7.0-551.jar:3.1.3000.7.1.7.0-551]&lt;BR /&gt;at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:271) ~[hive-exec-3.1.3000.7.1.7.0-551.jar:3.1.3000.7.1.7.0-551]&lt;BR /&gt;at org.apache.thrift.transport.TSaslServerTransport.open(TSaslServerTransport.java:41) ~[hive-exec-3.1.3000.7.1.7.0-551.jar:3.1.3000.7.1.7.0-551]&lt;BR /&gt;at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:216) ~[hive-exec-3.1.3000.7.1.7.0-551.jar:3.1.3000.7.1.7.0-551]&lt;BR /&gt;... 4 more&lt;BR /&gt;2023-05-29 13:07:08,641 ERROR org.apache.thrift.server.TThreadPoolServer: [HiveServer2-Handler-Pool: Thread-173]: Error occurred during processing of message.&lt;BR /&gt;java.lang.RuntimeException: org.apache.thrift.transport.TTransportException: Invalid status 22&lt;BR /&gt;at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:219) ~[hive-exec-3.1.3000.7.1.7.0-551.jar:3.1.3000.7.1.7.0-551]&lt;BR /&gt;at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:269) [hive-exec-3.1.3000.7.1.7.0-551.jar:3.1.3000.7.1.7.0-551]&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_372]&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_372]&lt;BR /&gt;at java.lang.Thread.run(Thread.java:750) [?:1.8.0_372]&lt;BR /&gt;Caused by: org.apache.thrift.transport.TTransportException: Invalid status 22&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 18:30:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371668#M241051</guid>
      <dc:creator>ac-ntap</dc:creator>
      <dc:date>2023-05-29T18:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failed with java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371675#M241054</link>
      <description>&lt;P&gt;The problem is not resolved. I posted more information above as requested by&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;venkatsambath.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 21:39:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371675#M241054</guid>
      <dc:creator>ac-ntap</dc:creator>
      <dc:date>2023-05-29T21:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failed with java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371676#M241055</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/13587"&gt;@venkatsambath&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;Not sure this is the log you are referring:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[root@ce-n3 hive]# ls -lt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;total 111680&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-rw-r--r-- 1 hive hive 97636958 May 29 14:22 hadoop-cmf-hive_on_tez-HIVESERVER2-ce-n3.rtp.lab.xyz.com.log.out&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Today, I ran these 3 tests:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) 2023-05-29 13:13:06 connect to hive using beeline -u 'jdbc:hive2://localhost:10000', the query completed successfully&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) 2023-05-29 13:19:59 connect to hive (it defaults to connecting via thrift:2181), run same query as #1, it fails with encryption password not found&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Connecting to jdbc:hive2://ce-n1.rtp.lab.xyz.com:2181,ce-n2.rtp.lab.xyz.com:2181,ce-n3.rtp.lab.xyz.com:2181/default;password=root;serviceDiscoveryMode=zooKeeper;user=root;zooKeeperNamespace=hiveserver2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) 2023-05-29 13:28:48 connect to hive using beeline -u 'jdbc:hive2://localhost:10000', run query2, fails with encryption password not found.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not find an option to attach file in here, even I expanded the toolbar.&amp;nbsp; Maybe I overlooked?&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, in the above log, I see error re thrift (even when there are no activity)&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2023-05-29 13:07:08,636 ERROR org.apache.thrift.server.TThreadPoolServer: [HiveServer2-Handler-Pool: Thread-173]: Error occurred during processing of message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.lang.RuntimeException: org.apache.thrift.transport.TTransportException: Invalid status 22&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:219) ~[hive-exec-3.1.3000.7.1.7.0-551.jar:3.1.3000.7.1.7.0-551]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:269) [hive-exec-3.1.3000.7.1.7.0-551.jar:3.1.3000.7.1.7.0-551]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_372]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_372]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.lang.Thread.run(Thread.java:750) [?:1.8.0_372]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: org.apache.thrift.transport.TTransportException: Invalid status 22&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.thrift.transport.TSaslTransport.sendAndThrowMessage(TSaslTransport.java:232) ~[hive-exec-3.1.3000.7.1.7.0-551.jar:3.1.3000.7.1.7.0-551]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.thrift.transport.TSaslTransport.receiveSaslMessage(TSaslTransport.java:184) ~[hive-exec-3.1.3000.7.1.7.0-551.jar:3.1.3000.7.1.7.0-551]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.thrift.transport.TSaslServerTransport.handleSaslStartMessage(TSaslServerTransport.java:125) ~[hive-exec-3.1.3000.7.1.7.0-551.jar:3.1.3000.7.1.7.0-551]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:271) ~[hive-exec-3.1.3000.7.1.7.0-551.jar:3.1.3000.7.1.7.0-551]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.thrift.transport.TSaslServerTransport.open(TSaslServerTransport.java:41) ~[hive-exec-3.1.3000.7.1.7.0-551.jar:3.1.3000.7.1.7.0-551]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:216) ~[hive-exec-3.1.3000.7.1.7.0-551.jar:3.1.3000.7.1.7.0-551]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;... 4 more&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2023-05-29 13:07:08,641 ERROR org.apache.thrift.server.TThreadPoolServer: [HiveServer2-Handler-Pool: Thread-173]: Error occurred during processing of message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.lang.RuntimeException: org.apache.thrift.transport.TTransportException: Invalid status 22&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:219) ~[hive-exec-3.1.3000.7.1.7.0-551.jar:3.1.3000.7.1.7.0-551]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:269) [hive-exec-3.1.3000.7.1.7.0-551.jar:3.1.3000.7.1.7.0-551]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_372]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_372]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.lang.Thread.run(Thread.java:750) [?:1.8.0_372]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: org.apache.thrift.transport.TTransportException: Invalid status 22&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 21:41:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371676#M241055</guid>
      <dc:creator>ac-ntap</dc:creator>
      <dc:date>2023-05-29T21:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failed with java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371879#M241106</link>
      <description>&lt;P&gt;I am sorry for the delay. This is the exception I was looking for.&lt;/P&gt;&lt;P&gt;Specifically we can notice the failure was due to hive trying to pickup password from its own jceks rather than using the plain text password.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still its unclear why it falls back to jceks instead of using password. I will check with existing known issues. For the timebeing Can you try configuring the password through jceks as indicated in this article&amp;nbsp;&lt;A href="https://my.cloudera.com/knowledge/How-to-configure-HDFS-and-Hive-to-use-different-JCEKS-and?id=326056" target="_blank"&gt;https://my.cloudera.com/knowledge/How-to-configure-HDFS-and-Hive-to-use-different-JCEKS-and?id=326056&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can ignore step 9 to 11 from the article.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sg-cdp is the bucket name, so instead of&amp;nbsp;fs.s3a.bucket.scc-803070-bucket-1.security.credential.provider.path please use the property&amp;nbsp;fs.s3a.bucket.sg-cdp.security.credential.provider.path&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 20:43:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371879#M241106</guid>
      <dc:creator>venkatsambath</dc:creator>
      <dc:date>2023-05-31T20:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failed with java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371925#M241116</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/105209"&gt;@ac-ntap&lt;/a&gt;&amp;nbsp;This exception is not related. please ignore this and kindly review my other comment "&lt;A href="https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371879/highlight/true#M241106" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371879/highlight/true#M241106&lt;/A&gt;"&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 13:41:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371925#M241116</guid>
      <dc:creator>venkatsambath</dc:creator>
      <dc:date>2023-06-01T13:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failed with java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371972#M241131</link>
      <description>&lt;P&gt;Thank you for getting back to me.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I am not sure about this step 6, do I manually edit the hive-site.xml and tez-site.xml?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Uncomment the property "Generate HADOOP_CREDSTORE_PASSWORD" from&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Hive&lt;/STRONG&gt;&amp;nbsp; service and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Hive on Tez&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;service. This is the flag to enable or disable the generation of HADOOP_CREDSTORE_PASSWORD (generate_jceks_password).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Instead of manually edit the hive/hive-on-tez xml, I checked the box ''generate_jceks_password' on Cloudera Manager for both Hive and Hive-on-tez.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="acntap_1-1685661935652.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/37713i232F288A9F6AF81F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="acntap_1-1685661935652.png" alt="acntap_1-1685661935652.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried few queries, the password problem has not reappeared yet.&amp;nbsp; I will run all 99 tpcds queries again to see if it comes back.&amp;nbsp;&lt;BR /&gt;Thank&amp;nbsp; you.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 23:42:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371972#M241131</guid>
      <dc:creator>ac-ntap</dc:creator>
      <dc:date>2023-06-01T23:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failed with java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371998#M241137</link>
      <description>&lt;P&gt;Sorry about the typo in the article. "&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Uncomment the property "Generate HADOOP_CREDSTORE_PASSWORD" from&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Hive&lt;/STRONG&gt;&amp;nbsp; service and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Hive on Tez&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;service. This is the flag to enable or disable the generation of HADOOP_CREDSTORE_PASSWORD (generate_jceks_password)."&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;It is not uncomment and must be uncheck. So please uncheck "Generate HADOOP_CREDSTORE_PASSWORD" in Hive and Hive on Tez, save and restart Hive,Hive on Tez&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 13:07:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/371998#M241137</guid>
      <dc:creator>venkatsambath</dc:creator>
      <dc:date>2023-06-02T13:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failed with java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/372147#M241164</link>
      <description>&lt;P&gt;If I unchecked the&amp;nbsp;&lt;SPAN&gt;"Generate HADOOP_CREDSTORE_PASSWORD" in Hive and Hive on Tez, save and restart Hive,Hive on Tez, the password problem continues when I run tpcds queries.&lt;BR /&gt;When I checked it and restart Hive and Hive on Tez, the password problem goes away.&amp;nbsp; I am confused what is the right procedure.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 16:38:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/372147#M241164</guid>
      <dc:creator>ac-ntap</dc:creator>
      <dc:date>2023-06-05T16:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failed with java.io.IOException: Cannot find password option fs.s3a.bucket.sg-cdp.fs.s3a.server-side-encryption-algorithm</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/372152#M241168</link>
      <description>&lt;P&gt;Thats interesting.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me make sure my understanding is correct.&lt;/P&gt;&lt;P&gt;1. So after configuring password through jceks, there are failures if "&lt;SPAN&gt;Generate HADOOP_CREDSTORE_PASSWORD" is unchecked. Can I please have the full exception, just want to make sure if the full exception points to anything else in latest failure.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. Did you also remove the properties you already had added i.e "&amp;lt;name&amp;gt;fs.s3a.access.key&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;fs.s3a.secret.key&amp;lt;/name&amp;gt;" in core-site.xml&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 21:57:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failed-with-java-io-IOException-Cannot-find/m-p/372152#M241168</guid>
      <dc:creator>venkatsambath</dc:creator>
      <dc:date>2023-06-05T21:57:05Z</dc:date>
    </item>
  </channel>
</rss>

