[
https://issues.apache.org/jira/browse/HIVE-9980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14368069#comment-14368069
]
Gopal V commented on HIVE-9980:
-------------------------------
Fixed --help as well.
{code}
usage: llap
-a,--args <args> java arguments to the llap instance
-d,--directory <directory> Temp directory for jars etc.
-H,--help Print help information
-i,--instances <instances> Specify the number of instances to run this on
-n,--name <name> Cluster name for YARN registry
{code}
The only crucial detail is that to prevent the shell script from parsing the
args themselves, they need to be escaped in quotes with an extra prefix space.
{code}
./dist/hive/bin/hive --service llap --instances 14 --name llap1 --args "
-agentpath:/opt/perf/libperfmap.so"
{code}
> LLAP: Pass additional JVM args via Slider appConfig
> ---------------------------------------------------
>
> Key: HIVE-9980
> URL: https://issues.apache.org/jira/browse/HIVE-9980
> Project: Hive
> Issue Type: Sub-task
> Affects Versions: llap
> Reporter: Gopal V
> Assignee: Gopal V
> Priority: Minor
> Attachments: HIVE-9980.1.patch, HIVE-9980.2.patch
>
>
> For profiling, JMX remote ports and to attach debuggers to.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)