YARN integration ignores Alluxio JVM options when YARN_OPTS is already set

Description

We "concatenate" YARN and ALLUXIO JVM options in alluxio-yarn.sh as below

${A:-B} works by returning the first value if its nonempty and the second value if the first is empty. This means the concatenation only works when YARN_OPTS is empty. We should fix this line to do real concatenation

Environment

None
Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Andrew Audibert

Reporter

Andrew Audibert

Labels