Details
-
Type:
extRequest
-
Status: Closed
-
Priority:
Major
-
Resolution: Done
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
HD-Chapter:Data
-
HD-Enabler:Cosmos
Description
Dear Francisco,
in FINESCE WP4 we have been facing several issues on COSMOS instance.
Randomly when executing a query the following message is returned:
SEVERE: HIVE Loading Data Error
java.sql.SQLException: Query returned non-zero code: 10, cause: FAILED:
Error in semantic analysis: Line 1:14 Table not found 'terni_meterdetail'
It often happens also with all the other existing tables.
What's wrong?
Kind regards,
P.
Pasquale Andriani
Direzione Ricerca e Innovazione - Research & Development Lab
pasquale.andriani@eng.it
Engineering Ingegneria Informatica spa
Via Riccardo Morandi, 32 - 00148 Roma
Tel. +39-06.87594138
Mob. +39 3924698746
Fax. +39-06.83074408
www.eng.it
_______________________________________________
Fiware-lab-help mailing list
Fiware-lab-help@lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-lab-help
Hi Pasquale,
This issue is fixed by prepending the default database to the table name. I.e. If you query was "select * from mytable...", then the query must be now "select * from default.mytable...". After last week reboot, this is necessary, we are investigating why. Sorry for the inconveniences.
Regards,
Francisco
De: Pasquale Andriani <pasquale.andriani@eng.it<pasquale.andriani@eng.it
>>
>" <fiware-lab-help@lists.fi-ware.org<fiware-lab-help@lists.fi-ware.org
>>, Francisco Romero Bueno <francisco.romerobueno@telefonica.com<francisco.romerobueno@telefonica.com
>>
>>, Pellegrino Dario <dario.pellegrino@eng.it<dario.pellegrino@eng.it
>>, Leandro Lombardo <Leandro.Lombardo@eng.it<Leandro.Lombardo@eng.it
>>
Fecha: martes, 14 de julio de 2015, 23:31
Para: "fiware-lab-help@lists.fi-ware.org<fiware-lab-help@lists.fi-ware.org
CC: Massimiliano Nigrelli <massimiliano.nigrelli@eng.it<massimiliano.nigrelli@eng.it
Asunto: COSMOS - Query returned non-zero code - Table not found...
Dear Francisco,
in FINESCE WP4 we have been facing several issues on COSMOS instance.
Randomly when executing a query the following message is returned:
SEVERE: HIVE Loading Data Error
java.sql.SQLException: Query returned non-zero code: 10, cause: FAILED: Error in semantic analysis: Line 1:14 Table not found 'terni_meterdetail'
It often happens also with all the other existing tables.
What's wrong?
Kind regards,
P.
Pasquale Andriani
>
Direzione Ricerca e Innovazione - Research & Development Lab
pasquale.andriani@eng.it<pasquale.andriani@eng.it
Engineering Ingegneria Informatica spa
Via Riccardo Morandi, 32 - 00148 Roma
Tel. +39-06.87594138
Mob. +39 3924698746
Fax. +39-06.83074408
www.eng.it<http://www.eng.it>