mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
spark: reduce default shell log verbosity
This commit is contained in:
parent
d213089a25
commit
704e923ad5
@ -21,6 +21,10 @@ stdenv.mkDerivation rec {
|
||||
mkdir -p $out/{lib/${untarDir}/conf,bin}
|
||||
mv * $out/lib/${untarDir}
|
||||
|
||||
sed -e 's/INFO, console/WARN, console/' < \
|
||||
$out/lib/${untarDir}/conf/log4j.properties.template > \
|
||||
$out/lib/${untarDir}/conf/log4j.properties
|
||||
|
||||
cat > $out/lib/${untarDir}/conf/spark-env.sh <<- EOF
|
||||
export JAVA_HOME="${jre}"
|
||||
export SPARK_HOME="$out/lib/${untarDir}"
|
||||
|
Loading…
Reference in New Issue
Block a user