vi ~/.oh-my-zshthemes/agnoster.zsh-theme
add
#Adds the new line and ➜ as the start character.
printf "\n ↪"
in the end of prompt_end
vi ~/.oh-my-zshthemes/agnoster.zsh-theme
add
#Adds the new line and ➜ as the start character.
printf "\n ↪"
in the end of prompt_end
## InnoDB IO settings - 5.5.x and greater | |
innodb_write_io_threads = 4 | |
innodb_read_io_threads = 4 | |
## InnoDB Plugin Independent Settings | |
innodb_file_per_table | |
innodb_buffer_pool_size = 13108M | |
innodb_flush_log_at_trx_commit = 1 | |
innodb_log_file_size = 256M | |
innodb_log_buffer_size = 8M |
#! /bin/sh | |
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin | |
export PATH | |
LOGSTASHPID=`ps ux | grep logstash | grep java | grep agent | awk '{ print $2 }'` | |
if [ "x$LOGSTASHPID" = "x" ]; then | |
echo "logstash not running!" | |
service logstash restart | |
else | |
echo $LOGSTASHPID | |
kill -9 $LOGSTASHPID |
# max open files | |
fs.file-max = 51200 | |
# max read buffer | |
net.core.rmem_max = 67108864 | |
# max write buffer | |
net.core.wmem_max = 67108864 | |
# default read buffer | |
net.core.rmem_default = 65536 | |
# default write buffer | |
net.core.wmem_default = 65536 |
<property> | |
<name>hive.exec.compress.output</name> | |
<value>true</value> | |
</property> | |
<property> | |
<name>hive.merge.mapfiles</name> | |
<value>true</value> | |
</property> | |
<property> | |
<name>hive.merge.mapredfiles</name> |
export TEZ_INSTALL_DIR=/data/tez | |
export TEZ_CONF_DIR=$TEZ_INSTALL_DIR | |
export TEZ_JARS=$(echo "$TEZ_INSTALL_DIR"/*.jar | tr ' ' ':'):$(echo "$TEZ_INSTALL_DIR"/lib/*.jar | tr ' ' ':') | |
if [ -z "$HIVE_AUX_JARS_PATH" ]; then | |
export HIVE_AUX_JARS_PATH="$TEZ_JARS" | |
else | |
export HIVE_AUX_JARS_PATH="$HIVE_AUX_JARS_PATH:$TEZ_JARS" | |
fi |
export TEZ_HOME=/data/tez | |
export TEZ_CONF_DIR=/data/tez | |
export HADOOP_CLASSPATH="${HADOOP_CLASSPATH}:${TEZ_CONF_DIR}:$(find ${TEZ_HOME} -name "*.jar" | paste -sd ":")" |
<?xml version="1.0" encoding="UTF-8"?> | |
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?> | |
<configuration> | |
<property> | |
<name>tez.lib.uris</name> | |
<value>${fs.defaultFS}/apps/tez/tez-0.7.1.tar.gz</value> | |
</property> | |
<property> | |
<name>tez.use.cluster.hadoop-libs</name> | |
<value>true</value> |
diff --git a/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/hadoop/mapreduce/JobContextImpl.java b/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/hadoop/mapreduce/JobContextImpl.java | |
index 12491ed..b4ca24c 100644 | |
--- a/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/hadoop/mapreduce/JobContextImpl.java | |
+++ b/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/hadoop/mapreduce/JobContextImpl.java | |
@@ -475,5 +475,16 @@ public class JobContextImpl implements JobContext { | |
public Progressable getProgressible() { | |
return progress; | |
} | |
+ | |
+ /** |
<profile> | |
<id>cdh5.7</id> | |
<activation> | |
<activeByDefault>false</activeByDefault> | |
</activation> | |
<properties> | |
<hadoop.version>2.6.0-cdh5.7.1</hadoop.version> | |
</properties> | |
<pluginRepositories> | |
<pluginRepository> |