mobilize-hive 1.0.10 → 1.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mobilize-hive/handlers/hive.rb +1 -1
- data/lib/mobilize-hive/version.rb +1 -1
- metadata +1 -1
@@ -406,7 +406,7 @@ module Mobilize
|
|
406
406
|
part_stmt = part_pairs.map{|pp| "#{pp.first}='#{pp.second}'"}.join(",")
|
407
407
|
hdfs_dir = "#{target_table_stats['location']}/#{part_dir}"
|
408
408
|
hdfs_source_path = "/#{hdfs_dir.split("/")[3..-2].join("/")}/#{base_filename}"
|
409
|
-
hdfs_target_path = "/#{hdfs_dir.split("/")[3..-1].join("/")}
|
409
|
+
hdfs_target_path = "/#{hdfs_dir.split("/")[3..-1].join("/")}"
|
410
410
|
#load partition into source path
|
411
411
|
puts "Writing to #{hdfs_source_path} for #{user} at #{Time.now.utc}"
|
412
412
|
Hdfs.write(hdfs_source_path,tpmv,user)
|