hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yesha Vora (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-7706) httpd yarn service example fails with "java.lang.IllegalArgumentException: Src_file does not exist for config file: httpd-proxy.conf"
Date Fri, 05 Jan 2018 20:51:00 GMT
Yesha Vora created YARN-7706:

             Summary: httpd yarn service example fails with "java.lang.IllegalArgumentException:
Src_file does not exist for config file: httpd-proxy.conf"
                 Key: YARN-7706
                 URL: https://issues.apache.org/jira/browse/YARN-7706
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Yesha Vora


* 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{code}

[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){code}

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org

View raw message