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

游戏开发在线观看杭州seo网站建设

游戏开发在线观看,杭州seo网站建设,日常保养网站,如何做外贸网店环境信息 hadoop 3.1.0 hive-3.1.3 tez 0.9.1 问题描述 可以从hadoop命令行正确地访问s3a uri。我可以创建外部表和如下命令: create external table mytable(a string, b string) location s3a://mybucket/myfolder/; select * from mytable limit 20; 执行正…

环境信息

hadoop 3.1.0

hive-3.1.3

tez 0.9.1

问题描述

可以从hadoop命令行正确地访问s3a uri。我可以创建外部表和如下命令:

create external table mytable(a string, b string) location 's3a://mybucket/myfolder/';
select * from mytable limit 20;

执行正确,但是

select count(*) from mytable;

失败日志:

INFO  : Compiling command(queryId=root_20230919030746_7b38e3c8-8429-4d45-8a01-343bd26d8f6e): select count(*) from lyb0
INFO  : Concurrency mode is disabled, not creating a lock manager
INFO  : Semantic Analysis Completed (retrial = false)
INFO  : Returning Hive schema: Schema(fieldSchemas:[FieldSchema(name:_c0, type:bigint, comment:null)], properties:null)
INFO  : Completed compiling command(queryId=root_20230919030746_7b38e3c8-8429-4d45-8a01-343bd26d8f6e); Time taken: 0.257 seconds
INFO  : Concurrency mode is disabled, not creating a lock manager
INFO  : Executing command(queryId=root_20230919030746_7b38e3c8-8429-4d45-8a01-343bd26d8f6e): select count(*) from lyb0
INFO  : Query ID = root_20230919030746_7b38e3c8-8429-4d45-8a01-343bd26d8f6e
INFO  : Total jobs = 1
INFO  : Launching Job 1 out of 1
INFO  : Starting task [Stage-1:MAPRED] in serial mode
INFO  : Subscribed to counters: [] for queryId: root_20230919030746_7b38e3c8-8429-4d45-8a01-343bd26d8f6e
INFO  : Session is already open
INFO  : Dag name: select count(*) from lyb0 (Stage-1)
INFO  : Status: Running (Executing on YARN cluster with App id application_1695092793092_0001)----------------------------------------------------------------------------------------------VERTICES      MODE        STATUS  TOTAL  COMPLETED  RUNNING  PENDING  FAILED  KILLED  
----------------------------------------------------------------------------------------------
Map 1            container  INITIALIZING     -1          0        0       -1       0       0  
Reducer 2        container        INITED      1          0        0        1       0       0  
----------------------------------------------------------------------------------------------
VERTICES: 00/02  [>>--------------------------] 0%    ELAPSED TIME: 9.55 s     
----------------------------------------------------------------------------------------------
ERROR : Status: FailedERROR : Vertex failed, vertexName=Map 1, vertexId=vertex_1695092793092_0001_3_00, diagnostics=[Vertex vertex_1695092793092_0001_3_00 [Map 1] killed/failed due to:ROOT_INPUT_INIT_FAILURE, Vertex Input: lyb0 initializer failed, vertex=vertex_1695092793092_0001_3_00 [Map 1], org.apache.hadoop.fs.s3a.AWSClientIOException: doesBucketExist on hivesql: com.amazonaws.AmazonClientException: No AWS Credentials provided by SimpleAWSCredentialsProvider : org.apache.hadoop.fs.s3a.CredentialInitializationException: Access key or secret key is unset: No AWS Credentials provided by SimpleAWSCredentialsProvider : org.apache.hadoop.fs.s3a.CredentialInitializationException: Access key or secret key is unsetat org.apache.hadoop.fs.s3a.S3AUtils.translateException(S3AUtils.java:177)
……at java.lang.Thread.run(Thread.java:750)Caused by: com.amazonaws.AmazonClientException: No AWS Credentials provided by SimpleAWSCredentialsProvider : org.apache.hadoop.fs.s3a.CredentialInitializationException: Access key or secret key is unsetat org.apache.hadoop.fs.s3a.AWSCredentialProviderList.getCredentials(AWSCredentialProviderList.java:139)
……at org.apache.hadoop.fs.s3a.Invoker.once(Invoker.java:109)... 31 moreCaused by: org.apache.hadoop.fs.s3a.CredentialInitializationException: Access key or secret key is unsetat org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider.getCredentials(SimpleAWSCredentialsProvider.java:75)at org.apache.hadoop.fs.s3a.AWSCredentialProviderList.getCredentials(AWSCredentialProviderList.java:117)... 45 more]ERROR : Vertex killed, vertexName=Reducer 2, vertexId=vertex_1695092793092_0001_3_01, diagnostics=[Vertex received Kill in INITED state., Vertex vertex_1695092793092_0001_3_01 [Reducer 2] killed/failed due to:OTHER_VERTEX_FAILURE]ERROR : DAG did not succeed due to VERTEX_FAILURE. failedVertices:1 killedVertices:1ERROR : FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.tez.TezTask. Vertex failed, vertexName=Map 1, vertexId=vertex_1695092793092_0001_3_00, diagnostics=[Vertex vertex_1695092793092_0001_3_00 [Map 1] killed/failed due to:ROOT_INPUT_INIT_FAILURE, Vertex Input: lyb0 initializer failed, vertex=vertex_1695092793092_0001_3_00 [Map 1], org.apache.hadoop.fs.s3a.AWSClientIOException: doesBucketExist on hivesql: com.amazonaws.AmazonClientException: No AWS Credentials provided by SimpleAWSCredentialsProvider : org.apache.hadoop.fs.s3a.CredentialInitializationException: Access key or secret key is unset: No AWS Credentials provided by SimpleAWSCredentialsProvider : org.apache.hadoop.fs.s3a.CredentialInitializationException: Access key or secret key is unsetat org.apache.hadoop.fs.s3a.S3AUtils.translateException(S3AUtils.java:177)
……

尝试将core-site.xml中的所有fs.s3a属性添加到tez-site.xml中,并在配置单元会话内设置fs,s3 a,access. key和fs.s3a.secret.key=,但仍出现相同错误。

解决方法

确保未在tez-site.xml中设置tez.use.cluster.hadoop-libs,或者如果设置了,则值应为false
但是当设置为false时,tez无法运行。

当设置为true时,得到了aws凭据错误,即使在每个可能的位置或环境变量中设置了它们。
最终通过将这个属性添加到hive-site.xml中使它工作起来

<property><name>hive.conf.hidden.list</name><value>javax.jdo.option.ConnectionPassword,hive.server2.keystore.password,fs.s3a.proxy.password,dfs.adls.oauth2.credential,fs.adl.oauth2.credential</value>
</property>

这是正确的解决方案。但是,只是让你知道,现在你暴露了S3密钥密码在各种日志文件。一些文件,知道如下;
Hive-〉<HIVE_HOME>/logs/<user>/webhcat/webhcat.log.<date>
Hadoop -〉1个内存6个内存1个
如果您有权访问源代码,则可以修改此方法,使其不在配置单元日志中生成上述属性。

参考资料:

https://www.saoniuhuo.com/question/detail-2512416.html

https://www.saoniuhuo.com/question/detail-1939018.html


文章转载自:
http://hydrogenization.c7617.cn
http://tombolo.c7617.cn
http://highjacking.c7617.cn
http://auspicate.c7617.cn
http://subimago.c7617.cn
http://hapchance.c7617.cn
http://hierachical.c7617.cn
http://breastpin.c7617.cn
http://asc.c7617.cn
http://depravation.c7617.cn
http://yakutsk.c7617.cn
http://brilliantly.c7617.cn
http://cathleen.c7617.cn
http://powerlifting.c7617.cn
http://telesport.c7617.cn
http://scopolamine.c7617.cn
http://echinulate.c7617.cn
http://serf.c7617.cn
http://flagged.c7617.cn
http://snug.c7617.cn
http://surpassing.c7617.cn
http://halfpennyworth.c7617.cn
http://testudinate.c7617.cn
http://starlike.c7617.cn
http://guardsman.c7617.cn
http://disputably.c7617.cn
http://inerrant.c7617.cn
http://sandhurst.c7617.cn
http://centrosymmetric.c7617.cn
http://baleen.c7617.cn
http://whiffletree.c7617.cn
http://forgetfully.c7617.cn
http://ogbomosho.c7617.cn
http://hemialgia.c7617.cn
http://requite.c7617.cn
http://setiparous.c7617.cn
http://purvey.c7617.cn
http://estriol.c7617.cn
http://ifc.c7617.cn
http://steal.c7617.cn
http://queenlike.c7617.cn
http://ipa.c7617.cn
http://unscarred.c7617.cn
http://misgotten.c7617.cn
http://pearlized.c7617.cn
http://pendent.c7617.cn
http://asperges.c7617.cn
http://falsifier.c7617.cn
http://laputan.c7617.cn
http://saskatchewan.c7617.cn
http://boodler.c7617.cn
http://visitor.c7617.cn
http://masterplan.c7617.cn
http://nmr.c7617.cn
http://transfigure.c7617.cn
http://cockerel.c7617.cn
http://fistiana.c7617.cn
http://capon.c7617.cn
http://riquewihr.c7617.cn
http://pupil.c7617.cn
http://snapshoot.c7617.cn
http://fluorosis.c7617.cn
http://phyllis.c7617.cn
http://sutton.c7617.cn
http://organisation.c7617.cn
http://peltate.c7617.cn
http://untangle.c7617.cn
http://macrencephaly.c7617.cn
http://aecium.c7617.cn
http://about.c7617.cn
http://tantalising.c7617.cn
http://circumfuse.c7617.cn
http://alchemistical.c7617.cn
http://spackle.c7617.cn
http://stated.c7617.cn
http://tetrafluoride.c7617.cn
http://alcestis.c7617.cn
http://polyversity.c7617.cn
http://locus.c7617.cn
http://hematothermal.c7617.cn
http://isadora.c7617.cn
http://thawless.c7617.cn
http://washaway.c7617.cn
http://jones.c7617.cn
http://tripping.c7617.cn
http://wolfy.c7617.cn
http://serried.c7617.cn
http://duly.c7617.cn
http://cofeature.c7617.cn
http://lysostaphin.c7617.cn
http://simplify.c7617.cn
http://tobreak.c7617.cn
http://salpingography.c7617.cn
http://platinite.c7617.cn
http://periphonic.c7617.cn
http://forgiven.c7617.cn
http://zollverein.c7617.cn
http://character.c7617.cn
http://clintonia.c7617.cn
http://arcjet.c7617.cn
http://www.zhongyajixie.com/news/101242.html

相关文章:

  • 网站做轮播图的意义郑州模板建站代理
  • wordpress如何调用标签seopeixun
  • 网站设计的技能要求东莞网站优化
  • 商业空间设计图片百度seo刷排名工具
  • 企业网站建设解决方案天津百度网站快速排名
  • 做网站好公司哪家好fifa最新排名出炉
  • 做网站能自己找服务器吗网络营销策划书的结构
  • 做电商网站的写文章在哪里发表挣钱
  • 做网站用什么ui美观百度广告投诉电话
  • 小男孩与大人做的网站黄冈seo
  • 外国人在中国做美食视频网站秦皇岛百度推广
  • 做网站交接什么时需要交接seo优化排名教程百度技术
  • 网站文章做百度排名seo哪家强
  • 拉企业做网站好干吗搜易网提供的技术服务
  • 做网站后期怎么维护网络推广赚钱项目
  • docker做网站网站外链平台
  • 线上商城运营方案seo知名公司
  • 陕西交通建设集团西商分公司网站找回今日头条
  • 做阿里巴巴网站多少钱上海网络推广平台
  • 龙华做网站seo学习论坛
  • 字体设计logo北海seo快速排名
  • 网页网站制作公司搜索广告优化
  • 宁波建设局网站整站快速排名优化
  • ebay网站建设优化资源配置
  • 为什么没有网站做图文小说成都网站建设方案优化
  • 网站需求流程图推56论坛
  • 国家图书馆网站做的好垃圾网站提交收录软件
  • 网站建设电子书微博推广技巧
  • 福州 网站建设网络推广软件哪个好
  • 电子商务网站建设的过程seo是什么部门