Skip to content

Commit

Permalink
Bug fix: uses task ID rather than job ID to generate output file path
Browse files Browse the repository at this point in the history
  • Loading branch information
liancheng committed May 6, 2015
1 parent 27448bb commit 8ed5db8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ private[sql] class ParquetOutputWriter extends OutputWriter with SparkHadoopMapR
numberFormat.setMinimumIntegerDigits(5)
numberFormat.setGroupingUsed(false)

val split = context.getTaskAttemptID.getId
val split = context.getTaskAttemptID.getTaskID.getId
val codec = CodecConfig.from(context).getCodec
val extension = s"${codec.getExtension}.parquet"

Expand Down

0 comments on commit 8ed5db8

Please sign in to comment.