mapreducelab / bigdata-helm-charts

Depreciated in favor of datalake-kubernetes. Collection of Kubernetes Big Data ecosystem products helm charts
MIT License
8 stars 3 forks source link

Alluxio fails to provide AWS credentials as Java system properties #8

Open antonputra opened 6 years ago

antonputra commented 6 years ago

Java system properties–aws.accessKeyId and aws.secretKey. Order should look like this:

  1. Environment variables
  2. Java system properties Java system properties–aws.accessKeyId and aws.secretKey. The AWS SDK for Java uses the SystemPropertiesCredentialsProvider to load these credentials.
  3. The default credential profiles file
  4. etc. You can read more here
antonputra commented 6 years ago

Start command:

/usr/lib/jvm/java-1.8-openjdk/bin/java -cp /opt/alluxio/conf/::/opt/alluxio/assembly/alluxio-server-1.7.1.jar -Dalluxio.home=/opt/alluxio -Dalluxio.conf.dir=/opt/alluxio/conf -Dalluxio.logs.dir=/opt/alluxio/logs -Dalluxio.worker.tieredstore.level0.alias=MEM -Dalluxio.worker.tieredstore.level0.dirs.path=/dev/shm -Dlog4j.configuration=file:/opt/alluxio/conf/log4j.properties -Dorg.apache.jasper.compiler.disablejsr199=true -Djava.net.preferIPv4Stack=true -Dalluxio.logger.type=Console,MASTER_LOGGER -Dalluxio.master.audit.logger.type=MASTER_AUDIT_LOGGER alluxio.master.AlluxioMaster