Skip to content

Commit

Permalink
Support for per-tool config.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Hale committed Jan 9, 2024
1 parent 1f1c95c commit b33ad3c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/main/scripts/halyard
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
halyard_home="$(dirname "${0}")"
libjars="$(echo "$halyard_home"/lib/*.jar | tr ' ' ',')"
export HADOOP_CLASSPATH="$halyard_home/lib/*:`hadoop classpath`:`hbase classpath`"
hadoop com.msd.gin.halyard.tools.HalyardMain "$1" -conf /etc/hbase/conf/hbase-site.xml -conf $halyard_home/halyard-defaults.xml -libjars $libjars "${@:2}"
hadoop com.msd.gin.halyard.tools.HalyardMain "$1" -conf /etc/hbase/conf/hbase-site.xml -conf $halyard_home/halyard-defaults.xml -conf $halyard_home/halyard-${1}.xml -libjars $libjars "${@:2}"
28 changes: 28 additions & 0 deletions sdk/src/main/scripts/halyard-bulkupdate.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

<!-- Copyright 2016 Merck Sharp & Dohme Corp. a subsidiary of Merck & Co., -->
<!-- Inc., Kenilworth, NJ, USA. -->
<!-- -->
<!-- Licensed under the Apache License, Version 2.0 (the "License"); -->
<!-- you may not use this file except in compliance with the License. -->
<!-- You may obtain a copy of the License at -->
<!-- -->
<!-- http://www.apache.org/licenses/LICENSE-2.0 -->
<!-- -->
<!-- Unless required by applicable law or agreed to in writing, software -->
<!-- distributed under the License is distributed on an "AS IS" BASIS, -->
<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -->
<!-- See the License for the specific language governing permissions and -->
<!-- limitations under the License. -->

<configuration>
<property>
<name>mapreduce.map.memory.mb</name>
<value>16000</value>
</property>
<property>
<name>mapreduce.map.java.opts</name>
<value>-Xmx14000m</value>
</property>
</configuration>

0 comments on commit b33ad3c

Please sign in to comment.