【问题标题】:HDInsight Hive log locationHDInsight Hive 日志位置
【发布时间】:2015-10-10 05:02:53
【问题描述】:

我正在尝试使用 Azure HDInsight 和 PowerShell (cmdlet Invoke-Hive) 在 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 一起使用吗?

【问题讨论】:

    标签: powershell azure hadoop hive azure-hdinsight


    【解决方案1】:

    HDInsight 当前仅支持块 blob...

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

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

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-11-09
      • 2019-02-04
      • 2019-03-17
      • 1970-01-01
      相关资源
      最近更新 更多