hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From praveenesh kumar <praveen...@gmail.com>
Subject Re: Anyone has tried accessing TDE using HDFS Java APIs
Date Fri, 26 Jan 2018 08:48:26 GMT
Hi Ajay

We are using HDP 2.5.5 with HDFS 2.7.1.2.5

Thanks
Prav

On Thu, Jan 25, 2018 at 5:47 PM, Ajay Kumar <ajay.kumar@hortonworks.com>
wrote:

> Hi Praveenesh,
>
>
>
> What version of Hadoop you are using?
>
>
>
> Thanks,
>
> Ajay
>
>
>
> *From: *praveenesh kumar <praveenesh@gmail.com>
> *Date: *Thursday, January 25, 2018 at 8:22 AM
> *To: *"user@hadoop.apache.org" <user@hadoop.apache.org>
> *Subject: *Anyone has tried accessing TDE using HDFS Java APIs
>
>
>
> Hi
>
>
>
> We are trying to access TDE files using HDFS JAVA API. The user which is
> running the job has access to the TDE zone. We have tried accessing the
> file successfully in Hadoop FS Command shell.
>
>
>
> If we pass the same file in spark using the same user, it also gets read
> properly.
>
>
>
> Its just when we are trying to use the vanila HDFS APIs, its not able to
> pick the file. And when it picks, its not able to decipher the text. The
> data is not getting decrypted. My understanding is when you pass
> hdfs-site.xml, core-site.xml and kms-site.xml to the configuration object,
> it should be able to handle keys automatically.
>
>
>
> Not sure if we need to do anything extra in JAVA API. Any pointers. There
> aren't a single example in the documentation to get the TDE files via HDFS
> Java API.
>
>
>
> Any suggestions would be much appreciated.
>
>
>
> Regards
>
> Prav
>

Mime
View raw message