powershell - HDInsight Hive日志位置

标签 powershell azure hadoop hive azure-hdinsight

我正在尝试使用带有PowerShell(cmdlet Invoke-Hive)的Azure HDInsight在Hive中创建外部表,但是由于以下错误在stderr中失败:

Logging initialized using configuration in file:/C:/apps/dist/hive-0.13.0.2.1.15.1-1234/conf/hive-log4j.properties
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/apps/dist/hadoop-2.4.0.2.1.15.1-1234/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder
.class]
SLF4J: Found binding in [jar:file:/C:/apps/dist/hbase-0.98.0.2.1.15.1-1234-hadoop2/lib/slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
OK
Time taken: 1.256 seconds
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:Got exception: org.apache.hadoop.fs.azure.AzureExce
ption java.util.NoSuchElementException: An error occurred while enumerating the result, check the original exception for details.)

因此,我想按照说明中的说明进行操作并检查原始异常,但是我似乎在任何地方都找不到完整的日志。有人可以指出我完整堆栈跟踪的正确位置吗?

编辑:我注意到仅当我的外部表位置目录中有一个Append Blob时,才会发生此错误。 Append Blob不能与HDInsight Hive一起使用吗?

最佳答案

HDInsight当前仅支持块Blob ...

可以在您的HDInsight群集的主要Azure存储帐户的用户文件夹中找到配置单元日志。
例如:

<StorageAccount>/user/<username>/<jobid>

如果这还不够,您还可以远程访问群集,并使用预先安装在其中的Web门户直接从头节点检查作业日志。

关于powershell - HDInsight Hive日志位置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32987566/

相关文章:

powershell - 有条件地管道到 Out-Null

powershell - 如何使用 Powershell 将 IP 范围转换为单个 CIDR 表示法?

azure - 如何从 Azure 数据工厂中查找事件的输出中删除转义字符?

asp.net - 使用 MVC 应用程序在现有 Azure 数据库上运行 CRUD 操作

azure - 外键约束 Synapse Azure

python - Hadoop:错误:java.lang.RuntimeException:配置对象时出错

Hadoop 数据节点停止报告

powershell - 我如何在带有 powershell 的私有(private)模式下使用 IE 或 IE

xml - 为什么这个 Powershell 函数有时返回一个列表而其他时候返回一个 XmlElement?

hadoop - 以不同的用户身份运行 Pig 作业