You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2015/05/06 22:07:59 UTC

[jira] [Commented] (ACCUMULO-3776) Cannot access Accumulo Monitor UI

    [ https://issues.apache.org/jira/browse/ACCUMULO-3776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14531305#comment-14531305 ] 

Josh Elser commented on ACCUMULO-3776:
--------------------------------------

Thanks for filing [~zmarsh13]. Can you verify that the copy of {{accumulo-env.sh}} on the host running the Monitor actually has the expected value that you specified in the template?

If I remember my netstat output, it doesn't look like the server actually bound itself to all interfaces, so it'll only be accessible via {{39.0.16.3:50095}}. I would expected to see {{0.0.0.0:50095}}.

Meanwhile, I'll double check locally -- as far as I know, this env option has been working for me w/o Ambari. 

> Cannot access Accumulo Monitor UI
> ---------------------------------
>
>                 Key: ACCUMULO-3776
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3776
>             Project: Accumulo
>          Issue Type: Bug
>         Environment: ambari-2.1.0-376, hdp-2.3.0.0-1880, sles11sp3
>            Reporter: Zack Marsh
>
> After installing Accumulo on my cluster, I find that I am unable to access the Accumulo Monitor UI at <hostname FQDN>:50095. 
> Instead of a server error the page simply will not load.
> I'm seeing that the Accumulo Monitor is binding to the localhost:
> {code}
> # cat /etc/accumulo/conf/monitor
> # Licensed to the Apache Software Foundation (ASF) under one or more
> # contributor license agreements.  See the NOTICE file distributed with
> # this work for additional information regarding copyright ownership.
> # The ASF licenses this file to You under the Apache License, Version 2.0
> # (the "License"); you may not use this file except in compliance with
> # the License.  You may obtain a copy of the License at
> #
> #     http://www.apache.org/licenses/LICENSE-2.0
> #
> # Unless required by applicable law or agreed to in writing, software
> # distributed under the License is distributed on an "AS IS" BASIS,
> # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> # See the License for the specific language governing permissions and
> # limitations under the License.
> localhost
> {code}
> {code}
> # netstat -ltpn | grep 50095
> tcp        0      0 39.0.16.3:50095         0.0.0.0:*               LISTEN      19352/java
> # ps -ef |grep 19352
> accumulo 19352     1  3 15:35 ?        00:00:28 /opt/teradata/jvm64/jdk8/bin/java -Dapp=monitor -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -Djava.net.preferIPv4Stack=true -Xmx64m -Xms64m -classpath /usr/hdp/current/accumulo-monitor/conf/server:/usr/hdp/2.3.0.0-1880/accumulo/lib/accumulo-start.jar:/usr/hdp/2.3.0.0-1880/accumulo/lib/slf4j-api.jar:/usr/hdp/2.3.0.0-1880/accumulo/lib/slf4j-log4j12.jar:/usr/hdp/current/hadoop-client/lib/log4j-1.2.17.jar: -XX:OnOutOfMemoryError=kill -9 %p -XX:-OmitStackTraceInFastThrow -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -Dorg.apache.accumulo.core.home.dir=/usr/hdp/2.3.0.0-1880/accumulo -Dhadoop.home.dir=/usr/hdp/current/hadoop-client -Dzookeeper.home.dir=/usr/hdp/current/zookeeper-client org.apache.accumulo.start.Main monitor --address jolokia3.labs.teradata.com
> {code}
> I implemented the work-around specified in ACCUMULO-1985, and added the following line to accumlo-env template in Ambari:
> {code}
> export ACCUMULO_MONITOR_BIND_ALL="true"
> {code}
> After restarting all Accumulo components this issue remains.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)