question

SouravNayak-9793 avatar image
0 Votes"
SouravNayak-9793 asked ·

Sample azure function for HBASE

Hello,

I am trying to push data in HDInsights Hbase Cluster via Stream analytics jobs. Since there is no connectors available, i am looking for some sample azure function to complete my need as i am new to azure functions.

Thanks & Regards,
Sourav Nayak

azure-hdinsightazure-stream-analytics
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

BalamuruganBalakreshnan-2358 avatar image
1 Vote"
BalamuruganBalakreshnan-2358 answered ·

Best would be use Httpclient to access rest api. here is a sample curl which uses REST API to access.
curl -u admin:$password \
-X PUT "https://$clustername.azurehdinsight.net/hbaserest/Contacts1/schema" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d "{\"@name\":\"Contact1\",\"ColumnSchema\":[{\"name\":\"Personal\"},{\"name\":\"Office\"}]}" \
-v

https://clustername.azurehdinsight.net/hbaserest/Contacts1/schema
Contact1 is the Family.

For more details look at this link : https://docs.microsoft.com/en-us/azure/hdinsight/hbase/apache-hbase-tutorial-get-started-linux


thanks
Bala

· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.