Sha256: d92de5090e9d36f412c8473cf446c689e4da9ebba60766f7d17a58eab2a48fdd
Contents?: true
Size: 257 Bytes
Versions: 4
Compression:
Stored size: 257 Bytes
Contents
#!/usr/bin/env ruby def absolute_path(path) path =~ /^\// ? path : File.join(Dir.pwd, path) end source = absolute_path(ARGV[0]) dest = ARGV[1] config = absolute_path(ARGV[2]) `$HADOOP_HOME/bin/hadoop fs -conf #{config} -copyFromLocal #{source} #{dest}`
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
trafficbroker-mandy-0.1.0 | bin/mandy-put |
trafficbroker-mandy-0.1.1 | bin/mandy-put |
trafficbroker-mandy-0.1.2 | bin/mandy-put |
trafficbroker-mandy-0.1.3 | bin/mandy-put |