PXF webapp is inaccessible but tomcat is up
来源:互联网 发布:淘宝网银支付最高限额 编辑:程序博客网 时间:2024/06/09 20:27
生产环境新增几个节点,安装pxf后,启动时报错
stderr: Traceback (most recent call last): File "/var/lib/ambari-agent/cache/common-services/PXF/3.0.0/package/scripts/pxf.py", line 120, in <module> Pxf().execute() File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute method(env) File "/var/lib/ambari-agent/cache/common-services/PXF/3.0.0/package/scripts/pxf.py", line 53, in start self.__execute_service_command("restart") File "/var/lib/ambari-agent/cache/common-services/PXF/3.0.0/package/scripts/pxf.py", line 71, in __execute_service_command logoutput=True) File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__ self.env.run() File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run self.run_action(resource, action) File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action provider_action() File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 238, in action_run tries=self.resource.tries, try_sleep=self.resource.try_sleep) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner result = function(command, **kwargs) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call tries=tries, try_sleep=try_sleep) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper result = _call(command, **kwargs_copy) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call raise Fail(err_msg)resource_management.core.exceptions.Fail: Execution of 'service pxf-service restart' returned 1. /var/pxf /$CATALINA_PID was set but the specified file does not exist. Is Tomcat running? Stop aborted./var/pxf /var/pxf /Tomcat started./var/pxf /Checking if tomcat is up and running...tomcat not responding, re-trying after 1 second (attempt number 1)tomcat not responding, re-trying after 1 second (attempt number 2)Checking if PXF webapp is up and running...ERROR: PXF webapp is inaccessible but tomcat is up. Check logs for more information
解决方案,查看catalina.log发现找不到引用Jar包
Jun 19, 2017 1:01:26 PM org.apache.hawq.pxf.service.utilities.CustomWebappLoader addRepositoriesWARNING: Failed to load entry /usr/phd/current/hadoop-hdfs-client/hadoop-hdfs.jar: java.nio.file.NoSuchFileException: /usr/phd/current/hadoop-hdfs-clientJun 19, 2017 1:01:26 PM org.apache.hawq.pxf.service.utilities.CustomWebappLoader addRepositoriesWARNING: Entry /usr/phd/current/hadoop-hdfs-client/hadoop-hdfs.jar doesn't match any filesJun 19, 2017 1:01:26 PM org.apache.hawq.pxf.service.utilities.CustomWebappLoader addRepositoriesWARNING: Failed to load entry /usr/phd/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core.jar: java.nio.file.NoSuchFileException: /usr/phd/current/hadoop-mapreduce-clientJun 19, 2017 1:01:26 PM org.apache.hawq.pxf.service.utilities.CustomWebappLoader addRepositoriesWARNING: Entry /usr/phd/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core.jar doesn't match any filesJun 19, 2017 1:01:26 PM org.apache.hawq.pxf.service.utilities.CustomWebappLoader addRepositoriesWARNING: Failed to load entry /usr/phd/current/hadoop-client/hadoop-auth.jar: java.nio.file.NoSuchFileException: /usr/phd/current/hadoop-clientJun 19, 2017 1:01:26 PM org.apache.hawq.pxf.service.utilities.CustomWebappLoader addRepositoriesWARNING: Entry /usr/phd/current/hadoop-client/hadoop-auth.jar doesn't match any filesJun 19, 2017 1:01:26 PM org.apache.hawq.pxf.service.utilities.CustomWebappLoader addRepositoriesWARNING: Failed to load entry /usr/phd/current/hadoop-client/hadoop-common.jar: java.nio.file.NoSuchFileException: /usr/phd/current/hadoop-clientJun 19, 2017 1:01:26 PM org.apache.hawq.pxf.service.utilities.CustomWebappLoader addRepositoriesWARNING: Entry /usr/phd/current/hadoop-client/hadoop-common.jar doesn't match any filesJun 19, 2017 1:01:26 PM org.apache.hawq.pxf.service.utilities.CustomWebappLoader addRepositoriesWARNING: Failed to load entry /usr/phd/current/hadoop-client/lib/asm-*[0-9].jar: java.nio.file.NoSuchFileException: /usr/phd/current/hadoop-client/libJun 19, 2017 1:01:26 PM org.apache.hawq.pxf.service.utilities.CustomWebappLoader addRepositoriesWARNING: Entry /usr/phd/current/hadoop-client/lib/asm-*[0-9].jar doesn't match any files
明明jar包位置是在/usr/hdp/current/….下,查找从哪里引用了错误的路径。发现 /etc/pxf/conf/下 pxf-private.classpath文件路径正是报错的路径,修改替换掉问题解决。启动PXF成功。
阅读全文
0 0
- PXF webapp is inaccessible but tomcat is up
- C++错误集锦之:error C2243: 'type cast' : conversion exists, but is inaccessible
- C++ error here is inaccessible
- 豌豆荚 550 That path is inaccessible
- Inheritance: 'A' is an inaccessible base of 'B'
- error: ‘class QObject QObject::QObject’ is inaccessible within this context
- arcgis server 数据注册 “the data item is inaccessible”
- Geoprocessor Job does not exist or is inaccessible
- Life is but a span
- error: 'xxx函数' is inaccessible,'Text' is not an accessible base of 'TextLine'
- myeclipse结合tomcat部署项目时报错the selected server is enabled,but is not configured properly
- MyEclipse中使用Tomcat发布工程时报错:The selected server is enabled,but……
- the message "\$CATALINA_PID was set but the specified file does not exist. Is Tomcat running? Stop
- $CATALINA_PID was set but the specified file does not exist. Is Tomcat running? Stop aborted.
- Exception is thrown but exception.getMessage() is null
- The selected server is enabled,but is not configure
- MySQL is running but PID file is not found
- The selected server is enabled,but is not configure .
- 快速使用Git和Gitblit
- 斐波那契数列的递归和迭代(数据结构笔记)
- Java的IO流
- MySQL5.7.18 for Linux7.2二进制安装详解
- SpringMVC 01
- PXF webapp is inaccessible but tomcat is up
- 广播接收者
- python基础知识
- Linux查看网卡型号、驱动版本、队列数
- 汇编-3
- 简单计算器(OC)
- 文章标题
- Mac 开发者更改
- cat指令