Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
steps:
- Enable yarn containerization in cluster
- Launch httpd example.
httpd.json and httpd-proxy.conf file are present at <yarn client home>/yarn-service-examples/httpd
[hrt_qa@xxx httpd]$ ls -la total 8 drwxr-xr-x. 2 root root 46 Jan 5 02:52 . drwxr-xr-x. 5 root root 51 Jan 5 02:52 .. -rw-r--r--. 1 root root 1337 Jan 1 04:21 httpd.json -rw-r--r--. 1 root root 1065 Jan 1 04:21 httpd-proxy.conf
[hrt_qa@xxx yarn-service-examples]$ yarn app -launch httpd-hrtqa httpd/httpd.json WARNING: YARN_LOG_DIR has been replaced by HADOOP_LOG_DIR. Using value of YARN_LOG_DIR. WARNING: YARN_LOGFILE has been replaced by HADOOP_LOGFILE. Using value of YARN_LOGFILE. WARNING: YARN_PID_DIR has been replaced by HADOOP_PID_DIR. Using value of YARN_PID_DIR. WARNING: YARN_OPTS has been replaced by HADOOP_OPTS. Using value of YARN_OPTS. 18/01/05 20:39:22 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 18/01/05 20:39:23 WARN shortcircuit.DomainSocketFactory: The short-circuit local reads feature cannot be used because libhadoop cannot be loaded. 18/01/05 20:39:23 INFO client.ServiceClient: Loading service definition from local FS: /xxx/yarn-service-examples/httpd/httpd.json Exception in thread "main" java.lang.IllegalArgumentException: Src_file does not exist for config file: httpd-proxy.conf at org.apache.hadoop.yarn.service.provider.AbstractClientProvider.validateConfigFiles(AbstractClientProvider.java:105) at org.apache.hadoop.yarn.service.utils.ServiceApiUtil.validateComponent(ServiceApiUtil.java:224) at org.apache.hadoop.yarn.service.utils.ServiceApiUtil.validateAndResolveService(ServiceApiUtil.java:189) at org.apache.hadoop.yarn.service.client.ServiceClient.actionCreate(ServiceClient.java:213) at org.apache.hadoop.yarn.service.client.ServiceClient.actionLaunch(ServiceClient.java:204) at org.apache.hadoop.yarn.client.cli.ApplicationCLI.run(ApplicationCLI.java:447) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90) at org.apache.hadoop.yarn.client.cli.ApplicationCLI.main(ApplicationCLI.java:111)
Attachments
Issue Links
- duplicates
-
YARN-7740 Fix logging for destroy yarn service cli when app does not exist and some minor bugs
- Resolved