<?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 Unable to configure AWS credentials on Oozie hive action in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-configure-AWS-credentials-on-Oozie-hive-action/m-p/58046#M65515</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to build an Oozie workflow to push data from hdfs to s3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using hadoop&amp;nbsp;2.6.0&amp;nbsp;cdh&amp;nbsp;5.5.5&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the table I created&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;CREATE EXTERNAL TABLE IF NOT EXISTS demo_table1(
  id string,
  name string
  )
  ROW FORMAT SERDE
  'org.apache.hive.hcatalog.data.JsonSerDe'
LOCATION 's3a://path/'&lt;/PRE&gt;&lt;P&gt;workflow.xml&lt;/P&gt;&lt;PRE&gt;&amp;lt;workflow-app xmlns="uri:oozie:workflow:0.4" name="copy-json-data-to-s3"&amp;gt;
    &amp;lt;start to="create-table"/&amp;gt;

    &amp;lt;action name="create-table"&amp;gt;
        &amp;lt;hive xmlns="uri:oozie:hive-action:0.5"&amp;gt;
            &amp;lt;job-xml&amp;gt;${concat(nameNode, "/etc/hive/conf/hive-site.xml")}&amp;lt;/job-xml&amp;gt; 
            &amp;lt;configuration&amp;gt;
                &amp;lt;property&amp;gt;
                    &amp;lt;name&amp;gt;mapred.job.queue.name&amp;lt;/name&amp;gt;
                    &amp;lt;value&amp;gt;${hiveQueueName}&amp;lt;/value&amp;gt;
                &amp;lt;/property&amp;gt;
            &amp;lt;/configuration&amp;gt;
            &amp;lt;script&amp;gt;createTable.hql&amp;lt;/script&amp;gt;
        &amp;lt;/hive&amp;gt;
        &amp;lt;ok to="copy-to-s3"/&amp;gt;
        &amp;lt;error to="kill"/&amp;gt;
    &amp;lt;/action&amp;gt;

    &amp;lt;action name="copy-to-s3"&amp;gt;
        &amp;lt;hive xmlns="uri:oozie:hive-action:0.5"&amp;gt;
            &amp;lt;job-xml&amp;gt;${concat(nameNode, "/etc/hive/conf/hive-site.xml")}&amp;lt;/job-xml&amp;gt; 
            &amp;lt;configuration&amp;gt;
                &amp;lt;property&amp;gt;
                    &amp;lt;name&amp;gt;mapred.job.queue.name&amp;lt;/name&amp;gt;
                    &amp;lt;value&amp;gt;${hiveQueueName}&amp;lt;/value&amp;gt;
                &amp;lt;/property&amp;gt;
            &amp;lt;/configuration&amp;gt;
            &amp;lt;script&amp;gt;copyToS3.hql&amp;lt;/script&amp;gt;
        &amp;lt;/hive&amp;gt;
        &amp;lt;ok to="end"/&amp;gt;
        &amp;lt;error to="end"/&amp;gt;
    &amp;lt;/action&amp;gt;

    &amp;lt;kill name="kill"&amp;gt;
        &amp;lt;message&amp;gt;failed, error message[${wf:errorMessage(wf:lastErrorNode())}]&amp;lt;/message&amp;gt;
    &amp;lt;/kill&amp;gt;

    &amp;lt;!-- End control node - indicates a workflow job has completed successfully --&amp;gt;
    &amp;lt;end name="end"/&amp;gt;
