使用 julia 语言将文件复制到 HDFS
Copying a file to HDFS using julia language
我现在在使用 Julia 语言将文件复制到 HDFS 时遇到问题。
这是日志:
julia> cp("/etc/hosts",hostsFile)
ERROR: Associative collections only contain Pairs;
Either look for e.g. A=>B instead, or use the `keys` or `values`
function if you are looking for a key or value respectively.
in in at dict.jl:13
in _get at /home/bala/.julia/v0.4/Elly/src/rpc.jl:371
in call at /home/bala/.julia/v0.4/Elly/src/rpc.jl:786
in _write at /home/bala/.julia/v0.4/Elly/src/api_hdfs_io.jl:293
in write at /home/bala/.julia/v0.4/Elly/src/api_hdfs_io.jl:311
in cp at /home/bala/.julia/v0.4/Elly/src/api_hdfs_io.jl:376
任何线索都会真正帮助我前进。
显然,Elly 包有问题,因此联系了贡献者。感谢他,他及时解决了问题,然后我检查了最新的 Elly 包。现在一切都开始工作了。
我现在在使用 Julia 语言将文件复制到 HDFS 时遇到问题。
这是日志:
julia> cp("/etc/hosts",hostsFile)
ERROR: Associative collections only contain Pairs;
Either look for e.g. A=>B instead, or use the `keys` or `values`
function if you are looking for a key or value respectively.
in in at dict.jl:13
in _get at /home/bala/.julia/v0.4/Elly/src/rpc.jl:371
in call at /home/bala/.julia/v0.4/Elly/src/rpc.jl:786
in _write at /home/bala/.julia/v0.4/Elly/src/api_hdfs_io.jl:293
in write at /home/bala/.julia/v0.4/Elly/src/api_hdfs_io.jl:311
in cp at /home/bala/.julia/v0.4/Elly/src/api_hdfs_io.jl:376
任何线索都会真正帮助我前进。
显然,Elly 包有问题,因此联系了贡献者。感谢他,他及时解决了问题,然后我检查了最新的 Elly 包。现在一切都开始工作了。