Reference: https://spark.apache.org/docs/latest/
- Install Java 8+, then add to
PATH
andJAVA_HOME
Reference: https://spark.apache.org/docs/latest/
PATH
and JAVA_HOME
$ s3cmd get s3://us-east-1.elasticmapreduce/libs/s3distcp/1.latest/s3distcp.jar | |
$ hadoop jar ./s3distcp.jar --src s3a://<bucket>/input/ --dest=s3a://<bucket>/output |
Hopefully helped another k8s newbie with the following. The question was, how do you update a single key in a secret in k8s? I don't know anything about secrets but I will probably want to know this in the future, so here we go.
First, to create a dummy secret:
apiVersion: v1
kind: Secret
metadata:
name: test-secret
data:
#!/bin/bash | |
if [ -z "$1" ] | |
then | |
echo "Missing first argument, zookeeper host port like: my-zookeeper-hostname:2181" | |
echo "Usage Example: ./topic-last-messages.sh my-zookeeper-hostname:2181 MY_TOPIC_NAME 10 America/Chicago" | |
exit 1 | |
fi | |
if [ -z "$2" ] |