&amp;lt;/workflow-app&amp;gt;&lt;/PRE&gt;&lt;P&gt;Then when I executed the workflow&lt;/P&gt;&lt;P&gt;I got the below error message&lt;/P&gt;&lt;PRE&gt;50698 [uber-SubtaskRunner] ERROR hive.ql.exec.DDLTask  - org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:com.cloudera.com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain)
	at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:755)
	at org.apache.hadoop.hive.ql.exec.DDLTask.createTable(DDLTask.java:3988)
	at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:303)
	at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:160)
	at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:100)
	at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1690)
	at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1449)
	at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1235)
	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1053)
	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1043)
	at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:209)
	at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:161)
	at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:372)
	at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:307)
	at org.apache.hadoop.hive.cli.CliDriver.processReader(CliDriver.java:405)
	at org.apache.hadoop.hive.cli.CliDriver.processFile(CliDriver.java:421)
	at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:710)
	at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:677)
	at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:617)
	at org.apache.oozie.action.hadoop.HiveMain.runHive(HiveMain.java:325)
	at org.apache.oozie.action.hadoop.HiveMain.run(HiveMain.java:302)
	at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:49)
	at org.apache.oozie.action.hadoop.HiveMain.main(HiveMain.java:69)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:236)
	at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)
	at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:453)
	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)
	at org.apache.hadoop.mapred.LocalContainerLauncher$EventHandler.runSubtask(LocalContainerLauncher.java:388)
	at org.apache.hadoop.mapred.LocalContainerLauncher$EventHandler.runTask(LocalContainerLauncher.java:302)
	at org.apache.hadoop.mapred.LocalContainerLauncher$EventHandler.access$200(LocalContainerLauncher.java:187)
	at org.apache.hadoop.mapred.LocalContainerLauncher$EventHandler$1.run(LocalContainerLauncher.java:230)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: MetaException(message:com.cloudera.com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain)
	at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$create_table_with_environment_context_result$create_table_with_environment_context_resultStandardScheme.read(ThriftHiveMetastore.java:29992)
	at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$create_table_with_environment_context_result$create_table_with_environment_context_resultStandardScheme.read(ThriftHiveMetastore.java:29960)
	at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$create_table_with_environment_context_result.read(ThriftHiveMetastore.java:29886)
	at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
	at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.recv_create_table_with_environment_context(ThriftHiveMetastore.java:1075)
	at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.create_table_with_environment_context(ThriftHiveMetastore.java:1061)
	at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.create_table_with_environment_context(HiveMetaStoreClient.java:2066)
	at org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient.create_table_with_environment_context(SessionHiveMetaStoreClient.java:97)
	at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.createTable(HiveMetaStoreClient.java:671)
	at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.createTable(HiveMetaStoreClient.java:659)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.invoke(RetryingMetaStoreClient.java:91)
	at com.sun.proxy.$Proxy85.createTable(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.apache.hadoop.hive.metastore.HiveMetaStoreClient$SynchronizedHandler.invoke(HiveMetaStoreClient.java:1998)
	at com.sun.proxy.$Proxy85.createTable(Unknown Source)
	at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:749)
	... 39 more&lt;/PRE&gt;&lt;P&gt;For security and other reasons,&amp;nbsp;I do not have sudo/admin access to Cloudera Manager and unable to modify some configuration files, like hadoop's core-site.xml, hive-site.xml and oozie-site.xml. If I have sudo sccess, I can put those aws credentials directly in those configs and the problem will be gone. So that is the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did go through some online links and tried the following approaches by my own, but none of them works.&lt;/P&gt;&lt;P&gt;1. add fs.s3a.access.key and&amp;nbsp;fs.s3a.secret.key properties inside workflow.xml&lt;/P&gt;&lt;P&gt;2. create a .jceks&amp;nbsp;keystore and put it in workflow.xml&lt;/P&gt;&lt;P&gt;3. create a job.properties file and execute the workflow in the command line&lt;/P&gt;&lt;P&gt;4. create a local copy of hive-site.xml and added the keys there and update the path in &amp;lt;job-xml&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to provide those AWS credentials during Oozie workflow execution?&lt;/P&gt;&lt;P&gt;Appreciate any helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 11:59:13 GMT</pubDate>
    <dc:creator>jasonxu1995</dc:creator>
    <dc:date>2022-09-16T11:59:13Z</dc:date>
    <item>
      <title>Unable to configure AWS credentials on Oozie hive action</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-configure-AWS-credentials-on-Oozie-hive-action/m-p/58046#M65515</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to build an Oozie workflow to push data from hdfs to s3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using hadoop&amp;nbsp;2.6.0&amp;nbsp;cdh&amp;nbsp;5.5.5&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the table I created&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;CREATE EXTERNAL TABLE IF NOT EXISTS demo_table1(
  id string,
  name string
  )
  ROW FORMAT SERDE
  'org.apache.hive.hcatalog.data.JsonSerDe'
