hdinsight / hbase-sdk-for-net

Microsoft HBase REST Client Library for .NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Will not make calls from ASP.Net 5 Api Controller

drcrook1 opened this issue · comments

This stack overflow question is not mine, however I have the exact same issue: http://stackoverflow.com/questions/30971186/net-hbase-rest-api-client-library-calling-from-mvc5-controller

I can get data back from a console application, but not from a web application.

Thanks,
~David

Can you attach a thread dump please?

Resolved: Have to run calls on a background thread.

Try the Async version and do not blokc (e.g. call Wait or Result) and await the result instead. The sync calls in the client simply call Result on async Api which deadlocks MVC