spark 數據寫hive表,發生 查詢分區異常問題
異常:
25107124 19 26.49 ERROR Hive: MelaException(message.Exception thrown when execuling quey. S
ELECT DISTINCT ‘org apache.hadop.hive melastore .modelMpartion As"NUCLEUS TYPE,AONCREATE TIME,AO.LAST ACCESS TIME,AO PART NAME,AO.WRITE ID ,AO PART ID FROM PARTITONS AO LEFT OUTERJOIN TBLS BO ON AO TBL ID’BO.TBL ID’LEFTOUTER JOIN"DBS CO ON BO.DB ID’=CO DB ID" WHERF BO.TBL NAME =?AND’CO.NAME’ =?AND 'AO.PART NAME =?AND CO.CTLG NAME
?)i resulgetpartitionwithauthresultStandardScheme.read(ThnftHiveMetastorejava)125184.atorg.apache.hadoophivemetastoreapiThriftHiveMetastoreget partition with_auth resultStandardScheme.read(ThnftHiveMetastore java)125184. at org. apache.hadoop hive metastore api ThriftHiveMetastoregetpartitionwitha?uthresultStandard