def set_step_name
      case self.job.type
        when 'Elasticrawl::ParseJob'
          if self.crawl_segment.present?
            max_files = self.job.max_files || 'all'
            "#{self.crawl_segment.segment_desc} Parsing: #{max_files}"
          end
        when 'Elasticrawl::CombineJob'
          paths = self.input_paths.split(',')
          "Combining #{paths.count} jobs"
      end
    end
def set_step_name
      case self.job.type
        when 'Elasticrawl::ParseJob'
          if self.crawl_segment.present?
            max_files = self.job.max_files || 'all'
            "#{self.crawl_segment.segment_desc} Parsing: #{max_files}"
          end
        when 'Elasticrawl::CombineJob'
          paths = self.input_paths.split(',')
          "Combining #{paths.count} jobs"
      end
    end
Sets the Elastic MapReduce job flow step name based on the type of job it
 belongs to.