<?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: We are getting below error when trying to read the table from s3. We are able to create the hive tables pointing to s3 bucket but while reading the table we are facing the issue. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/We-are-getting-below-error-when-trying-to-read-the-table/m-p/167695#M49824</link>
    <description>&lt;P&gt;This issue has been resolved. AWS admin team was able to figure out the problem, they modified the policy and after that we were able to read the table from s3. &lt;/P&gt;&lt;P&gt;Thanks everyone for your help. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;  &lt;/P&gt;</description>
    <pubDate>Mon, 26 Dec 2016 18:19:31 GMT</pubDate>
    <dc:creator>shyamshaw</dc:creator>
    <dc:date>2016-12-26T18:19:31Z</dc:date>
    <item>
      <title>We are getting below error when trying to read the table from s3. We are able to create the hive tables pointing to s3 bucket but while reading the table we are facing the issue.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/We-are-getting-below-error-when-trying-to-read-the-table/m-p/167692#M49821</link>
      <description>&lt;P&gt;Note: We are not using accessKeyId and SecretKey in hadoop configuration. We have created a policy and attached it to s3 role.&lt;/P&gt;&lt;P&gt;hive&amp;gt; CREATE TABLE `global_param`(&lt;/P&gt;&lt;P&gt;  `key` string,&lt;/P&gt;&lt;P&gt; `value` string)&lt;/P&gt;&lt;P&gt;ROW FORMAT DELIMITED&lt;/P&gt;&lt;P&gt;  FIELDS TERMINATED BY '|'&lt;/P&gt;&lt;P&gt;STORED AS INPUTFORMAT&lt;/P&gt;&lt;P&gt;  'org.apache.hadoop.mapred.TextInputFormat'&lt;/P&gt;&lt;P&gt;OUTPUTFORMAT&lt;/P&gt;&lt;P&gt; 
'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'&lt;/P&gt;&lt;P&gt;LOCATION&lt;/P&gt;&lt;P&gt;  's3a:/XXXXXX/XXX/global_param'&lt;/P&gt;&lt;P&gt;TBLPROPERTIES (&lt;/P&gt;&lt;P&gt;  'COLUMN_STATS_ACCURATE'='true',&lt;/P&gt;&lt;P&gt;  'numFiles'='1',&lt;/P&gt;&lt;P&gt;  'numRows'='0',&lt;/P&gt;&lt;P&gt;  'rawDataSize'='0',&lt;/P&gt;&lt;P&gt;  'totalSize'='1866',&lt;/P&gt;&lt;P&gt;  'transient_lastDdlTime'='1463045355');&lt;/P&gt;&lt;P&gt;This returns OK.&lt;/P&gt;&lt;P&gt;hive&amp;gt; select * from global_param;&lt;/P&gt;&lt;P&gt;Failed with exception
java.io.IOException:com.amazonaws.services.s3.model.AmazonS3Exception: Status
Code: 403, AWS Service: Amazon S3, AWS Request ID: 1AD9B28AF6F67613, AWS Error
Code: null, AWS Error Message: Forbidden, S3 Extended Request ID: i2sb9uE02euTHe16iJ+ZEa5BnVsGjUVh+sRigCnQpSTVF+qkATS/rQRst7SUqivikbRTBdUqCX4=&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:52:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/We-are-getting-below-error-when-trying-to-read-the-table/m-p/167692#M49821</guid>
      <dc:creator>shyamshaw</dc:creator>
      <dc:date>2022-09-16T10:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: We are getting below error when trying to read the table from s3. We are able to create the hive tables pointing to s3 bucket but while reading the table we are facing the issue.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/We-are-getting-below-error-when-trying-to-read-the-table/m-p/167693#M49822</link>
      <description>&lt;P&gt;Is it anon access or IAM policy?. Which version of HDP/Hadoop are you using?. Debug logs would provide details on which credential provider it is trying to use.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 07:06:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/We-are-getting-below-error-when-trying-to-read-the-table/m-p/167693#M49822</guid>
      <dc:creator>rbalamohan</dc:creator>
      <dc:date>2016-12-23T07:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: We are getting below error when trying to read the table from s3. We are able to create the hive tables pointing to s3 bucket but while reading the table we are facing the issue.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/We-are-getting-below-error-when-trying-to-read-the-table/m-p/167694#M49823</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/13976/shyamshaw.html"&gt;Shyam Shaw&lt;/A&gt; Is your cluster running on EC2 instances? What S3 access policy did you create? &lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 07:06:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/We-are-getting-below-error-when-trying-to-read-the-table/m-p/167694#M49823</guid>
      <dc:creator>Dominika</dc:creator>
      <dc:date>2016-12-23T07:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: We are getting below error when trying to read the table from s3. We are able to create the hive tables pointing to s3 bucket but while reading the table we are facing the issue.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/We-are-getting-below-error-when-trying-to-read-the-table/m-p/167695#M49824</link>
      <description>&lt;P&gt;This issue has been resolved. AWS admin team was able to figure out the problem, they modified the policy and after that we were able to read the table from s3. &lt;/P&gt;&lt;P&gt;Thanks everyone for your help. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;  &lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2016 18:19:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/We-are-getting-below-error-when-trying-to-read-the-table/m-p/167695#M49824</guid>
      <dc:creator>shyamshaw</dc:creator>
      <dc:date>2016-12-26T18:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: We are getting below error when trying to read the table from s3. We are able to create the hive tables pointing to s3 bucket but while reading the table we are facing the issue.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/We-are-getting-below-error-when-trying-to-read-the-table/m-p/167696#M49825</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/13976/shyamshaw.html" nodeid="13976"&gt;@Shyam Shaw&lt;/A&gt; Even I am facing the same error message, even though there are read and write permissions on the bucket. Are there any other permissions which needs to be added on Bucket? &lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2017 03:27:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/We-are-getting-below-error-when-trying-to-read-the-table/m-p/167696#M49825</guid>
      <dc:creator>sparepally</dc:creator>
      <dc:date>2017-06-08T03:27:46Z</dc:date>
    </item>
  </channel>
</rss>

