<?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: Hive jobs are not running on s3n/impala failed to open hdfs files s3n://my_bucket in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-jobs-are-not-running-on-s3n-impala-failed-to-open-hdfs/m-p/50236#M52248</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MR/Hive Jobs Issue resolved by replacing old jars with new version and switched to s3a. Below are the jars that are replaced.&lt;/P&gt;&lt;P&gt;jets3t jar&lt;/P&gt;&lt;P&gt;aws-java-sdk jars&lt;/P&gt;&lt;P&gt;jackson jars&lt;/P&gt;</description>
    <pubDate>Wed, 01 Feb 2017 06:17:00 GMT</pubDate>
    <dc:creator>RakeshE</dc:creator>
    <dc:date>2017-02-01T06:17:00Z</dc:date>
    <item>
      <title>Hive jobs are not running on s3n/impala failed to open hdfs files s3n://my_bucket</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-jobs-are-not-running-on-s3n-impala-failed-to-open-hdfs/m-p/49807#M52244</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I added&amp;nbsp; &lt;SPAN&gt;fs.s3n.awsAccessKeyId and &lt;SPAN&gt;fs.s3n.awsSecretAccessKey properties in core,hdfs,hive-site.xml. I am able to run select * from tbl which is on s3 and got the resullt with beeline.But, when i run select count(*) from tbl, it's getting failed with following errors&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Error: java.io.IOException: java.lang.reflect.&lt;/SPAN&gt;&lt;SPAN&gt;InvocationTargetException&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.hadoop.hive.io.&lt;/SPAN&gt;&lt;SPAN&gt;HiveIOExceptionHandlerChain.&lt;/SPAN&gt;&lt;SPAN&gt;handleRecordReaderCreationExce&lt;/SPAN&gt;&lt;SPAN&gt;ption(&lt;/SPAN&gt;&lt;SPAN&gt;HiveIOExceptionHandlerChain.&lt;/SPAN&gt;&lt;SPAN&gt;java:97)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;........&lt;BR /&gt;&lt;SPAN&gt;Caused by: java.lang.reflect.&lt;/SPAN&gt;&lt;SPAN&gt;InvocationTargetException&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.reflect.&lt;/SPAN&gt;&lt;SPAN&gt;NativeConstructorAccessorImpl.&lt;/SPAN&gt;&lt;SPAN&gt;newInstance0(Native Method)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.hadoop.hive.shims.&lt;/SPAN&gt;&lt;SPAN&gt;HadoopShimsSecure$&lt;/SPAN&gt;&lt;SPAN&gt;CombineFileRecordReader.&lt;/SPAN&gt;&lt;SPAN&gt;initNextRecordReader(&lt;/SPAN&gt;&lt;SPAN&gt;HadoopShimsSecure.java:251)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ... 11 more&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: java.io.IOException: s3n://rakeshs3 : 400 : Bad Request&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.hadoop.fs.s3native.&lt;/SPAN&gt;&lt;SPAN&gt;Jets3tNativeFileSystemStore.&lt;/SPAN&gt;&lt;SPAN&gt;processException(&lt;/SPAN&gt;&lt;SPAN&gt;Jets3tNativeFileSystemStore.&lt;/SPAN&gt;&lt;SPAN&gt;java:453)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.hadoop.fs.s3native.&lt;/SPAN&gt;&lt;SPAN&gt;Jets3tNativeFileSystemStore.&lt;/SPAN&gt;&lt;SPAN&gt;processException(&lt;/SPAN&gt;&lt;SPAN&gt;Jets3tNativeFileSystemStore.&lt;/SPAN&gt;&lt;SPAN&gt;java:427)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ... 16 more&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: org.jets3t.service.impl.rest.&lt;/SPAN&gt;&lt;SPAN&gt;HttpException: 400 Bad Request&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jets3t.service.impl.rest.&lt;/SPAN&gt;&lt;SPAN&gt;httpclient.RestStorageService.&lt;/SPAN&gt;&lt;SPAN&gt;performRequest(&lt;/SPAN&gt;&lt;SPAN&gt;RestStorageService.java:425)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jets3t.service.impl.rest.&lt;/SPAN&gt;&lt;SPAN&gt;httpclient.RestStorageService.&lt;/SPAN&gt;&lt;SPAN&gt;performRequest(&lt;/SPAN&gt;&lt;SPAN&gt;RestStorageService.java:279)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ... 29 more&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Impala Errors:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Failed to open HDFS file s3n://rakeshs3/tel.txt&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;Error(255): Unknown error 255&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:55:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-jobs-are-not-running-on-s3n-impala-failed-to-open-hdfs/m-p/49807#M52244</guid>
      <dc:creator>RakeshE</dc:creator>
      <dc:date>2022-09-16T10:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Hive jobs are not running on s3n/impala failed to open hdfs files s3n://my_bucket</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-jobs-are-not-running-on-s3n-impala-failed-to-open-hdfs/m-p/49812#M52245</link>
      <description>&lt;P&gt;Hello Rakesh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately s3n filesystem scheme is not supported by Impala:&amp;nbsp;&lt;A href="http://www.cloudera.com/documentation/enterprise/latest/topics/impala_s3.html#s3_restrictions" target="_blank"&gt;http://www.cloudera.com/documentation/enterprise/latest/topics/impala_s3.html#s3_restrictions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you set up s3a, please look at the recommended settings at "Best Practices for Using Impala with S3" section on the same page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Miklos Szurap&lt;/P&gt;&lt;P&gt;Customer Operations Engineer&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 12:35:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-jobs-are-not-running-on-s3n-impala-failed-to-open-hdfs/m-p/49812#M52245</guid>
      <dc:creator>mszurap</dc:creator>
      <dc:date>2017-01-23T12:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Hive jobs are not running on s3n/impala failed to open hdfs files s3n://my_bucket</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-jobs-are-not-running-on-s3n-impala-failed-to-open-hdfs/m-p/49814#M52246</link>
      <description>Thanks Miklos..&lt;BR /&gt;&lt;BR /&gt;What about hive MR jobs ?</description>
      <pubDate>Mon, 23 Jan 2017 12:46:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-jobs-are-not-running-on-s3n-impala-failed-to-open-hdfs/m-p/49814#M52246</guid>
      <dc:creator>RakeshE</dc:creator>
      <dc:date>2017-01-23T12:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Hive jobs are not running on s3n/impala failed to open hdfs files s3n://my_bucket</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-jobs-are-not-running-on-s3n-impala-failed-to-open-hdfs/m-p/49816#M52247</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you see the same for Hive/MapReduce jobs, then please can you confirm that the table in question has many partitions? We have seen similar problems for tables where it contained&amp;nbsp;over thousand or ten thousands of partitions.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 12:51:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-jobs-are-not-running-on-s3n-impala-failed-to-open-hdfs/m-p/49816#M52247</guid>
      <dc:creator>mszurap</dc:creator>
      <dc:date>2017-01-23T12:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Hive jobs are not running on s3n/impala failed to open hdfs files s3n://my_bucket</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-jobs-are-not-running-on-s3n-impala-failed-to-open-hdfs/m-p/50236#M52248</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MR/Hive Jobs Issue resolved by replacing old jars with new version and switched to s3a. Below are the jars that are replaced.&lt;/P&gt;&lt;P&gt;jets3t jar&lt;/P&gt;&lt;P&gt;aws-java-sdk jars&lt;/P&gt;&lt;P&gt;jackson jars&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2017 06:17:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-jobs-are-not-running-on-s3n-impala-failed-to-open-hdfs/m-p/50236#M52248</guid>
      <dc:creator>RakeshE</dc:creator>
      <dc:date>2017-02-01T06:17:00Z</dc:date>
    </item>
  </channel>
</rss>

