Skip to content

Commit

Permalink
copy from local task added
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Perkins committed Feb 24, 2011
1 parent dcf270e commit 4513a67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/swineherd/filesystem/hadoopfilesystem.rb
Expand Up @@ -111,7 +111,7 @@ def copy_to_local srcfile, dstfile
# Copyy local file to hdfs filesystem
#
def copy_from_local srcfile, dstfile
@hdfs.copy_from_local_file(srcfile, dstfile)
@hdfs.copy_from_local_file(Path.new(srcfile), Path.new(dstfile))
end

def close *args
Expand Down

0 comments on commit 4513a67

Please sign in to comment.