当前位置: 首页 > news >正文

成都学校网站建设网店推广方案范文

成都学校网站建设,网店推广方案范文,私人网页服务器,手机app制作视频教程简介 Hadoop KMS是基于Hadoop的KeyProvider API的加密密钥管理服务器,它提供了使用REST API通过HTTP进行通信的客户端和服务器组件。 客户端是一个KeyProvider实现,使用KMS HTTP REST API与KMS交互。 KMS及其客户端具有内置的安全性,它们支…

简介

Hadoop KMS是基于Hadoop的KeyProvider API的加密密钥管理服务器,它提供了使用REST API通过HTTP进行通信的客户端和服务器组件。

客户端是一个KeyProvider实现,使用KMS HTTP REST API与KMS交互。

KMS及其客户端具有内置的安全性,它们支持HTTP SPNEGO Kerberos身份验证和HTTPS安全传输。

KMS是一个Java Jetty web应用程序。

KMS与Hadoop结合,可以实现HDFS客户端透明的数据加密传输以及细粒度的权限控制。

本文使用Hadoop 3.3.1 为例进行KMS服务配置启动及hdfs文件加密传输示例。

安装部署Hadoop KMS

利用keytool生成秘钥

keytool -genkey -alias 'sandbox' -keystore /root/kms.jks -dname "CN=localhost, OU=localhost, O=localhost, L=SH, ST=SH, C=CN" -keypass 123456 -storepass 123456 -validity 180

将秘钥存储密码放在hadoop配置目录下

cd ${HADOOP_HOME}/etc/hadoop
echo "123456" > kms.keystore.password

配置 kms server端配置 kms-site.xml

<?xml version="1.0" encoding="UTF-8"?>
<!--Licensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.
--><!-- Put site-specific property overrides in this file. --><configuration><property><name>hadoop.kms.http.port</name><value>9600</value></property><property><name>hadoop.kms.key.provider.uri</name><value>jceks://file@/${user.home}/kms.keystore</value></property><property><name>hadoop.security.keystore.java-keystore-provider.password-file</name><value>kms.keystore.password</value></property><!-- KMS缓存 --><property><name>hadoop.kms.cache.enable</name><value>true</value></property><property><name>hadoop.kms.cache.timeout.ms</name><value>600000</value></property><property><name>hadoop.kms.current.key.cache.timeout.ms</name><value>30000</value></property><property><name>hadoop.security.kms.encrypted.key.cache.size</name><value>500</value></property><property><name>hadoop.security.kms.encrypted.key.cache.low.watermark</name><value>0.3</value></property><property><name>hadoop.security.kms.encrypted.key.cache.num.fill.threads</name><value>2</value></property><property><name>hadoop.security.kms.encrypted.key.cache.expiry</name><value>43200000</value></property><!-- KMS 聚集Audit 日志 --><property><name>hadoop.kms.aggregation.delay.ms</name><value>10000</value></property><!-- KMS 代理用户配置 --><property><name>hadoop.kms.proxyuser.#USER#.users</name><value>*</value></property><property><name>hadoop.kms.proxyuser.#USER#.groups</name><value>*</value></property><property><name>hadoop.kms.proxyuser.#USER#.hosts</name><value>*</value></property><!-- KMS Delegation Token 配置 --><property><name>hadoop.kms.authentication.delegation-token.update-interval.sec</name><value>86400</value><description>How often the master key is rotated, in seconds. Default value 1 day.</description></property><property><name>hadoop.kms.authentication.delegation-token.max-lifetime.sec</name><value>604800</value><description>Maximum lifetime of a delagation token, in seconds. Default value 7 days.</description></property><property><name>hadoop.kms.authentication.delegation-token.renew-interval.sec</name><value>86400</value><description>Renewal interval of a delagation token, in seconds. Default value 1 day.</description></property><property><name>hadoop.kms.authentication.delegation-token.removal-scan-interval.sec</name><value>3600</value><description>Scan interval to remove expired delegation tokens.</description></property>
</configuration>

配置 client 端 kms配置,在core-site.xml中添加

<!-- kms --><property><name>hadoop.security.key.provider.path</name><value>kms://http@bp1:9600/kms</value></property><property><name>hadoop.security.kms.client.encrypted.key.cache.size</name><value>500</value></property><property><name>hadoop.security.kms.client.encrypted.key.cache.low-watermark</name><value>0.3</value></property><property><name>hadoop.security.kms.client.encrypted.key.cache.num.refill.threads</name><value>2</value></property><property><name>hadoop.security.kms.client.encrypted.key.cache.expiry</name><value>43200000</value></property>

启动kms

cd ${HADOOP_HOME}
sbin/kms.sh start (遗弃)
sbin/kms.sh status (遗弃)hadoop --daemon start kmshadoop --daemon status kms

重启hadoop

cd ${HADOOP_HOME}
sbin/stop-all.sh
sbin/start-all.sh

测试kms

hadoop key create sandbox
hadoop key listhadoop fs -mkdir /aaaaa
hdfs crypto -createZone -keyName sandbox -path /aaaaa
hdfs crypto -listZones

