新しいストレージ アカウントを作成し、Windows Azure で HDInsight クラスターをプロビジョニングしました。ただし、Windows Azure Powershell でクラスターに関連するコマンドを実行しようとすると、次のエラーが発生します。
PS C:\> Get-AzureHDInsightCluster -Name $clusterName
Get-AzureHDInsightCluster : Request failed with code:Unauthorized
Content:<Error xmlns="http://schemas.microsoft.com/windowsazure"
xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Code>AuthenticationFailed</Code><Message>A security token
validation error occured for the received JWT token.</Message></Error>
At line:1 char:1
+ Get-AzureHDInsightCluster -Name $clusterName
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-AzureHDInsightCluster], HttpLayerException
+ FullyQualifiedErrorId : Microsoft.Hadoop.Client.HttpLayerException,Microsoft.WindowsAzure.Management.HDInsight.C
mdlet.PSCmdlets.GetAzureHDInsightClusterCmdlet
私は HDInsight をまったく初めて使用しますが、このコマンドの前にスクリプトを実行して Azure アカウントを追加し、このページからサブスクリプション名、ストレージ アカウント名、およびコンテナー名の変数を作成しました。
このエラーの意味を知っていますか? そして、それを修正する方法は?このWeb サイトをフォローした後、Pig コマンドでスクリプトを実行しようとしています。