Q:

Importing CSV file in Drupal using Migrate module. Want nodes to be owned by admin

When importing using the drush migrate-import command, all nodes created are owned by anonymous. I would like them to be owned by the admin user or some other user.

A:

If you're using the GUI to import by .CSV, you may need a custom script like the one suggested above.
The more flexible way is to use the migrate module(newet version), and set up a migration class and where you perform mappings, do this.
<code>
<?php
 $this->addFieldMapping('uid')->defaultValue('1');
?>
</code>

The default value of '1' should be the UID of whatever the user you want to be the author.
Make sure you look at the included beer and wine migration examples the come with the module