LOCATION 's3a://path/'&lt;/PRE&gt;&lt;P&gt;workflow.xml&lt;/P&gt;&lt;PRE&gt;&amp;lt;workflow-app xmlns="uri:oozie:workflow:0.4" name="copy-json-data-to-s3"&amp;gt;
    &amp;lt;start to="create-table"/&amp;gt;

    &amp;lt;action name="create-table"&amp;gt;
        &amp;lt;hive xmlns="uri:oozie:hive-action:0.5"&amp;gt;
            &amp;lt;job-xml&amp;gt;${concat(nameNode, "/etc/hive/conf/hive-site.xml")}&amp;lt;/job-xml&amp;gt; 
            &amp;lt;configuration&amp;gt;
                &amp;lt;property&amp;gt;
                    &amp;lt;name&amp;gt;mapred.job.queue.name&amp;lt;/name&amp;gt;
                    &amp;lt;value&amp;gt;${hiveQueueName}&amp;lt;/value&amp;gt;
                &amp;lt;/property&amp;gt;
            &amp;lt;/configuration&amp;gt;
            &amp;lt;script&amp;gt;createTable.hql&amp;lt;/script&amp;gt;
        &amp;lt;/hive&amp;gt;
        &amp;lt;ok to="copy-to-s3"/&amp;gt;
        &amp;lt;error to="kill"/&amp;gt;
    &amp;lt;/action&amp;gt;

    &amp;lt;action name="copy-to-s3"&amp;gt;
        &amp;lt;hive xmlns="uri:oozie:hive-action:0.5"&amp;gt;
            &amp;lt;job-xml&amp;gt;${concat(nameNode, "/etc/hive/conf/hive-site.xml")}&amp;lt;/job-xml&amp;gt; 
            &amp;lt;configuration&amp;gt;
                &amp;lt;property&amp;gt;
                    &amp;lt;name&amp;gt;mapred.job.queue.name&amp;lt;/name&amp;gt;
                    &amp;lt;value&amp;gt;${hiveQueueName}&amp;lt;/value&amp;gt;
                &amp;lt;/property&amp;gt;
            &amp;lt;/configuration&amp;gt;
            &amp;lt;script&amp;gt;copyToS3.hql&amp;lt;/script&amp;gt;
        &amp;lt;/hive&amp;gt;
        &amp;lt;ok to="end"/&amp;gt;
        &amp;lt;error to="end"/&amp;gt;
    &amp;lt;/action&amp;gt;

    &amp;lt;kill name="kill"&amp;gt;
        &amp;lt;message&amp;gt;failed, error message[${wf:errorMessage(wf:lastErrorNode())}]&amp;lt;/message&amp;gt;
    &amp;lt;/kill&amp;gt;

    &amp;lt;!-- End control node - indicates a workflow job has completed successfully --&amp;gt;
    &amp;lt;end name="end"/&amp;gt;
