Hi,
I've the following error while trying to start a job in my HDinsight Hadoop cluster, here is my powershell script :
$clustername = "thCluster"$teragen = New-AzureHDInsightMapReduceJobDefinition -JarFile "wasb:///example/jars/hadoop-mapreduce-examples.jar" -ClassName "teragen" -Arguments "-Dmapred.map.tasks=50", "100000000", "wasb:///example/data/10GB-sort-input"$teragen | Start-AzureHDInsightJob -Cluster $clustername | Wait-AzureHDInsightJob -WaitTimeoutInSeconds 3600 | Get-AzureHDInsightJobOutput -Cluster $clustername -StandardError
And here is the error I received :
Start-AzureHDInsightJob : L'opération n'est pas valide en raison de l'état actuel de l'objet.
Au caractère Ligne:1 : 12
+ $teragen | Start-AzureHDInsightJob -Cluster $clustername | Wait-Azure ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Start-AzureHDInsightJob], InvalidOperationException
+ FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.PSCm
dlets.StartAzureHDInsightJobCmdlet
PS C:\> Get-Module
ModuleType Version Name
---------- ------- ----
Manifest 0.8.13 Azure
Manifest 3.1.0.0 Microsoft.PowerShell.Management
Manifest 3.0.0.0 Microsoft.PowerShell.Security
Manifest 3.1.0.0 Microsoft.PowerShell.Utility