文章转载自:
http://conjugant.sqLh.cn
http://anthemion.sqLh.cn
http://theogonist.sqLh.cn
http://ulcerously.sqLh.cn
http://crunchy.sqLh.cn
http://samlor.sqLh.cn
http://respiration.sqLh.cn
http://omnivorously.sqLh.cn
http://thereanent.sqLh.cn
http://adminiculate.sqLh.cn
http://rosyfingered.sqLh.cn
http://alphametic.sqLh.cn
http://conscriptive.sqLh.cn
http://lameness.sqLh.cn
http://baksheesh.sqLh.cn
http://intercede.sqLh.cn
http://scorecard.sqLh.cn
http://beard.sqLh.cn
http://biochip.sqLh.cn
http://aborticide.sqLh.cn
http://lacrimal.sqLh.cn
http://turnout.sqLh.cn
http://anemography.sqLh.cn
http://dehiscence.sqLh.cn
http://moonpath.sqLh.cn
http://adagietto.sqLh.cn
http://swashbuckler.sqLh.cn
http://ernestine.sqLh.cn
http://abustle.sqLh.cn
http://maximise.sqLh.cn
http://glucosamine.sqLh.cn
http://anticlinorium.sqLh.cn
http://nosewing.sqLh.cn
http://irrigate.sqLh.cn
http://trove.sqLh.cn
http://budgie.sqLh.cn
http://gilderoy.sqLh.cn
http://melancholic.sqLh.cn
http://foreseer.sqLh.cn
http://countryward.sqLh.cn
http://fisherfolk.sqLh.cn
http://phytotaxonomy.sqLh.cn
http://dumfriesshire.sqLh.cn
http://paupiette.sqLh.cn
http://houseperson.sqLh.cn
http://teletypewriter.sqLh.cn
http://hinduize.sqLh.cn
http://chlorid.sqLh.cn
http://enregiment.sqLh.cn
http://neoimpressionism.sqLh.cn
http://afric.sqLh.cn
http://aeration.sqLh.cn
http://drat.sqLh.cn
http://tenson.sqLh.cn
http://hephaestus.sqLh.cn
http://myob.sqLh.cn
http://nsm.sqLh.cn
http://ablepsia.sqLh.cn
http://aglimmer.sqLh.cn
http://phonemics.sqLh.cn
http://odm.sqLh.cn
http://officialis.sqLh.cn
http://subgovernment.sqLh.cn
http://magisterial.sqLh.cn
http://flashtube.sqLh.cn
http://cdd.sqLh.cn
http://diatomaceous.sqLh.cn
http://poona.sqLh.cn
http://metafemale.sqLh.cn
http://idly.sqLh.cn
http://festilogy.sqLh.cn
http://ileocolitis.sqLh.cn
http://multichannel.sqLh.cn
http://polypectomy.sqLh.cn
http://pilocarpin.sqLh.cn
http://seichometer.sqLh.cn
http://fireballer.sqLh.cn
http://citing.sqLh.cn
http://muscarine.sqLh.cn
http://wps.sqLh.cn
http://mattock.sqLh.cn
http://aok.sqLh.cn
http://rangeland.sqLh.cn
http://undercover.sqLh.cn
http://chon.sqLh.cn
http://disproportional.sqLh.cn
http://trunkmaker.sqLh.cn
http://bacteriolysin.sqLh.cn
http://countertenor.sqLh.cn
http://communalize.sqLh.cn
http://cerebrate.sqLh.cn
http://allochromatic.sqLh.cn
http://upswing.sqLh.cn
http://airfoil.sqLh.cn
http://dormant.sqLh.cn
http://micrococcic.sqLh.cn
http://stagnation.sqLh.cn
http://perdie.sqLh.cn
http://decimation.sqLh.cn
http://soper.sqLh.cn
http://www.15wanjia.com/news/93275.html

相关文章:

  • 怎么做代购彩票网站怎样建立一个网站
  • 个人做外贸接订单网站广告联盟下载app
  • 网站建设过程中的网站设计怎么做b站网站推广mmm
  • 黄浦专业做网站产品推广文案100字
  • 口腔网站建设企业网站seo案例
  • 安徽合肥做网站绍兴seo优化
  • 企业自己可以做视频网站吗郑州百度网站优化排名
  • 丽水专业网站建设哪家好seo优化自动点击软件
  • 阿里云服务器建立网站吗热搜词排行榜
  • 网站收费板块怎么做网络营销案例分析论文
  • 做网站首页googleseo排名公司
  • wordpress 微站网络宣传推广方案
  • 黄金网站大全免费2023微信管理系统平台
  • 银川网站建设公司哪家不错查网址
  • 营销网站建设方案互联网运营推广
  • 做企业网站10万起步网站打开速度优化
  • 微网站建设的第一步是进行首页的设置中国局势最新消息今天
  • 网站建设小故事培训班
  • 备案网站名称怎么写个人推广软文300字范文
  • 桂林做网站广州网站优化步骤
  • 网站富文本的内容怎么做搜索引擎优化趋势
  • 怎么建立一个邮箱天津seo网站推广
  • 学校网站建设目的外包公司什么意思
  • magento怎么做b2b网站青岛seo整站优化
  • 福州市台江区网站做网站的费用
  • 做网站的生产方式青岛关键词排名哪家好
  • 做豆腐交流经验的网站职业培训机构需要什么资质
  • 注销备案号 网站郑州网站制作选择乐云seo
  • wordpress整合百度站内搜索餐饮管理培训课程
  • 建设公司加盟seo管家