FusionInsight HD(V100R002C60U10SPC006)添加服务第一步报错

发布时间:  2017-06-09 浏览次数:  132 下载次数:  0
问题描述
FusionInsight HD集群,添加服务在第一步校验请求参数的时候报错,具体如下

处理过程
查看controler日志,发现截图报错时间点无打印,与客户确认,之前还重试过好几次,在controler日志中找到上一次的报错记录,如下所示:
com.huawei.bigdata.om.controller.agent.nodesetup.NodeSetupConfigurationReader.getTask(NodeSetupConfigurationReader.java:278)
2017-06-06 16:31:55,466 ERROR [pool-2-thread-24] Command Executon Fail in verify phase.  com.huawei.bigdata.om.controller.command.ServiceCreateCommand.execute(ServiceCreateCommand.java:285)
java.lang.IllegalArgumentException: Patch package directory does not exist
at com.huawei.bigdata.om.controller.command.ServiceCreateCommand.processVerification(ServiceCreateCommand.java:470)
at com.huawei.bigdata.om.controller.command.ServiceCreateCommand.execute(ServiceCreateCommand.java:281)
at com.huawei.bigdata.om.controller.command.CommandTransactionContext.runCommand(CommandTransactionContext.java:35)
at com.huawei.bigdata.om.controller.command.CommandTransactionContext$$FastClassBySpringCGLIB$$97100c99.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:700)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:633)
at com.huawei.bigdata.om.controller.command.CommandTransactionContext$$EnhancerBySpringCGLIB$$7e5d4184.runCommand(<generated>)
at com.huawei.bigdata.om.controller.command.CommandProcessor$Action.run(CommandProcessor.java:448)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)



登陆到主备oms节点,发现目录/opt/huawei/Bigdata/patch/install/已经不存在


根因

/opt/huawei/Bigdata/patch/install/ 被误删导致添加服务失败

解决方案

从本集群其他节点上拷贝目录/opt/huawei/Bigdata/patch/install/ 到主备OMS节点过来,并保证权限不变,问题解决
建议与总结

对于不确定目录或者文件,不要随意删除或者修改。

END