wudianlong hace 2 años
padre
commit
6283f25f47
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      energy/dayTask/mysql_to_hdfs.sh

+ 1 - 1
energy/dayTask/mysql_to_hdfs.sh

@@ -21,7 +21,7 @@ mysql_to_hdfs_lzo() {
   --connect $1 \
   --username $2 \
   --password $3 \
-  --target-dir $4$do_date  \
+  --target-dir $4/dt=$do_date  \
   --delete-target-dir \
   --columns $5 \
   --query "$6 and  \$CONDITIONS" \