Hello,

Giving
https://community.hortonworks.com/questions/1926/accessing-hdfs-in-namenode-ha-environment.html
you need just put path <str name="solr.hdfs.home"> without hdfs://host,
when I tried it, leading slash is ignored and the path is used as relative
from hdfs://ha-node:8020/user/{bash-user}
Then configure hdfs directory for a folder to read  HA configuration from
core-site.xml like <str
name="solr.hdfs.confdir">/etc/hadoop/2.4.0.0-169/666/</str>.
Let me know if it helps.

On Fri, Sep 9, 2016 at 5:25 PM, Heybati Farhad <fheyb...@yahoo.com.invalid>
wrote:

> Hi All,
>
> We implement the Hortonworks Standby NameNode and i'm wondering how to
> configure the Solr to point to the cluster name instead of the Name node
> Hostname?
>
>  <directoryFactory name="DirectoryFactory" class="solr.
> HdfsDirectoryFactory">
>                 <str name="solr.hdfs.home">?
>
> I tried to configure Dolr in several ways without succes:
> 1) Using the cluser name
> 2) using a "," separate host name of the both active and standby NameNode
> 3) using a ";" separate host name of the both active and standby NameNode
>
> Do you have anu suggestion?
>
> Thanks
> Regards
> Farhad
>



-- 
Sincerely yours
Mikhail Khludnev

Reply via email to