上传文件到Hbase HDInsight
本文关键字:Hbase HDInsight 文件 | 更新日期: 2023-09-27 18:10:07
我有一个azure订阅,所以我在hdinsight下创建了一个hadoop集群。我要上传一个文件到这个hadoop。我不知道如何继续
var myCluster = Hadoop.Connect(
new Uri("https://samplecluster.azurehdinsight.net/"),
"admin", "admin", "sample",
"storageacc.blob.core.windows.net",
"key",
"cluster", true);
通过使用上面的代码,我能够连接到hadoop集群,但是我不知道如何上传文件。
编辑:这里有一些使用powershell/cli命令上传文件的例子,但是有没有使用。net编写的示例应用程序?
HDInsight中是Hadoop集群还是HBase集群?HDInsight集群使用Azure Blob存储存储数据。
如果是Hadoop集群,请参见https://azure.microsoft.com/en-us/documentation/articles/hdinsight-hadoop-use-blob-storage/
HBase集群参考https://azure.microsoft.com/en-us/documentation/articles/hdinsight-hbase-tutorial-get-started/