Pentaho

 View Only
Expand all | Collapse all

PBA Import Error: 'Metadata importing error: [server data error], wrong code: 412'

This thread has been viewed 19 times
  • 1.  PBA Import Error: 'Metadata importing error: [server data error], wrong code: 412'

    Posted 08-10-2022 08:26
    I am using Pentaho BA Release: 8.3.0.0.371 and Metadata Editor pme-ee-8.3.0.0-371

    I have just updated my New Model .mfi in PME and Exported it, with no error

    I get the following error when I try and Import Metadata, my New Model into PBA Manage Data Sources

    PBA Import Error: 'Metadata importing error: [server data error], wrong code: 412'

    ------------------------------
    Vince Popplewell
    Systems Engineer
    Capgemini
    ------------------------------


  • 2.  RE: PBA Import Error: 'Metadata importing error: [server data error], wrong code: 412'

    Posted 08-10-2022 10:36
    Is this a space or Memory problem?
    The Model .mfi File I am Importing is size 4,141 K
    the PBA Server has been Started with -Xms2048m -Xmx6144m -XX:MaxPermSize=512m

    ------------------------------
    Vince Popplewell
    Systems Engineer
    Capgemini
    ------------------------------



  • 3.  RE: PBA Import Error: 'Metadata importing error: [server data error], wrong code: 412'

    Posted 08-19-2022 11:44
    We changed the PBA Start up Script again.
    The PBA Server was Started with -Xms4096m -Xmx6144m -XX:MaxPermSize=512m
    But no Joy!

    We have now found the Meaningful error MySql Packet Error in the Catalina and Pentaho Logs.

    We have increased the RDS AWS Parameter for max_allowed_packet=512M

    PBA is not accepting the new MySql Packet Parameter from AWS.

    The Error is as follows:

    2022-08-18 14:54:29,497 ERROR [org.apache.jackrabbit.core.util.db.ConnectionHelper] Failed to execute SQL (stacktrace on DEBUG log level): com.mysql.jdbc.PacketTooBigException: Packet for query is too large (4923099 > 4194304). You can change this value on the server by setting the max_allowed_packet' variable.
    2022-08-18 14:54:29,617 ERROR [org.apache.jackrabbit.core.util.db.ConnectionHelper] Failed to execute SQL (stacktrace on DEBUG log level): com.mysql.jdbc.PacketTooBigException: Packet for query is too large (4923099 > 4194304). You can change this value on the server by setting the max_allowed_packet' variable.
    2022-08-18 14:54:29,649 ERROR [org.pentaho.platform.plugin.services.importer.MetadataImportHandler] MetadataImportHandler.ERROR_0001 - Unable to render embedded object: File (MetadataImportHandler.ERROR_0001_IMPORTING_METADATA) not found.



    ------------------------------
    Vince Popplewell
    Systems Engineer
    Capgemini
    ------------------------------