You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by gunjanindia <gu...@gmail.com> on 2016/02/02 15:38:55 UTC
could not start the service
While running accumulo init command i am getting the following error
could be some error in accumulo-config.xml
[accumulo@lumify ~]$ /usr/lib/accumulo/bin/accumulo init
*Could not infer a Monitor role. You need to either define the MONITOR env
variable,* define "/usr/lib/accumulo/conf/monitor", or make sure
"/usr/lib/accumulo/conf/masters" is non-empty.
please guide me
regards
Gunjan Kumar
--
View this message in context: http://apache-accumulo.1065345.n5.nabble.com/could-not-start-the-service-tp16000.html
Sent from the Developers mailing list archive at Nabble.com.
Re: could not start the service
Posted by Eric Newton <er...@gmail.com>.
Hmm, the configuration files for accumulo are conf/accumulo-site.xml, and
conf/accumulo-env.sh, and of course the host files for the various roles.
The basic accumulo start scripts are not looking for "accumulo-config.xml".
On Tue, Feb 2, 2016 at 9:38 AM, gunjanindia <gu...@gmail.com> wrote:
> While running accumulo init command i am getting the following error
> could be some error in accumulo-config.xml
> [accumulo@lumify ~]$ /usr/lib/accumulo/bin/accumulo init
> *Could not infer a Monitor role. You need to either define the MONITOR env
> variable,* define "/usr/lib/accumulo/conf/monitor", or make sure
> "/usr/lib/accumulo/conf/masters" is non-empty.
> please guide me
>
> regards
> Gunjan Kumar
>
>
>
> --
> View this message in context:
> http://apache-accumulo.1065345.n5.nabble.com/could-not-start-the-service-tp16000.html
> Sent from the Developers mailing list archive at Nabble.com.
>
Re: could not start the service
Posted by Josh Elser <jo...@gmail.com>.
See
http://accumulo.apache.org/1.7/accumulo_user_manual.html#_cluster_specification
and
http://accumulo.apache.org/1.7/accumulo_user_manual.html#_hostnames_in_configuration_files
Accumulo expects the following files ("masters", "monitor", "tracers",
and "slaves") to be present in /usr/lib/accumulo/conf/. Each line should
be a hostname for which you want to run the corresponding Accumulo
service on. "slaves" == TabletServers
gunjanindia wrote:
> While running accumulo init command i am getting the following error
> could be some error in accumulo-config.xml
> [accumulo@lumify ~]$ /usr/lib/accumulo/bin/accumulo init
> *Could not infer a Monitor role. You need to either define the MONITOR env
> variable,* define "/usr/lib/accumulo/conf/monitor", or make sure
> "/usr/lib/accumulo/conf/masters" is non-empty.
> please guide me
>
> regards
> Gunjan Kumar
>
>
>
> --
> View this message in context: http://apache-accumulo.1065345.n5.nabble.com/could-not-start-the-service-tp16000.html
> Sent from the Developers mailing list archive at Nabble.com.