简体   繁体   English

WSO2 BAM文档

[英]WSO2 BAM Documentation

I am trying to set up WSO2 BAM and API Manager integration by following the documentation at Publishing API Runtime Statistics . 我正在尝试按照发布API运行时统计信息中的文档设置WSO2 BAM和API管理器集成。

There is a line in the documentation to drop Hive table 文档中有一行可删除Hive表

add the following line at the beginning of the Hive script and rerun. 在Hive脚本的开头添加以下行,然后重新运行。 drop table ; 下降表;

It is not clear where to add this line and what exact table to drop. 目前尚不清楚在何处添加此行以及要删除的确切表。 Can someone provide more information on this one? 有人可以提供有关此信息的更多信息吗?

BAM is throwing following exception and I am assuming it is related to above changes required BAM引发以下异常,我假设它与上述所需的更改有关

FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
[2014-04-09 09:08:00,122] ERROR {org.apache.hadoop.hive.ql.Driver} -  FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTa
sk
[2014-04-09 09:08:00,123] ERROR {org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl} -  Error while executing Hive script.
Query returned non-zero code: 9, cause: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask

Log into BAM. 登录到BAM。 Select Main -> Analytics -> Add. 选择主菜单->分析->添加。 This will bring up an editor to provide your script. 这将调出一个编辑器来提供您的脚本。 You can give drop table statements here and then click execute. 您可以在此处提供放置表语句,然后单击执行。 You don't need to save this before hitting execute. 您无需在执行之前先保存它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM