zoukankan      html  css  js  c++  java
  • BeeswaxException 以及其他问题


    Could not read table
    BeeswaxException(handle=QueryHandle(log_context='ae18ae74-518f-400b-b4b0-d399ed78e194', id='ae18ae74-518f-400b-b4b0-d399ed78e194'), log_context='ae18ae74-518f-400b-b4b0-d399ed78e194', SQLState=' ', _message=None, errorCode=0)

    是 用hive 将Jbson的数据转化成table的时候出现的

    Error getting table description

    Traceback (most recent call last): File "/usr/lib/hue/apps/hcatalog/src/hcatalog/views.py", line 145, in describe_table table_desc_extended = HCatClient(request.user.username).describe_table_extended(table, db=database) File "/usr/lib/hue/apps/hcatalog/src/hcatalog/hcat_client.py", line 143, in describe_table_extended raise Exception(error) Exception: Could not get table description (extended): {"errorDetail":"java.lang.RuntimeException: MetaException(message:org.apache.hadoop.hive.serde2.SerDeException SerDe org.openx.data.jsonserde.JsonSerDe does not exist) at org.apache.hadoop.hive.ql.metadata.Table.getDeserializerFromMetaStore(Table.java:274) at org.apache.hadoop.hive.ql.metadata.Table.getDeserializer(Table.java:265) at org.apache.hadoop.hive.ql.metadata.Table.getCols(Table.java:597) at org.apache.hadoop.hive.ql.metadata.Table.checkValidity(Table.java:170) at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:991) at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:924) at org.apache.hadoop.hive.ql.exec.DDLTask.showTableStatus(DDLTask.java:2689) at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:343) at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:151) at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:65) at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1437) at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1215) at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1043) at org.apache.hadoop.hive.ql.Driver.run(Driver.java:911) at org.apache.hive.hcatalog.cli.HCatDriver.run(HCatDriver.java:43) at org.apache.hive.hcatalog.cli.HCatCli.processCmd(HCatCli.java:259) at org.apache.hive.hcatalog.cli.HCatCli.processLine(HCatCli.java:213) at org.apache.hive.hcatalog.cli.HCatCli.main(HCatCli.java:172) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.RunJar.main(RunJar.java:212) Caused by: MetaException(message:org.apache.hadoop.hive.serde2.SerDeException SerDe org.openx.data.jsonserde.JsonSerDe does not exist) at org.apache.hadoop.hive.metastore.MetaStoreUtils.getDeserializer(MetaStoreUtils.java:226) at org.apache.hadoop.hive.ql.metadata.Table.getDeserializerFromMetaStore(Table.java:272) ... 22 more ","error":"FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:org.apache.hadoop.hive.serde2.SerDeException SerDe org.openx.data.jsonserde.JsonSerDe does not exist)","sqlState":"08S01","errorCode":40000,"database":"default","table":"tweets_raw"} (error 500)

    最后,发现是sandbox 版本的原因。。。使用旧版1.3就可以了。。。。。。。

  • 相关阅读:
    网络编程
    C 语言 const
    C 语言 链表
    C 语言 按位计算
    C 语言 格式化输出输入
    C 语言 结构类型 联合
    C 语言 结构类型 结构
    C 语言 结构类型 枚举
    bash shell configuration
    sed usage
  • 原文地址:https://www.cnblogs.com/datascientist/p/3461196.html
Copyright © 2011-2022 走看看