&amp;lt;/workflow-app&amp;gt;&lt;/PRE&gt;&lt;P&gt;Then when I executed the workflow&lt;/P&gt;&lt;P&gt;I got the below error message&lt;/P&gt;&lt;PRE&gt;50698 [uber-SubtaskRunner] ERROR hive.ql.exec.DDLTask  - org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:com.cloudera.com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain)
	at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:755)
	at org.apache.hadoop.hive.ql.exec.DDLTask.createTable(DDLTask.java:3988)
	at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:303)
	at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:160)
	at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:100)
	at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1690)
	at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1449)
	at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1235)
	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1053)
	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1043)
	at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:209)
	at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:161)
	at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:372)
	at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:307)
	at org.apache.hadoop.hive.cli.CliDriver.processReader(CliDriver.java:405)
	at org.apache.hadoop.hive.cli.CliDriver.processFile(CliDriver.java:421)
	at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:710)
	at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:677)
	at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:617)
	at org.apache.oozie.action.hadoop.HiveMain.runHive(HiveMain.java:325)
	at org.apache.oozie.action.hadoop.HiveMain.run(HiveMain.java:302)
	at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:49)
	at org.apache.oozie.action.hadoop.HiveMain.main(HiveMain.java:69)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:236)
	at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)
	at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:453)
	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)
	at org.apache.hadoop.mapred.LocalContainerLauncher$EventHandler.runSubtask(LocalContainerLauncher.java:388)
	at org.apache.hadoop.mapred.LocalContainerLauncher$EventHandler.runTask(LocalContainerLauncher.java:302)
	at org.apache.hadoop.mapred.LocalContainerLauncher$EventHandler.access$200(LocalContainerLauncher.java:187)
	at org.apache.hadoop.mapred.LocalContainerLauncher$EventHandler$1.run(LocalContainerLauncher.java:230)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: MetaException(message:com.cloudera.com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain)
	at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$create_table_with_environment_context_result$create_table_with_environment_context_resultStandardScheme.read(ThriftHiveMetastore.java:29992)
	at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$create_table_with_environment_context_result$create_table_with_environment_context_resultStandardScheme.read(ThriftHiveMetastore.java:29960)
	at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$create_table_with_environment_context_result.read(ThriftHiveMetastore.java:29886)
	at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
	at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.recv_create_table_with_environment_context(ThriftHiveMetastore.java:1075)
	at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.create_table_with_environment_context(ThriftHiveMetastore.java:1061)
	at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.create_table_with_environment_context(HiveMetaStoreClient.java:2066)
	at org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient.create_table_with_environment_context(SessionHiveMetaStoreClient.java:97)
	at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.createTable(HiveMetaStoreClient.java:671)
	at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.createTable(HiveMetaStoreClient.java:659)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.invoke(RetryingMetaStoreClient.java:91)
	at com.sun.proxy.$Proxy85.createTable(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.apache.hadoop.hive.metastore.HiveMetaStoreClient$SynchronizedHandler.invoke(HiveMetaStoreClient.java:1998)
	at com.sun.proxy.$Proxy85.createTable(Unknown Source)
	at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:749)
	... 39 more&lt;/PRE&gt;&lt;P&gt;For security and other reasons,&amp;nbsp;I do not have sudo/admin access to Cloudera Manager and unable to modify some configuration files, like hadoop's core-site.xml, hive-site.xml and oozie-site.xml. If I have sudo sccess, I can put those aws credentials directly in those configs and the problem will be gone. So that is the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did go through some online links and tried the following approaches by my own, but none of them works.&lt;/P&gt;&lt;P&gt;1. add fs.s3a.access.key and&amp;nbsp;fs.s3a.secret.key properties inside workflow.xml&lt;/P&gt;&lt;P&gt;2. create a .jceks&amp;nbsp;keystore and put it in workflow.xml&lt;/P&gt;&lt;P&gt;3. create a job.properties file and execute the workflow in the command line&lt;/P&gt;&lt;P&gt;4. create a local copy of hive-site.xml and added the keys there and update the path in &amp;lt;job-xml&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to provide those AWS credentials during Oozie workflow execution?&lt;/P&gt;&lt;P&gt;Appreciate any helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:59:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-configure-AWS-credentials-on-Oozie-hive-action/m-p/58046#M65515</guid>
      <dc:creator>jasonxu1995</dc:creator>
      <dc:date>2022-09-16T11:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to configure AWS credentials on Oozie hive action</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-configure-AWS-credentials-on-Oozie-hive-action/m-p/58070#M65516</link>
      <description>Hive has the limitation that it cannot set these values at runtime. They have to either be in the core-site.xml or the table definition (not positive on this one though).&lt;BR /&gt;&lt;BR /&gt;The former will require admin access to the CM UI. The latter can be done by the person creating the table, you. Set the location as such, s3a://ACCESS_KEY:SECRET_KEY/path/. This will not work if there is a '/' unless you have this patch.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://issues.apache.org/jira/browse/HADOOP-3733" target="_blank"&gt;https://issues.apache.org/jira/browse/HADOOP-3733&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jul 2017 19:51:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-configure-AWS-credentials-on-Oozie-hive-action/m-p/58070#M65516</guid>
      <dc:creator>mbigelow</dc:creator>
      <dc:date>2017-07-26T19:51:56Z</dc:date>
    </item>
  </channel>
</rss>

