草庐IT

executed

全部标签

Could not locate executable null\bin\winutils.exe in the Hadoop binaries解决方式

FailedtolocatethewinutilsbinaryinthehadoopbinarypathCouldnotlocateexecutablenull\bin\winutils.exeintheHadoopbinaries 仔细查看报错是缺少winutils.exe程序。Hadoop都是运行在Linux系统下的,在windows下eclipse中运行mapreduce程序,要首先安装Windows下运行的支持插件(我的是hadoop2.2.0)GitHub-srccodes/hadoop-common-2.2.0-bin:hadoop-common-2.2.0/bin在windows

Centos7设置开机禁用防火墙报错:Failed to execute operation: No such file or directory

报错异常:Failedtoexecuteoperation:Nosuchfileordirectory异常原因:输入命令systemctlstopfirewall.service关闭防火墙,查看到防火墙为关闭状态后,使用命令systemctldisablefirewall.service设置开机禁用防火墙时报错,原因是centos版本的不一样,命令也发生了相关改动解决方法:换用新的命令执行systemctldisablefirewalld.service小节:著此篇,与君享,互勉之,共进步!

Failed to execute ‘setRequestHeader‘ on ‘XMLHttpRequest‘: String contains non ISO-8859-1 code point

问题接口请求的headers参数里有不符合ISO-8859-1标准的字符,所以导致设置接口headers参数的setRequestHeader方法失效,然后报错。Failedtoexecute‘setRequestHeader’on‘XMLHttpRequest’:StringcontainsnonISO-8859-1codepoint解决方式常见的接口请求头不符合ISO-8859-1标准的有中文,不传中文最省心了。遇到这种情况,一般两种解决方式,要么解决参数问题,要么给参数编码。方式1:解决参数问题需要加到headers的参数里的数据提前正则校验处理,如果不符合ISO-8859-1就不允许设

(已解决)Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test

问题:Springboot在运行单元测试的时候只要一运行就会出现下面代码Failedtoexecutegoalorg.apache.maven.plugins:maven-surefire-plugin:2.22.2:test(default-test)onprojectspringboot-mybatis-puls:Therearetestfailures.PleaserefertoF:\20210701train\procedure\springboot-mybatis-puls\target\surefire-reportsfortheindividualtestresults.Plea

IDEA 运行hql 出现FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTas

IDEA运行hql出现FAILED:ExecutionError,returncode1fromorg.apache.hadoop.hive.ql.exec.mr.MapRedTask.User:xxxisnotallowedtoimpersonatexxx的错误根据报错日志知xxx用户无法模拟其他用户的身份访问Hadoop集群。启用的hiveserver2的模拟用户功能,依赖于Hadoop提供的proxyuser(代理用户功能),只有Hadoop中的代理用户才能模拟其他用户身份访问Hadoop集群。因此,需要将hiverserver2的启动用户设置为Hadoop的代理用户修改hadoop配置

Redisson : Command execution timeout for command: (PING)报错解决

问题最近线上的服务在机器突然重启之后,就开始出现了redisping超时的问题在经历了重启服务,重启rediscluster,redis参数优化等等操作无效后,最终还是把目光投向了Github,下面是我在Redisson项目中提出的问题问题提出排查但是好像开发人员也并没有什么头绪,但是可以参考下面两篇文章,第一篇是Github中一个人对于redisson的分析,也被官方认定为Bug。第二篇是对这个问题具体的分析,从发现到猜测,从猜测到证实,非常的详细,对这个问题有疑惑的朋友可以直接看第二篇文章。https://github.com/redisson/redisson/issues/4441ht

eureka注册报错RedirectingEurekaHttpClient : Request execution error. endpoint=DefaultEndpoint{ serviceU

eureka注册报错RedirectingEurekaHttpClient:Requestexecutionerror.endpoint=DefaultEndpoint{serviceUrl='http://127.0.0.1:10086/eureka/},exception=java.net.ConnectException:Connectionrefused:connectstacktrace=com.sun.jersey.api.client.ClientHandlerException:java.net.ConnectException:Connectionrefused:connec

Failed to execute goal org.apache.maven.pluginsmaven-clean-plugin2.5clean问题解决

报错信息:Failedtoexecutegoalorg.apache.maven.plugins:maven-clean-plugin:2.5:clean(default-clean)onprojectak-system:Failedtocleanproject:FailedtodeleteD:lls_tmsak-systemargetclassesapplication.yml该文件被某个java程序使用着,所以无法完成clean操作解决办法:将运行中的java程序关闭类似于上图的进程idea中重新执行clean操作就可以完成了。我暂时遇到的此类问题都是如此进行解决的,不排除有其他情况。特此

error: #268: declaration may not appear after executable statement in block问题解决方法

在stm32f407编程中遇到了error:#268:declarationmaynotappearafterexecutablestatementinblock,编写代码如下:#include"bsp_led.h"voidGPIO_Config(void) { /*以下四个步骤适用于所有的外设成员*/ /*第一步:开GPIO外设时钟*/ RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOF,ENABLE); /*第二步:定义一个GPIO初始化结构体*/ GPIO_InitTypeDefGPIO_InitStruct; /*第三步:配置GPIO初始化结构

ImportError: Bad git executable错误解决

ImportError:Badgitexecutable.Thegitexecutablemustbespecifiedinoneofthefollowingways:  -beincludedinyour$PATH  -besetvia$GIT_PYTHON_GIT_EXECUTABLE  -explicitlysetviagit.refresh()Allgitcommandswillerroruntilthisisrectified.Thisinitialwarningcanbesilencedoraggravatedinthefuturebysettingthe$GIT_PYTHON_R