fanchen1988
V2EX  ›  问与答

Standalone Solr 如何从 HDFS 读取 solrconfig.xml

  •  
  •   fanchen1988 · Nov 18, 2016 · 1651 views
    This topic created in 3488 days ago, the information mentioned may be changed or developed.

    我用 Solr 5.1 起了 standalone 模式的 server ,想要从 HDFS 上 create index 。

    现在我遇到的问题是 index 放在 hdfs 上没问题,但是当我指定 instanceDir 是 hdfs 路径的时候,它就没法读取,会把我的 hdfs 路径加到 solr server 路径后面尝试读取,然后就是没有这个路径错误了。

    所以说 standalone 模式是没法从 hdfs 上读取 solrconfig 的吗?如果可以需要怎么配置?如果不可以,是不是必须用 clound 模式才能把 index 和 conf 都放在 hdfs 上?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   987 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 22:57 · PVG 06:57 · LAX 15:57 · JFK 18:57
    ♥ Do have faith in what you're doing.