> On Nov. 21, 2017, 4:09 a.m., Sergey Shelukhin wrote: > > llap-server/src/main/resources/templates.py > > Lines 43 (patched) > > <https://reviews.apache.org/r/63972/diff/1/?file=1897959#file1897959line133> > > > > how does it know what LLAP_DAEMON_OPTS is, and other stuff like > > HEAPSIZE? it doesn't seem to be mentioned elsewhere in the patch and > > doesn't seem to follow the convention (e.g. component name is LLAP without > > DAEMON). Just checking; it used to have a fancy name like site.global. ... > > Gour Saha wrote: > YARN Services automatically takes care of setting the env variables > defined in Yarnfile before calling the launch_command.
Hmm... this is not the env variable though, those are executable arguments. Who actually makes sure that they are passed in as arguments - Sergey ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63972/#review191563 ----------------------------------------------------------- On Nov. 21, 2017, 1:37 a.m., Gour Saha wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/63972/ > ----------------------------------------------------------- > > (Updated Nov. 21, 2017, 1:37 a.m.) > > > Review request for hive and Sergey Shelukhin. > > > Bugs: HIVE-18037 > https://issues.apache.org/jira/browse/HIVE-18037 > > > Repository: hive-git > > > Description > ------- > > First phase of migration of slider based llap app-package to YARN Services in > Hadoop 3.x. There will be follow up changes to migrate status, log links, > diagnostics and completely eliminate Slider dependency. > > > Diffs > ----- > > bin/ext/llap.sh 0462d26 > binary-package-licenses/README ef127e3 > common/src/java/org/apache/hadoop/hive/conf/HiveConf.java bd25bc7 > jdbc/pom.xml 8710a8b > > llap-client/src/java/org/apache/hadoop/hive/llap/registry/LlapServiceInstance.java > 30b1810 > llap-server/bin/llapDaemon.sh 4945473 > llap-server/changes_for_non_slider_install.txt ec20fe1 > llap-server/pom.xml 176110d > > llap-server/src/java/org/apache/hadoop/hive/llap/cli/LlapOptionsProcessor.java > d01598c > llap-server/src/java/org/apache/hadoop/hive/llap/cli/LlapServiceDriver.java > 5090be2 > llap-server/src/java/org/apache/hadoop/hive/llap/cli/LlapSliderUtils.java > a0af554 > > llap-server/src/java/org/apache/hadoop/hive/llap/cli/LlapStatusServiceDriver.java > 296a851 > llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/QueryInfo.java > d2e9396 > llap-server/src/main/resources/llap.py 26756ce > llap-server/src/main/resources/package.py 21c34e9 > llap-server/src/main/resources/params.py 8972ba1 > llap-server/src/main/resources/templates.py 3d747a2 > packaging/src/main/assembly/bin.xml 84686ee > > > Diff: https://reviews.apache.org/r/63972/diff/1/ > > > Testing > ------- > > Package created and successfully deployed in a Hadoop 3.0 cluster, using cmd > line shell script and programatically via Java APIs. > > > File Attachments > ---------------- > > HIVE-18037.001.patch > > https://reviews.apache.org/media/uploaded/files/2017/11/21/e0844c04-be9b-4334-80b0-bae05e9ed885__HIVE-18037.001.patch > > > Thanks, > > Gour Saha > >