consider the following yaml
hadoop:
storage: '/x/y/z/a/b'
streaming_jar_path: '/x/c/d/f/r/*.jar'
commands:
mkdir: 'hadoop dfs -mkdir dir'
copyFromLocal: 'hadoop dfs -copyFromLocal from_path to_path'
run: 'hadoop jar $streaming_jar_path -mapper mapper_path -reducer reducer_path -input hdfs_input -output hdfs_output'
I want to substitute the value of streaming_jar_path
to $streaming_jar_path
, how can I do that?
I know we can merge
the hashes
using &(anchors)
but here i just want to change one value
I am sorry if this is trivial thing, I am very new to YAML
Thank you