【问题标题】:Could not load table into hive present in Azure blob无法将表加载到 Azure blob 中的配置单元中
【发布时间】:2016-06-06 19:17:37
【问题描述】:

我在 mycontainer 中有一个名为 new_data.csv 的文件,我正在尝试将其加载到配置单元中以编写进一步的查询,但它显示错误
处理语句时出错:失败:执行错误,返回来自 org.apache.hadoop.hive.ql.exec.DDLTask.MetaException 的代码 1(消息:wasb://mycontainer@mystorage.blob.core.windows.net/new_data.csv 不是目录或无法创建目录) "
但它存在。请帮忙

 CREATE EXTERNAL TABLE new255
  (year INT,
  month INT,
  month_name STRING,
  south FLOAT,
  west FLOAT,
  midwest FLOAT,
  northeast FLOAT
  )


  ROW FORMAT DELIMITED FIELDS TERMINATED BY ','
  LOCATION 'wasb://mycontainer@mystorage.blob.core.windows.net/new_data.csv';

【问题讨论】:

    标签: azure hadoop hive azure-blob-storage hiveql


    【解决方案1】:

    我明白了。我只是一个愚蠢的错误,错误是位置应该是 位置'wasb://mycontainer@mystorage.blob.core.windows.net/';

    它会起作用的:)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-04-27
      • 2015-05-03
      • 2018-07-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多