Impala can't access all hive table

前端 未结 3 641
悲哀的现实
悲哀的现实 2020-12-30 02:39

I try to query hbase data through hive (I\'m using cloudera). I did a fiew hive external table pointing to hbase but the thing is Cloudera\'s Impala doesn\'t have an access

相关标签:
3条回答
  • 2020-12-30 02:50

    Though the INVALIDATE METADATA command in impala works it is documented to be expensive, in recent versions it is now possible to invalidate the metadata of just 1 table, which will have less impact:

    INVALIDATE METADATA mynewtable
    

    Alternately, if you use HUE, there is also a less expensive option available. Which may be convenient if you have added multiple new tables:

    0 讨论(0)
  • 2020-12-30 02:54

    Run the query 'invalidate metadata' in Impala and your tables will show-up.

    0 讨论(0)
  • 2020-12-30 03:02

    Beneath is the ? online help explanation: Missing some tables? In order to update the list of tables/metadata seen by Impala, execute one of these queries:

    "invalidate metadata" invalidates the entire catalog metadata. All table metadata will be reloaded on the next access.
    "invalidate metadata <table>" invalidates the metadata, load on the next access
    "refresh <table>" refreshes the metadata immediately. It is a faster, incremental refresh.
    
    0 讨论(0)
提交回复
热议问题