Saturday 4 July 2015

Enabling the older IR version in MDEX

Every request in newly created Endeca application was throwing ENEException.

Here is the error from Dgraph log.

=======================================================================

ERROR 06/13/15 14:51:16.438 UTC (1434207076438) DGRAPH {dgraph} Requested output IR version '620' is supported by this release of the software but not enabled. Use the --back_compat flag to enable the older IR version.
WARN 06/13/15 14:51:16.438 UTC (1434207076438) DGRAPH {dgraph} Error processing HTTP exchange 2: Error:[MDEX] Failed to parse URL: '/graph?node=0&offset=0&nbins=10&irversion=620'

=======================================================================

The issue was due to version mismatch in API and running MDEX.

Solution : Enable backward compatibility in MDEX.

This can be done in two ways.

1.  MDEX configuration window in EAC admin console of the workbench.
  • Stop MDEX.
  • Add --back_compat 620 to the argument. Here is configuration snapshot.



  • Start MDEX.
 2.  Update startup argument in MDEX configuration file [DgraphDefaults.xml].

 <arg>--back_compat</arg>
      <arg>620</arg>

No comments:

Post a Comment