store a class name with AttributeDefinition, also a leftover fix to HadoopTaskManager