zoukankan      html  css  js  c++  java
  • hive 踩坑

    1、 create tabl

    metastore.MetaStoreDirectSql: Self-test query [select "DB_ID" from "DBS"] failed; direct SQL is disabled
    javax.jdo.JDODataStoreException: Error executing SQL query "select "DB_ID" from "DBS"".

    2、hive --service metastore

    Starting Hive Metastore Server
    MetaException(message:Version information not found in metastore. )

    3、schematool -dbType derby -initSchema

    原因:
    运行 schematool -dbType derby -initSchema
    
    之前运行了hive 命令
    
    方案:
       删除metastore.db

    FUNCTION 'NUCLEUS_ASCII' already exists. (state=X0Y68,code=30000)
    org.apache.hadoop.hive.metastore.HiveMetaException: Schema initialization FAILED! Metastore state would be inconsistent !!
    Underlying cause: java.io.IOException : Schema script failed, errorcode 2
    Use --verbose for detailed stacktrace.

    4、

    The server time zone value 'EDT' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.
    SQL Error code: 0

  • 相关阅读:
    图片上传
    解决Vuex持久化插件-在F5刷新页面后数据不见的问题
    vue登录
    拖动排序的vue组件
    vue图片懒加载
    vue中使用图片预加载
    前端架构知识体系
    html判断IE版本
    HighCharts 在IE8下饼图不显示的问题
    新一代调试王者Console
  • 原文地址:https://www.cnblogs.com/cbugs/p/9727191.html
Copyright © 2011-2022 走看看