[
https://issues.apache.org/jira/browse/YARN-5808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Billie Rinaldi updated YARN-5808:
---------------------------------
Attachment: YARN-5808-yarn-native-services.001.patch
[~gsaha] Attaching a patch. I learned that env vars like YARN_SERVICESAPI_OPTS
are automatically added to the classpath, but we have to remove the dash from
the services-api command to make this work properly, making it servicesapi. I
added a commented-out example to yarn-env.sh that sets this variable. I based
the example on the RM example opts in the same file, so the file name is
gc-servicesapi.log-<date>. There is a different example for the RM opts that
uses a global HADOOP_GC_SETTINGS variable, so people might want to use that for
the services API instead as well. Also, I learned that YARN_CLIENT_OPTS is
added automatically, so we don't have to do that for slider or servicesapi.
> Add gc log options to the yarn daemon script when starting services-api
> -----------------------------------------------------------------------
>
> Key: YARN-5808
> URL: https://issues.apache.org/jira/browse/YARN-5808
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Gour Saha
> Assignee: Billie Rinaldi
> Fix For: yarn-native-services
>
> Attachments: YARN-5808-yarn-native-services.001.patch
>
>
> We need to add the gc log options as below when starting services-api using
> the yarn-daemon.sh script -
> {code}
> -XX:+PrintGC -Xloggc:$YARN_LOG_DIR/services-api-gc.log -XX:+PrintGCDetails
> -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]