0

マシンでEndecaベースラインの更新が失敗する

ログをトレースすると、CRS.0.0.log に以下が見つかりました

Jun 24, 2015 9:40:25 AM com.endeca.soleng.eac.toolkit.Controller execute
SEVERE: Caught an exception while invoking method 'run' on object 'BaselineUpdate'. Releasing locks.
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.endeca.soleng.eac.toolkit.Controller.invokeRequestedMethod(Controller.java:917)
    at com.endeca.soleng.eac.toolkit.Controller.execute(Controller.java:255)
    at com.endeca.soleng.eac.toolkit.Controller.main(Controller.java:134)
Caused by: com.endeca.soleng.eac.toolkit.exception.AppControlException: Error executing valid BeanShell script.
    at com.endeca.soleng.eac.toolkit.script.Script.runBeanShellScript(Script.java:179)
    at com.endeca.soleng.eac.toolkit.script.Script.run(Script.java:127)
    ... 7 more
Caused by: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Batch component  'Dgidx' failed. Refer to component logs in C:\Endeca\Apps\CRS\config\script\..\..\.\logs\dgidxs\Dgidx on host ITLHost.
    at com.endeca.soleng.eac.toolkit.component.BatchComponent.run(BatchComponent.java:124)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at bsh.Reflect.invokeMethod(Unknown Source)
    at bsh.Reflect.invokeObjectMethod(Unknown Source)
    at bsh.Name.invokeMethod(Unknown Source)
    at bsh.BSHMethodInvocation.eval(Unknown Source)
    at bsh.BSHPrimaryExpression.eval(Unknown Source)
    at bsh.BSHPrimaryExpression.eval(Unknown Source)
    at bsh.BSHBlock.evalBlock(Unknown Source)
    at bsh.BSHBlock.eval(Unknown Source)
    at bsh.BSHBlock.eval(Unknown Source)
    at bsh.BSHIfStatement.eval(Unknown Source)
    at bsh.Interpreter.eval(Unknown Source)
    at bsh.Interpreter.eval(Unknown Source)
    at bsh.Interpreter.eval(Unknown Source)
    at com.endeca.soleng.eac.toolkit.script.Script.runBeanShellScript(Script.java:165)
    ... 8 more
Jun 24, 2015 9:40:25 AM com.endeca.soleng.eac.toolkit.base.LockManager releaseLock
INFO: Released lock 'update_lock'.

上記のエラーで述べたように Dgidx ログを参照すると、Dgidx.start.log に次のエラーが見つかりました。

WARN    06/24/15 07:40:24.242 UTC (1435131624242)   DGIDX   {dgidx,baseline}    Notice: the '--tmpdir' option has been deprecated; see the product documentation for more details.  

usage: dgidx [--compoundDimSearch] [--cov]
             [--diacritic-folding] [--help] [--lang <language id>]
             [--nostrictattrs] [--numbins]
             [--out <stdout/stderr file>]
             [--sort <spec>[|(asc|desc)]]
             [--spellmode <spelling mode>] [--spellnum]
             [--stemming-updates <file>] [--threads <num>]
             [--version]
             <data export file> <output db_prefix>

  -q   Quiet mode.
  -v   Verbose mode.

  --compoundDimSearch   Enable compound dimension search for the
                        application. Use of this option increases indexing
                        time. But if this option is not enabled at index
                        time, compound dimension search results (multiple-
                        dimension value results) will not be returned by
                        the ENE.
  --cov                 Compute and report coverage statistics for
                        dimensions and properties.
  --diacritic-folding   Ignore character accents when indexing text.
  --help                Print this help message and exit.
  --lang <lang id>      Default to the specified language for all documents.
                        Default to the specified language/collation for mdex queries.
                        Specified in the format: 'LANGUAGE-u-co-COLLATION'
                        (default=en-u-co-endeca)
  --nostrictattrs       Disable strict attribute checking. Allows records
                        to retain property values for properties with no
                        <PROP_REF> element defined in the navigation
                        configuration file.
  --numbins <num>       Limit the number of records that the indexer reads.
  --out                 Specify file path to which stdout/stderr should be.
                        remapped (default is to use default stdout/stderr
                        for the process).
  --sort <spec>[|(asc|desc)]   Specify a default sort specification (spec)
                        for the data set.
  --spellmode           Specify the spelling correction mode for the
                        application. Supported modes are "default",
                        "aspell", "espell", "aspell_OR_espell", and
                        "aspell_AND_espell".
  --spellnum            In spelling modes that enable the "espell"
                        module, include non-word terms (numbers, symbols,
                        etc.) in the espell dictionary. By default, such
                        terms are not included.
  --stemming-updates <file> Updates the default stemming dictionary
                        according to specified file.
  --threads <num>       Specify the number of threads to use for the
                        multi-threaded portion of the indexing process.
                        The default is 1.
  --version             Print version information and exit.

**FATAL 06/24/15 07:40:24.242 UTC (1435131624242)   DGIDX   {dgidx,baseline}    Unrecognized option 'C:\Endeca\Apps\CRS\data\dgidx_output\CRS'**    

CIMを使用してEndecaをインストールおよび構成します。

ありがとう

4

2 に答える 2

1

/Endeca/apps/CRS/config/script/DataIngest.xmlで不適切な構成パラメータが見つかった後に修正された問題

このファイル内で次のパラメーターを指定しました。

<properties>

  <property name="numLogBackups" value="10" />

  <property name="numIndexBackups" value="3" />

</properties>

<args>

  <arg>-v</arg>

  <arg>--compoundDimSearch</arg>

  <arg>--lang</arg>

  <arg>${LANGUAGE_ID}</arg>

  <arg>--spellmode</arg>

  <arg>aspell_AND_espell</arg>

</args>

<log-dir>./logs/dgidxs/Dgidx</log-dir>

<input-dir>./data/forge_output</input-dir>

<output-dir>./data/dgidx_output</output-dir>

<temp-dir>./data/temp</temp-dir>

<run-aspell>true</run-aspell>

不足している引数を追加した後に不足している --spellmode を使用すると、問題が解決しました。

ありがとう

于 2015-06-27T20:20:27.590 に答える
-1

問題の解決策はここにあると思います。この問題は、ATG 10.2.0.3 および Endeca 3.1.2 で発生しました。Endeca構成の1つがenvironment.properties、誤ったバージョンのレコード・ストア・フォージ・アダプタを参照しています。

于 2015-06-24T17:45:48.933 に答える