Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/amazon-s3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Encryption 在EMR中对使用AWS客户端主密钥加密的数据运行presto查询时出现解密问题_Encryption_Amazon S3_Hive_Emr_Presto - Fatal编程技术网

Encryption 在EMR中对使用AWS客户端主密钥加密的数据运行presto查询时出现解密问题

Encryption 在EMR中对使用AWS客户端主密钥加密的数据运行presto查询时出现解密问题,encryption,amazon-s3,hive,emr,presto,Encryption,Amazon S3,Hive,Emr,Presto,我使用了您最新的脚本,成功地在AmazonEMR实例上安装了presto服务器(版本0.99)和Java8。我的数据文件位于一个s3存储桶中,该存储桶使用加密的客户端客户管理密钥进行加密。当我创建一个引用s3中那些加密数据文件的配置单元表时,配置单元可以成功地解密记录并在控制台中显示它。但是,当从presto命令行界面查看相同的外部表时,数据以加密形式显示。我已经查看了您的链接: 并在my hive.properties文件中添加了这些属性,如下所示 hive.s3.connect-timeou

我使用了您最新的脚本,成功地在AmazonEMR实例上安装了presto服务器(版本0.99)和Java8。我的数据文件位于一个s3存储桶中,该存储桶使用加密的客户端客户管理密钥进行加密。当我创建一个引用s3中那些加密数据文件的配置单元表时,配置单元可以成功地解密记录并在控制台中显示它。但是,当从presto命令行界面查看相同的外部表时,数据以加密形式显示。我已经查看了您的链接:

并在my hive.properties文件中添加了这些属性,如下所示

hive.s3.connect-timeout=2m
hive.s3.max-backoff-time=10m
hive.s3.max-error-retries=50
hive.metastore-refresh-interval=1m
hive.s3.max-connections=500
hive.s3.max-client-retries=50
connector.name=hive-hadoop2
hive.s3.socket-timeout=2m
hive.s3.aws-access-key=***
hive.s3.aws-secret-key=**
hive.metastore.uri=thrift://localhost:9083
hive.metastore-cache-ttl=20m
hive.s3.staging-directory=/mnt/tmp/
hive.s3.use-instance-credentials=true

非常感谢您提供有关如何使用presto cli解密文件的任何帮助。

我们将跟进您提交的问题: