[ 
https://issues.apache.org/jira/browse/AMBARI-7194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gwenael Le Barzic updated AMBARI-7194:
--------------------------------------
    Description: 
Hello !

There is a problem with Ganglia in Ambari 1.6.0 and an Hadoop cluster HDP 
2.1.3. 

I modified the parameter "Ganglia rrdcached base directory" in Ambari.
Even after a restart of this component in Ambari the RRD files of Ganglia are 
still using the same old path for the RRD files.

When I looked in /etc/ganglia/hdp/gmetad.conf, the paragraph for this path is 
still commented.
#-------------------------------------------------------------------------------
# Where gmetad stores its round-robin databases
# default: "/var/lib/ganglia/rrds"
# rrd_rootdir "/some/other/place"

##EDIT##

In fact, by modifying the rrdcached_base_fir in Ambari, it modified indeed the 
command line of rrdcached :
/usr/bin/rrdcached -p /var/run/ganglia/hdp/rrdcached.pid -m 664 -l 
unix:/var/run/ganglia/hdp/rrdcached.sock -m 777 -P FLUSH,STATS,HELP -l 
unix:/var/run/ganglia/hdp/rrdcached.limited.sock -b /opt/hdp/ganglia/rrd

But the problem is that rrdcached doesn't write anything in the folder 
specified after -b and I don't know if it is not because of the path being not 
set in the gmetad.conf file.

Best regards.

Gwenael Le Barzic

  was:
Hello !

There is a problem with Ganglia in Ambari 1.6.0 and an Hadoop cluster HDP 
2.1.3. 

I modified the parameter "Ganglia rrdcached base directory" in Ambari.
Even after a restart of this component in Ambari the RRD files of Ganglia are 
still using the same old path for the RRD files.

When I looked in /etc/ganglia/hdp/gmetad.conf, the paragraph for this path is 
still commented.
#-------------------------------------------------------------------------------
# Where gmetad stores its round-robin databases
# default: "/var/lib/ganglia/rrds"
# rrd_rootdir "/some/other/place"

In fact, by modifying the rrdcached_base_fir in Ambari, it modified indeed the 
command line of rrdcached :

/usr/bin/rrdcached -p /var/run/ganglia/hdp/rrdcached.pid -m 664 -l 
unix:/var/run/ganglia/hdp/rrdcached.sock -m 777 -P FLUSH,STATS,HELP -l 
unix:/var/run/ganglia/hdp/rrdcached.limited.sock -b /opt/hdp/ganglia/rrd

But the problem is that rrdcached doesn't write anything in the folder 
specified after -b.

Best regards.

Gwenael Le Barzic


> Modification of rrd_cached_dir for Ganglia
> ------------------------------------------
>
>                 Key: AMBARI-7194
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7194
>             Project: Ambari
>          Issue Type: Bug
>          Components: stacks
>    Affects Versions: 1.6.0
>         Environment: Hortonworks 2.1.3
> Ambari 1.6.0
>            Reporter: Gwenael Le Barzic
>
> Hello !
> There is a problem with Ganglia in Ambari 1.6.0 and an Hadoop cluster HDP 
> 2.1.3. 
> I modified the parameter "Ganglia rrdcached base directory" in Ambari.
> Even after a restart of this component in Ambari the RRD files of Ganglia are 
> still using the same old path for the RRD files.
> When I looked in /etc/ganglia/hdp/gmetad.conf, the paragraph for this path is 
> still commented.
> #-------------------------------------------------------------------------------
> # Where gmetad stores its round-robin databases
> # default: "/var/lib/ganglia/rrds"
> # rrd_rootdir "/some/other/place"
> ##EDIT##
> In fact, by modifying the rrdcached_base_fir in Ambari, it modified indeed 
> the command line of rrdcached :
> /usr/bin/rrdcached -p /var/run/ganglia/hdp/rrdcached.pid -m 664 -l 
> unix:/var/run/ganglia/hdp/rrdcached.sock -m 777 -P FLUSH,STATS,HELP -l 
> unix:/var/run/ganglia/hdp/rrdcached.limited.sock -b /opt/hdp/ganglia/rrd
> But the problem is that rrdcached doesn't write anything in the folder 
> specified after -b and I don't know if it is not because of the path being 
> not set in the gmetad.conf file.
> Best regards.
> Gwenael Le Barzic



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

Reply via email to