HDInsight Hive 日志位置

HDInsight Hive log location

我正在尝试使用 Azure HDInsight 和 PowerShell (cmdlet Invoke-Hive) 在 Hive 中创建外部 table,但它失败了,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.)

所以我想完全按照描述做并检查原始异常,但我似乎无法在任何地方找到完整的日志。有人可以指出完整堆栈跟踪的正确位置吗?

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

HDInsight 目前仅支持块 blob...

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

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

如果这还不够,您还可以远程进入集群并使用预装在那里的 Web 门户直接从头节点检查作业日志。