diff --git a/conf/accumulo/2/accumulo.properties b/conf/accumulo/2/accumulo.properties index 60918eb..0f78a59 100755 --- a/conf/accumulo/2/accumulo.properties +++ b/conf/accumulo/2/accumulo.properties @@ -7,4 +7,4 @@ tserver.memory.maps.native.enabled=ACCUMULO_USE_NATIVE_MAP tserver.wal.max.size=512M tserver.port.search=true compactor.port.search=true -sserver.port.search=true \ No newline at end of file +sserver.port.search=true diff --git a/plugins/accumulo-encryption.sh b/plugins/accumulo-encryption.sh index 3d1bbdf..83ed5ff 100755 --- a/plugins/accumulo-encryption.sh +++ b/plugins/accumulo-encryption.sh @@ -24,6 +24,10 @@ fi accumulo_conf=$ACCUMULO_HOME/conf/accumulo.properties encrypt_key=$ACCUMULO_HOME/conf/data-encryption.key -openssl rand -out $encrypt_key 32 -echo "instance.crypto.opts.key.uri=file://$encrypt_key" >>"$accumulo_conf" -echo "instance.crypto.service=$(jar -tvf "$ACCUMULO_HOME"/lib/accumulo-core-2.*.jar | grep -o 'org.apache.accumulo.core.*AESCryptoService' | tr / . | tail -1)" >>"$accumulo_conf" +openssl rand -out "$encrypt_key" 32 +cat >>"$accumulo_conf" <