AzureMRCore targeted for .NET 4, correct?

10 views
Skip to first unread message

kindohm

unread,
Jun 10, 2011, 5:03:11 PM6/10/11
to Twister4Azure
Is AzureMRCore.dll targeted to .NET 4? I'm encountering exceptions in
my production Azure environment about the assembly being compiled for
a runtime newer than the current environment, which seems very
strange. I just want to make sure I understand how AzureMRCore was
built before seeking support on the Azure forums.

"Could not load file or assembly 'AzureMRCore' or one of its
dependencies. This assembly is built by a runtime newer than the
currently loaded runtime and cannot be loaded."

-Mike

kindohm

unread,
Jun 10, 2011, 10:37:00 PM6/10/11
to Twister4Azure
My Google, StackOverflow, and Azure forum research isn't turning up
anything. Is any special configuration required in order for the
AzureMRCore.dll to get loaded correctly? I'm seeing the exception in
an ASP.NET error page on the Twister web UI.

-Mike

Thilina Gunarathne

unread,
Jun 11, 2011, 12:16:35 AM6/11/11
to twiste...@googlegroups.com
Hi Mike,
It's compiled for .NET 4.  What's the Azure SDK version are you using?

thanks,
Thilina

ps: Sorry about the delay in response. Got home only now..


-Mike

--
http://salsahpc.indiana.edu/twister4azure/
You received this message because you are subscribed to the Google Groups "Twister4Azure" group.
To unsubscribe from this group, send email to twister4azur...@googlegroups.com



--
https://www.cs.indiana.edu/~tgunarat/
http://www.linkedin.com/in/thilina

Thilina Gunarathne

unread,
Jun 11, 2011, 2:15:32 AM6/11/11
to twiste...@googlegroups.com
HI Mike,
I just deployed the alpha-3 release in Azure cloud and it worked fine. I'm using the latest Azure SDK (1.4.1). the guest OS of the instances came as "WA-GUEST-OS-1.13_201104-01"..

Let me know the guest os version of your instances and the SDK version you are using..

thanks,
Thilina

kindohm

unread,
Jun 13, 2011, 8:38:18 AM6/13/11
to Twister4Azure
I uninstalled and re-installed the Azure SDK and the Azure tools for
Visual Studio. From the properties panel of my Azure deployment:

Azure SDK Version: 1.4.20227.1419
Azure guest OS: WA-GUEST-OS-1.3_201004-01

I'm still seeing the problem this morning.

I forgot to mention earlier that my deployment is from an Azure
services project that I created from scratch in Visual Studio. I did
not start with the Twister project. I copied and pasted the Twister UI
web project into my solution and added it as a role to my Azure
project. My Worker role is a custom one I created (inherited from
RoleEntryPoint). The biggest potential problem I see here is that my
Azure service definition or configuration is different than the
Twister example app. However, I checked both of these files (the
config and the definition) and I don't see any differences.

My worker role also doesn't seem to want to start up. I get "Aborted"
statuses in Azure and it continuously tries to re-start.

I'd really like to understand why my deployment isn't working, but I
think I might try adding my custom MapReduce classes to the example
Twister project and deploy that one instead. If it works, then I'll
need to keep looking for differences between the two definitions and
configurations. I probably won't have much time to work on this today.

-Mike






On Jun 11, 1:15 am, Thilina Gunarathne <cset...@gmail.com> wrote:
> HI Mike,
> I just deployed the alpha-3 release in Azure cloud and it worked fine. I'm
> using the latest Azure SDK (1.4.1). the guest OS of the instances came as
> "WA-GUEST-OS-1.13_201104-01"..
>
> Let me know the guest os version of your instances and the SDK version you
> are using..
>
> thanks,
> Thilina
>
> On Sat, Jun 11, 2011 at 12:16 AM, Thilina Gunarathne <cset...@gmail.com>wrote:
>
>
>
>
>
>
>
>
>
> > Hi Mike,
> > It's compiled for .NET 4.  What's the Azure SDK version are you using?
>
> > thanks,
> > Thilina
>
> > ps: Sorry about the delay in response. Got home only now..
>

Thilina Gunarathne

unread,
Jun 14, 2011, 1:14:04 AM6/14/11
to twiste...@googlegroups.com
Hi Mike,
I'm not really sure why u had to create a new worker role. IMHO the easiest would be to start with the Twister4Azure project and to add your MapReduce classes to a new project as in the given samples. If needed you can get rid of the sample projects (make sure to modify the "worker role properties -> settings->TwisterMRDrivers accordingly). 

Typically I would expect the users to use the provided WorkerRole as it contains Twister4Azure specific logic and to add Map/Reduce implementations as dependent projects to that.

Also I would be happy to have a look at your solution, if you don't mind sharing it.

thanks,
Thilina

kindohm

unread,
Jun 14, 2011, 9:31:56 AM6/14/11
to Twister4Azure
I had no real need to create my own new worker role. I was mainly just
curious about what it would take to create a new MapReduce solution
from scratch. It works just fine in my dev fabric. I could certainly
create my own custom classes in the existing Twister4Azure project and
follow the patterns of the existing samples. I'm not sure that I'll
have time again today to try this, but this will be the next step I
take.

-Mike

Thilina Gunarathne

unread,
Jun 14, 2011, 9:35:40 AM6/14/11
to twiste...@googlegroups.com
Hi Mike,
Let me know if you come across any issues..  

I'll try to test creating a project from scratch and hopefully document the steps.

thanks,
Thilina


-Mike

--
http://salsahpc.indiana.edu/twister4azure/
You received this message because you are subscribed to the Google Groups "Twister4Azure" group.
To unsubscribe from this group, send email to twister4azur...@googlegroups.com

kindohm

unread,
Jun 16, 2011, 1:38:34 PM6/16/11
to Twister4Azure
I was able to get my custom driver working in Azure by running it
within the existing Twister4Azure cloud project and worker role. I've
come across some other issues but I'll start a new thread.

-Mike

Reply all
Reply to author
Forward
0 new messages