Hive 在windows azure中执行配置单元查询时出错

Hive 在windows azure中执行配置单元查询时出错,hive,Hive,通过PowerShell连接到windows azure后,我正在执行配置单元查询以显示表。但我得到以下错误 Invoke-Hive : The remote server returned an error: (403) Forbidden. At line:1 char:13 + $response = Invoke-Hive -Query @" + ~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpec

通过PowerShell连接到windows azure后,我正在执行配置单元查询以显示表。但我得到以下错误

Invoke-Hive : The remote server returned an error: (403) Forbidden.
At line:1 char:13
+ $response = Invoke-Hive -Query @"
+             ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Invoke-AzureHDInsightHiveJob], StorageException
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Storage.StorageException,Microsoft.WindowsAzure.Management.HDInsi
   ght.Cmdlet.PSCmdlets.InvokeHiveCmdlet

你能指导我做什么吗?我正在使用windows 7操作系统Home premium,service pack 1,我能够解决此问题。此问题与系统时钟(笔记本电脑时钟)有关。我必须按照当前时区重新设置笔记本电脑时钟,然后通过powershell重新登录以执行配置单元查询,一切正常。

您如何运行查询?您是否定义了
queryString
,创建了配置单元作业定义并将其提交到集群?很抱歉,您使用的是
powershell
。如何调用?在通过powershell成功连接到azure群集后,我已提交此查询以仅检查表$response=Invoke-Hive-Query@“show tables;”@Write Host$response我能够解决此问题。此问题与系统时钟(笔记本电脑时钟)有关。我必须根据当前时区重新设置笔记本电脑时钟,然后通过powershell重新登录以执行配置单元查询,一切正常。谢谢Visakh.你对解决这个问题表现出了兴趣。如果你把这个问题作为一个答案贴出来,那就太好了。它可能会在将来帮助其他人。。。