Skip to content

Instantly share code, notes, and snippets.

@AndyCross
Created December 10, 2012 19:25
Show Gist options
  • Save AndyCross/4252721 to your computer and use it in GitHub Desktop.
Save AndyCross/4252721 to your computer and use it in GitHub Desktop.
HDInsight ASV
public override HadoopJobConfiguration Configure(ExecutorContext context)
{
try
{
HadoopJobConfiguration config = new HadoopJobConfiguration();
config.InputPath = "asv://container/inputpath/";
config.OutputFolder = "asv://container/outputpath" + DateTime.Now.ToString("yyyyMMddhhmmss");
return config;
}
catch(Exception ex)
{
Console.WriteLine(ex.ToString());
}
return null;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment