草庐IT

Invalid_Request

全部标签

hadoop - Apache-PIG 脚本 : ERROR Invalid field projection on joined variable

我创建的Pig脚本有效,除非我尝试在我加入的字段上使用GENERATE。cc_data=LOAD'default.complaint1'USINGorg.apache.hive.hcatalog.pig.HCatLoader();cc2_data=LOAD'default.complaint2'USINGorg.apache.hive.hcatalog.pig.HCatLoader();combined=joincc_databycomplaintid,cc2_databycomplaintid;如果我对我的组合执行DESCRIBE,它会显示如下:合并:{cc_data::datere

Hadoop 字数 MapReduce : Getting invalid argument error for setInputFormatClass

我正在尝试运行一个wordcount程序,但我收到以下代码的错误job.setInputFormatClass(TextInputFormat.class);job.setOutputFormatClass(TextOutputFormat.class);Error:-"ThemethodsetInputFormatClass(Class)inthetypeJobisnotapplicableforthearguments(Class)" 最佳答案 可能的问题(没有看到您的所有代码)是您混合了两个mapreduceAPI,即mapr

spring - 范围 'session' 对当前线程无效;非法状态异常 : No thread-bound request found

我有一个Controller,我希望每个session都是唯一的。根据spring文档,实现有两个细节:1.初始网页配置Tosupportthescopingofbeansattherequest,session,andglobalsessionlevels(web-scopedbeans),someminorinitialconfigurationisrequiredbeforeyoudefineyourbeans.我已将以下内容添加到我的web.xml中,如文档中所示:org.springframework.web.context.request.RequestContextLis

spring - 范围 'session' 对当前线程无效;非法状态异常 : No thread-bound request found

我有一个Controller,我希望每个session都是唯一的。根据spring文档,实现有两个细节:1.初始网页配置Tosupportthescopingofbeansattherequest,session,andglobalsessionlevels(web-scopedbeans),someminorinitialconfigurationisrequiredbeforeyoudefineyourbeans.我已将以下内容添加到我的web.xml中,如文档中所示:org.springframework.web.context.request.RequestContextLis

hadoop - oozie REST api POST 新配置单元作业获取 "This request requires HTTP authentication."

我正在使用RESTapi将HIVE作业提交给oozie。我尝试使用postman和curl发送请求,但收到一条错误消息:“此请求需要HTTP身份验证。”我尝试在我的Clouderaquickstart和Hortonworks上运行它,但遇到了同样的错误。config.xml是:fs.default.namehdfs://localhost:8020mapred.job.trackerlocalhost:8021user.nameclouderaoozie.hive.scriptselect*fromtest;oozie.libpathhdfs://localhost:8020/user

hadoop - 无法在 HDP 2.5.0 中对 Oozie 运行 Spark 操作(java.lang.IllegalArgumentException : Invalid ContainerId)

我正在尝试运行一个简单的sparkJava应用程序。我可以在我们的集群中通过spark提交来运行应用程序我的job.properties文件如下:nameNode=hdfs://auper01-01-20-01-0.prod.vroc.com.au:8020jobTracker=auper01-02-10-01-0.prod.vroc.com.au:8050master=yarn-clusterqueueName=default#examplesRoot=examplesoozie.use.system.libpath=trueoozie.wf.application.path=${n

python-3.x - 来自 python worker :. 的错误 .. SyntaxError: invalid syntax

我刚刚通过这个网站在MACOSX上安装了Python、Spark、Hadoop和Eclipse:“https://enahwe.wordpress.com/2015/11/25/how-to-configure-eclipse-for-developing-with-python-and-spark-on-hadoop/”。我在本安装指南的第8步。当我运行MyWordounts文件时出现此错误:UsingSpark'sdefaultlog4jprofile:org/apache/spark/log4j-defaults.propertiesSettingdefaultloglevelt

hadoop - java.io.IOException : invalid distance too far back in hadoop mapreduce 异常

我在我的一些mapreduce作业中遇到了这个奇怪的错误java.io.IOException:invaliddistancetoofarbackatorg.apache.hadoop.io.compress.zlib.ZlibDecompressor.inflateBytesDirect(NativeMethod)atorg.apache.hadoop.io.compress.zlib.ZlibDecompressor.decompress(ZlibDecompressor.java:221)atorg.apache.hadoop.io.compress.DecompressorSt

apache - HRegionServer 显示 "error telling master we are up"。显示套接字异常 : Invalid argument

我正在尝试在3台centos机器上创建一个hbase集群。Hadoop(v-2.8.0)已启动并在我配置的HBase(v-1.2.5)上运行。Hbase启动正常,它启动了HMaster和区域服务器,但它仍然在区域服务器和HMaster日志中显示以下错误它显示没有区域服务器被checkin。2017-04-2019:30:33,950WARN[regionserver/localhost/127.0.0.1:16020]regionserver.HRegionServer:errortellingmasterweareupcom.google.protobuf.ServiceExcept

java - "Unable to execute HTTP Request: Broken Pipe"与 Amazon EMR 上的 Hadoop/s3

我开发了一个自定义JAR,我用它来处理ElasticMapReduce中的数据。数据是来自AmazonS3的数十万个文件。JAR没有做任何非常时髦的事情来读取数据-它只是使用CombineFileInputFormat。当我针对少量测试数据运行作业时,一切都完美无缺。然而,当我针对我的完整数据集运行它时,在我的工作中花费了一段(随机)时间,我会遇到某种似乎没有得到正确处理的HTTP或套接字错误。在一项工作中,我在SYSLOG中得到以下信息:2015-11-1621:47:17,504INFOcom.amazon.ws.emr.hadoop.fs.s3n.S3NativeFileSyst